echo $_GET['gallery_id']; ?> &post_id=<?php echo $_GET['post']; ?> &gal_type='+jQuery("input[name='gal_type']:checked").val()+'&gal_title='+jQuery("input[name='gal_title']").val().replace("&","%26")+'&gal_desc='+jQuery("#gal_desc").val().replace("&","%26")+'&gal_height='+jQuery("#gal_height").val()+'&gal_aspect_ratio='+jQuery("#gal_aspect_ratio").val(), success: function(data) {}}); } loop++; if(loop == galsize) { var img_html = '<img id="phgallery-<?php echo $_GET['gallery_id']; ?> '+jQuery("input[name='gal_type']:checked").val()+'" src="<?php echo photocrati_gallery_path_uri('image/gallery-placeholder-'); ?> '+jQuery("#gal_number").val()+'.gif" alt="photocrati gallery" />'; var editor_win = window.dialogArguments || opener || parent || top; if (editor_win != null && typeof(editor_win.send_to_editor) == 'function') { editor_win.send_to_editor(img_html); } else if (parent.tinyMCE.activeEditor != null && parent.tinyMCE.activeEditor.isHidden() == false) { parent.tinyMCE.execCommand('mceInsertContent',false, img_html); } else {
function photocrati_gallery_file_uri($file_name = null) { return photocrati_gallery_path_uri($file_name); }