Skip to content

Instantly share code, notes, and snippets.

@jjhesk
Created May 5, 2016 02:17
Show Gist options
  • Save jjhesk/0e3f223a62f1430a5553e1d1de366059 to your computer and use it in GitHub Desktop.
Save jjhesk/0e3f223a62f1430a5553e1d1de366059 to your computer and use it in GitHub Desktop.
script paths
var base_url = "http://www.photo-host.org/";
var base_url_js = "http://www.photo-host.org/content/system/js/";
var uploadify_swf = "/content/system/js/uploadify.swf";
var uploader_file = "/upload.php";
var zeroclip_swf = "http://www.photo-host.org/content/system/js/ZeroClipboard.swf";
var session_id = "59b189a3d4299f4a268d0d19ec76f0f6";
var virtual_url_image = "http://www.photo-host.org/image/";
var virtual_url_uploaded = "http://www.photo-host.org/uploaded/";
var config = {
doctitle : "Photo-Host.org : Free Image Hosting",
virtual_folder_image : "image",
virtual_folder_uploaded : "uploaded",
max_filesize : "2 MB",
min_resize_size : 16,
max_resize_size : 1280,
multiupload : false,
multiupload_limit : 1,
error_reporting : false
}
var ImagesUp = null;
var lang = {"button_local_upload":"Local","button_remote_upload":"Remote","button_upload_preferences":"Upload Preferences","button_select_files":"SELECT FILES","button_upload":"Upload","txt_create_short_url":"Create short URL's using","txt_local_upload":"browse for images you would like to upload from your computer","txt_remote_upload":"enter the images URLs you would like to upload","txt_resizing":"image resizing","txt_resizing_explained":"automatically resize your image","txt_resizing_width":"Desired width","txt_resizing_pixels":"in pixels","txt_resizing_keep":"proportions kept","txt_cancel":"cancel","txt_404_title":"Not found (404)","txt_404_explained":"The server can't find the requested page.","txt_just_uploaded":"Just uploaded","txt_images":"images","txt_viewing":"Viewing","txt_socialize":"Social Links","txt_socialize_desc":"just share it!","txt_socialize_label":"Networks","txt_show_viewer_link":"Viewer","txt_show_directly":"Direct links","txt_show_directly_desc":"great for email and IM","txt_show_directly_link":"Direct link","txt_show_directly_shorturl":"Short URL","txt_show_directly_html":"HTML image","txt_thumb_plus_link":"Thumbnail + link","txt_thumb_plus_link_desc":"embed or post this image with a thumbnail","txt_thumb_plus_link_html":"HTML","txt_thumb_plus_link_bbcode":"BBCode","txt_multicodes_directlink":"Direct links","txt_multicodes_html":"HTML Codes","txt_multicodes_bbcode":"BBCodes","txt_multicodes_thumbs_html":"Thumb HTML Codes","txt_multicodes_thumbs_bbcode":"Thumb BBCodes","txt_thumb_url":"Thumb URL","doctitle_404":"Not found (404)","doctitle_viewing_image":"Viewing image","doctitle_upload_complete":"Upload complete","msg_cancel_upload":"Do you really want to cancel the upload process?","error_empty_form":"You must select an image or enter a url in order to continue","error_uploading":"Error uploading","error_local_upload":"No image has been uploaded","error_source":"Invalid source","error_url":"Invalid URL","error_thumb_size":"Invalid thumb size","error_resize_sise":"Invalid resize value","error_image_invalid":"Invalid image","error_image_weight":"Image too big","txt_image":"image","txt_enter_password":"Enter Password","txt_keep_me_login":"Keep me logged in","txt_homepage":"Home","txt_logout":"Logout","txt_no_image_selection":"No images selected","txt_current_selection":"Current selection","txt_image_selected":"image selected","txt_images_selected":"images selected","txt_images_total":"images total","txt_reset_selection":"reset selection","txt_select_all":"select all","txt_clear_selection":"clear selection","button_clear":"Clear","button_close":"Close","button_delete":"Delete","button_delete_selected":"Delete selected","button_rename":"Rename","button_rename_all":"Rename all","button_resize":"Resize","button_resize_all":"Resize all","button_codes":"Get codes","txt_search_images":"Search images","txt_all":"all","txt_loading":"loading","txt_delete_confirm_single":"This image will be permanently deleted. This can\u2019t be undone.","txt_delete_confirm_multi":"The selected images will be permanently deleted. This can\u2019t be undone.","txt_deleted_confirm_single":"This image has been permanently deleted. It no longer exists in the database.","txt_deleted_confirm_multi":"The images have been permanently deleted. They no longer exist in the database.","txt_name_changed":"Name changed","error_name_taken":"Name already in use","txt_resized":"Resized","txt_type":"Type","txt_sort_by":"Sort by","txt_newest":"Newest ","txt_oldest":"Oldest","txt_filesize_small":"File Size (small)","txt_filesize_large":"File Size (large)","doctitle_delete_confirm":"Delete image","txt_image_deleted":"The image has been deleted","txt_error_deleting_image":"Error deleting the image. Please try again later","txt_copy":"Copy"};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment