Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 26. Apr 2024, 21:44

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: were is my site?
PostPosted: 11. Jan 2008, 03:57 
Offline

Joined: 11. Oct 2007, 04:08
Posts: 46
Forgeret, I miss up some files but I already fix it, tks any way, here is the original post:

Hi, my site has gone, ir you type www.latangaroja.com all this text are displayed (a couple of minutes ago it was working fine):

a file date newer than 7 days. the highlight is shown recursive! if a file is changed in a dir normally der date of the dir is updated too! The style in style.css is 'highlight'. The icon is based on the date of the folder! If you copy new image to a folder and the time of the folder is not updated (this is system dependent) you can simply rename the folder twice to get a new date on this folder. $show_changes_type="image"; // new 1.5.2 - or "highlight" - the type how to highligh new galleries $show_tags = true; // New 1.6 - Show the top tags - the search for tags and the posiblility to enter tags at the detail page when logged in. $number_of_top_tags = 40; // New 1.6 - Number of maximum entries that are shown in the top tags iframe $number_of_top_tags_results = 20; // New 1.6 - Number of results that are shown in the search for a tag after selecting it in the top tags iframe $use_iptc_tags = true; // New 1.6 - you can allow the reading of iptc data in general - if false the data from images are not read $iptc_fields_for_imagetags= array("2#025"); // New 1.6 - IPTC offsets that are used for image tags - right now: keywords $iptc_fields_for_dirtags=array("2#020"); // New 1.6 - IPTC offsets that are used for album tags - right now: sub-categories $add_iptc_at_upload=true; // New 1.6 - Extract the IPTC data (tags and caption) and stores it in the xml file during upload with the TWG upload flash - for html bakckup it is not implemented - you have to use the "Exctact IPTC data" function in TWG Admin then. $iptc_fields_for_caption= array("2#105","2#005"); // New 1.6 - IPTC offsets that are used for the caption when captions are extracted in TWG Admin or after the upload - it looks in the 1st field first - if nothing is found in the next ... $exif_field_for_caption= ""; // New 1.6 - Exif field that are used for the caption when captions are extracted in TWG Admin or after the upload. Only used if no IPTC data is found! By default this is empty because it is really slow. e.g. Image Description is often stored at "imageDesc" - Please read howto 38 for more details. $left_htm_width = 150; // New 1.6 - TWG does support a file called left.htm - works like header.htm - only at the left side - You can put your own navigation there without haveing the troube to integrate TWG to your layout. $enable_frontend_upload = true; // New 1.6 - You can enable/disable the upload in the frontend. You have to enable this AND create users in the backend that have the permission to upload in the frontend! $use_login_short_menu = true; // New 1.6 - If you are logged in you get a couple of more entries in the menu. To keep your layout the fixed menu items can be displayed shorter (!st letter and a . Info -> I.) if you set this to true. $show_wii_buttons=true; // New 1.6 - You can show big control buttons for the wii - but you don't have to because the left right on the wii controll is supported too ;). try it ;). If you use small_pic_size = 400 then the image fit nicely on a tv! /* In this section you can customize internal features of TWG If you change something of the sorting: the directory structure is cached - close your browser once after changing this parameter! */ $sort_images_ascending = true; // new 1.1 - true: sorts the images ascending; false: descending (date and filename!) $sort_by_date = false; // new 1.1 - sorts the images by name if set to false - if set to true it tries to read the image exif data first - if this fails it uses the filetime to sort! - read the faq for the settings you need on your server to get exif data! if you have a lot of images in a dir setting this to true could slow down the gallery because the data is read every time a directory is read $sort_by_filedate=false; // new 1.2 - uses the last modified file date and is not searching for exif data. If false is looks for exif data and uses the file time only if no exif data is available. $sort_albums = true; // new 1.2 - sometimes sorting is not wanted - I cannot tell how the sorting will be - but maybe exactly how you like it (most of the time it is the order the directories are created!) $sort_albums_ascending = true; // true: sorts the albums ascending (if $sort_album_by_date true = oldest first); false: descending () - directory struture is cached - close your browser once after changing this parameter! $sort_album_by_date=false; // new 1.3 - enables sorting of folders by last modified date - directory structure is cached - close your browser once after changing this parameter! $center_cmotiongal_over_image=true; // new 1.2 enables/disables to center the cmotion gallery when you move the mouse over the big image /* This is a small section that is the bonus for registered users! You can configure the lightbox feature and the album exporerer you can see in demo 1. By default the lighbox is then activated on the thumbs but not on the main page! */ $activate_lightbox_thumb=true; // new 1.4.2 - activates this feature on the thumbnail page. $activate_lightbox_thumb_full=false; // new 1.4.2 - if true the whole thumbnail activates the lighbox script. It's then not possible to get on the image page anymore. If false, there is a small zoom icon in the left upper corner of each thumbnail. If you click on this the lighbox image is shown. $use_original_on_thumbspage=false; // new 1.5 - normally the detail image is used on the thumbpage for the lightbox - but you can use the original too if you like! Just set the parameter to true! $activate_lightbox_topx=true; // new 1.4.2 - activates this feature on the TopX page. $activate_lightbox_topx_full=false; // new 1.4.2 - if true the whole thumbnail activates the lighbox script. It's then not possible to get on the detail page anymore. If false, there is a small zoom icon in the left upper corner of each thumbnail. If you click on this the lighbox image is shown. $use_original_on_topxpage=false; // new 1.5 - normally the detail image is used on the topx for the lightbox - but you can use the original too if you like! Just set the parameter to true! $activate_lightbox_image=false; // new 1.4.2 - if true clicking on the detail images does not open the image in a new window or a popup but in the lightbox. Download has to be activated to use this feature + you cannot download the lighbox image with "right click -> save image". $enable_album_tree = true; // New 1.6 - You can display an explorer like album tree on the left side - this is a bonus feature for registered users :). $album_tree_default_open = false; // New 1.6 - Shows/hides the tree when you open the gallery. $autoclose_tree = true; // New 1.6 - You can make the tree autoclose by default if you click on it. Otherwise it stays open until you close it - you can change this behavior by the small marker in the right upper corner of the tree. Opera has a display bug here - therefore this is disabled - you have to close the tree manually! $album_tree_width = 250; // New 1.6 - The width of the album tree. $show_navigation_buttons_on_bottom=false; // new 1.6.3.1 - You can show the navigation Buttons at the bottom too - It is shown next to the TWG logo - I you are registered only the navigation is shown. /* This section is responsible for the watermark stuff */ $print_text=false; // new 1.1 - you can print some text on the lower left corner to protect your images or at least make it a little bit harder to copy it without doing anything :) if you change this setting please delete the cache folder - otherwise generated images are not changed. $print_text_original=false; // new 1.1 does print the text on the original as well - $enable_direct_download has to be set to false!!! $font = dirname(__FILE__) . "/verdana.ttf"; // this are the settings for the image text $fontsize=10; $fontsize_original=12; $text = "powered by TinyWebGallery"; $textcolor_R = 255; // be careful with changing the colors ! if the compression is low the text becomes unreadable $textcolor_G = 255; // pretty fast if it is a crazy color :) $textcolor_B = 255; $print_watermark = true; // new 1.1 - you can make a watermark on the images to protect your images or at least make it a little bit harder to copy it without doing anything :) if you change this setting please delete the cache folder - otherwise generated images are not changed. Please read the description of the parameters that belong to the watermark to get best results! $print_watermark_original=false; // new 1.2 does print the watermark on the original as well - $enable_direct_download has to be set to false!!! $watermark_small = "buttons/watermark_small.png"; // new 1.1 - this is the watermark that is used on the detail and slideshow images - can be jpg or png - png gives better results $watermark_big = "buttons/watermark.png"; // new 1.1 - this is the watermark that is used on the download images - can be jpg or png - png gives better results. you can use a larger image here because the original images are most of the times much bigger $position= 7; // new 1.1 you can define the location of the watermark with this setting (top: 1 2 3, middle: 4 5 6, bottom: 7 8 9 $transparency= 50; // new 1.1 - you can also set the transparency of your logo. 0 is no transparency - 100 max; Try your logo with different settings to get best results $t_x= 0; // new 1.1 - The next two settings define the position of a transparent color in your watermark. $t_y= 0; // new 1.1 - If your logo has e.g. a white border you can set the values to 0:0 and the border will be transparent. If you don't want a transparent color: set these values to -1! /* In this section you can customize/setup the emails features of TWG */ $enable_email_sending=false; // new 1.2 - You can enable/disable the sending of emails - The user can still register but no notification emails are sent. The admin side can still be used but no email are sent - set this to false if you are testing twg and you don't want to send any emails! $show_email_notification = false; // new 1.2 - enable/disables the end-user and the admin part if logged in :). The emails are stored in the counter/subscribers.xml (plain text file!) $encrypt_emails=false; // new 1.2 - enable/disable encryption of emails! - if you change this your subscriber.xml file will become invalid! - you are not able to fix this file manually if you turn the encryption to true. if you set this to false make sure that the file can not be read from outside - set the xml directory to 770! $encrypt_emails_key="This is the encryption key used for emails in TWG - to make your emails really save please change this string with your random string like 2342dlkASdasDkw33jl2k4jl... - the longer the better."; // new in 1.2 - this key is used to encrypt and decrypt the emails in the subscriber.xml - the longer the saver! - (please use 1-9, a-z or A-Z to make the algorithm work properly! - no e.g. ÄÖÜ are allowed!) - internal the key is permuttated 2 times and added to this string to add additional security ;). If you change this string all existing emails cannot be used anymore! $youremail = "test@test.com"; // new 1.2 - this email, will be the reply-to mail for the registration !! $default_subject = "Gallery update!"; // new 1.2 - This is the default subject for the emails which can be send to the registered users. $default_text = "Hello,\nThere are new images available at the web gallery you registered.\nPlease go to %s"; // new 1.2 - The default email body. %s is a iternal variable to the main page of the gallery - If you want a different link please change it. If you use php_include you have to enter the right address here !! $email_bottomtext = "sent by TinyWebGallery. If you want to change or delete your registration please go to %s"; // new 1.2 - Every email gets this footer. It makes it easier for your users to get back to your gallery. %s is an internal variable to the main page of the gallery - If you want a different link please change it. If you use php_include you have to enter the right address here !! $admin_email="test@test.com"; // new 1.3 - Email address where the notifications are sent to. $enable_email_sending has to set to true to make this work! $send_notification_if_comment=true; // new 1.3 - if true a notification is sent every time a user enters a comment $notification_comment_subject="A new comment was entered at " . $browser_title_prefix; // new 1.3 - Subject of the comment notification email $notification_comment_text="A new comment was added for image %s"; // new 1.3 - Text for the comment notification email. %s is the link to the image the comment was entered. $send_notification_if_rating=true; // new 1.3 - if true a notification is sent every time a user enters a rating $notification_rating_subject="A new rating was entered at ". $browser_title_prefix; // new 1.3 - Subject of the rating notification email $notification_rating_text="A new rating was added for image %s"; // new 1.3 - Text for the rating notification email. %s is the link to the image the rating was entered. /* Here are set settings for the bandwidth and the settings! */ $test_client_connection = true; // new 1.2 - you can enable/disable the connection test of TWG. It is now integrated into the main page (in ", "", "", "", "", "", ""); // new 1.6 - allowed html tags in comments and titles ! $disable_right_click=false; // new 1.6 - you can disable the righclick in the gallery to protect your images - but if people turn off Javascript they can still copy - only usefully for dau's $thumbnail_offset_y=0; // New 1.6.1 - If you have e.g. ad's on the thumbnail page or a header.htm and footer.htm twg does not know this - you have to tell how much space this takes! $generate_cache_at_upload=true; // New 1.6.1 - you can generate the thumbs during upload - upload is slower but the cache already generated. $remove_1_day_data=true; // New 1.6.1 - If your files don't change very often you can disable that the 1 day cache is removed - it's only cleared then if you click on the bandwidth icon and if you upload an image with the flash uploader if you set this to true $twg_version="1.7rc1"; // new 1.2 - version for the administration and the display :) - see how-tow 43 if you don't know what this is :) /* additional parameters for internal can be found in config_internal.php - section internal */ // // new 1.7 - This settings will be merged above in the next version! // $enable_comments_only_registered = false; // New 1.7 - You can enable the comments only for registered users. If you enable this the username is automatically set as username. $show_comments_ip = true; // New 1.7 - Everyone can add comments very easy - to avoid anonymous comments you can add the ip for a comment after the user name. $use_image_magic=false; // New 1.7 - You can use image magick to create the files in the cache folder. This are the thumbnails and the small images. image magick creates a little better images than gd and uses less memory! You have to have image magick installed on your server. Check info.pp and the howto for details! You still need gd lib for the other image types! $image_magic_path="convert"; // New 1.7 - This is the path to the convert command of image magick. If it's not in the path you have to add the full path here! $paging_num = 5; // New 1.7 - The paging line is now optimized. Not all pages are displayed anymore if the number of pages are > paging_steps - the number you specify here are then number of pages that are shown before and after the current page (the page itself is included - 5 means 4 pages before, 4 after) $paging_steps = 10; // New 1.7 - This are the steps that are used of you have many pages - there it one limit. If the number of pages is < 25 then paging_steps/2 is used! With more than 25 pages the steps are paging_steps. e.g. if you have 21 pages and you are on page one: 1 2 3 4 5 10 15 20 21 (the last page is always shown). Ifyou have e.g. 45 pages: 1 2 3 4 5 10 20 30 40 45 $paging_use_style = true; // New 1.7 - Does not use the twg_pag style if false. If false you should use a spacer_char. $spacer_char = ""; // New 1.7 - The char displayed in the paging line - before 1.7 this was " | " $show_counter_in_jstree=true; // New 1.7 - Shows the number of pictures in a folder in the js album tree (only available for reg. users because the album tree is only available there) . like $show_number_of_pic in the normal view. $autorotate_images = "invert"; // New 1.7 - TWG can autodetect the orientation of images if your camera set this. The problem is that TWG does not know how you hold your camera. if you like no autorotation use "", If you want normal rotation use "normal", If the images are all rotated 180 Degrees use "invert". I have set "invert" as default because I always hold my camera like this + 2 other camera is tested did the same ;). $iptc_fields_for_caption_add = array(); // New 1.7 - IPTC offsets that are used to be ADDED to the caption when captions are extracted in TWG Admin or after the upload - this field is ADDED to the normal caption! e.g. you can add the city tags to the image $iptc_fields_for_caption_add_style=" (%s)"; // new 1.7 - This is the style how the 2nd IPTC field is added - the %s is the text that is found. You can e.g. use " - %s" to add the 2nd field with a simple - $use_cache_hash=false; // New 1.7 - you can store the images in the cache md5 encoded - it's slower but you get shorter cache names, the cache is not readable anymore and you don't have non ansi chars in the file name anymore. This can be important for people with deep directory structures and long file names. If you have problems that images with special characters cannot be shown set this to true - I have removed $double_encode_urls in 1.7 because this is the more secure way if you have problems with encodings in the cache! $hide_middle_folders_in_breadcrumb=true; // New 1.7 - The breadcrub can get really long - therefore the middle folders can be replaced by an ... if you set this to true. $move_error_images=""; // New 1.7 - You can automatically move images that throw an error to the folder your provide here! Makes it easy to find corrupt images people upload. The problem can be too big images, or corrupt images. An empty folder disables this function! $autocreate_folder_image = false; // New 1.7 - You can automatically generate a topx folder.png. Once a day the topx views is checked and the most viewed image is used. if a folder.png exists no folder_top.png is generated. If a folder has no images but only folders then a random image from the subdirs is used! $autocreate_folder_image_recursive = false; // New 1.7 - if true the most vied image of the whole sutree is used - if false only the one of the actual folder. This need quite some time. If you want to speed up the gallery set this to false (but it's cached and only done once a day!) $admin_user_edit_textfile_extensions = "txt,css,php,htm,html"; // New 1.7 - This are the files that can be edited in the flash in the backend. But you can restrict is to single files as well by using the full name. e.g. foldername.txt. * is supported as wildcard! Only available for registered users. $user_edit_textfile_extensions = "txt,htm,html"; // New 1.7 - This are the files that can be edited in the flash of the users. But you can restrict is to single files as well by using the full name. e.g. foldername.txt. * is supported as wildcard! Only available for registered users. // new caching settings $serialize_dir_data=true; // New 1.7 - This is a very high level of caching you can enable. The directory structure including the images are serialized to the cache folder. After enabling this the files are updated in the interval given at precache_main_top_x_interval. $precache_background=true; // new 1.7 - TWG preloads the counter xml of the albums of the first page to speedup the following background tasks (starts 5 sec after 1st page starts to load!) - if you want to speed up the first page on a slow connection: set this to false! $precache_main_top_x=true; // New 1.7 - Caches the TopX in tmp files in the cache folder. The cache is eitehr build during the first call or when the background process is started $precache_main_top_x_limit=500; // New 1.7 - If your whole gallery has less then the given limit the cache files are NOT used because normally they can be generated fast enough on the fly. Over this limit the _topx_ cahce files are used if pressent or they are generated! $precache_main_top_x_interval=4; // New 1.7 - This is the time interval in hours the topx caches are deleted and new numbers are fetched - if you set -1 then the cache is connected to the one day caching - max value therefore is 24 ; This time is used for the autogeneration of top x folder images cecause it is linked to the topx $precache_topx_additional_dirs=""; // New 1.7 - By default only the main topx is precached. If you want to cache subdirs too please add this dirs here as comma seperated list. e.g. for the 2 folders "davos" and "2007/vacation" the enty has to be: "davos,2007/vacation" $precache_xml_data=false; // New 1.7 - Preloads xml files that browsing through the folders is faster. // new video settings $use_ffmpeg=false; // New 1.7 - if you have ffmpeg installed you can extract thumbnails, convert videos ... Check info.php if it is availalble on your server and the howto about ffmpeg! $ffmpeg_extensions=array("flv","avi","divx","mpg","mpeg","wmv","mov"); // New 1.7 - This are the file externsions where ffmpeg is used to generate thumbnails and convert videos! $ffmpeg_time=1; // New 1.7 - When extracting a thumbnail from a video this is the time in seconds where the shnapshot is taken! $ffmpeg_path="ffmpeg"; // New 1.7 - The path to ffmpeg. If it's in the path you don't hve to change anything. $ffmpeg_generate_thumbs_at_upload=true; // New 1.7 - Automatically generate thumbnails when you upload a movie. $ffmpeg_convert_videos_at_upload=true; // New 1.7 - Automatically generate a flv video when a movie is uploaded. Please note that the conversion can take quite some time. I only tested videos up to 70 MB! - This took ~ 45 sec. to generate a 20 MB flv movie. $ffmpeg_convert_command="-y -i \"%s\" -f flv -acodec mp3 -ar 22050 -ab 64 -ac 1 \"%s\""; // New 1.7 - This is the conversion command for ffmgag. Please read the ffmpeg documentation for details! $ffmpeg_delete_src_after_convert=true;// New 1.7 - After the conversion the uploaded file is deleted if true. If false the original still exists but is not used because flv is the first one that is checked. $autogenerate_video_php_at_upload=true;// New 1.7 - video.php can be generated automatically during upload if it does not exist. Check the following parameters for details! $video_php_autodetect_type=true; // New 1.7 - when video.php is generated automatically TWG can either detect the type automatically during runtime or the 1st uploaded movie determines the type you should set this to false if you know the video type in advance for optimal size of the player and if only one type of movies are used. Set it to true if you have different types of videos in one folder. autodetection additionally allows to have videos and images in one folder! $video_php_autodetect_size=true; // New 1.7 - When you upload a movie and the thumbnail is generated automatically the size of this image can be used as size for all movies. If false the video_php_x_default and video_php_y_default settings are used. $video_php_x_default=400; // New 1.7 - This is the default width of the movie - the player is added automatically $video_php_y_default=320; // New 1.7 - This is the default height of the movie - the player is added automatically $video_autodetect = true; // New 1.7 - This setting can be used for local video folders! If you don't provide a video.php and but set this to true TWG tries to find all local supported video files and plays them with the $video_php_x_default, $video_php_y_default; // Selfregistration - only usernames with [a-z,A-Z,0-9,- and _] are allowed - please note: You are responsible for the stuff your users upload! $enable_selfregistration=false; // New 1.7 - you can enable selfregistration here. In the login window then a link where you can register appears. Please read the howto about self registration! $enable_id_registration=""; // new 1.7 - If you enter an id here than this id is needed on the registration page to register. $self_registration_security_image=true; // New 1.7 - You can enable/disable that users need to enter a security image. $self_registration_basedir=$basedir; // New 1.7 - The directory where the user folders are generated - $basedir = maindir - add e.g an upload dir with : $basedir . "/upload" - the dir upload has to exist! $self_registration_functions="3"; // New 1.7 - The default rights of an user - can be changed in the administration: possible values: "15","7","3","1" - 15 = manage dirs + edit files + upload + delete, 7 = edit files + upload + delete, 3 = upload + delete, 1 = upload only $self_registration_email=""; // New 1.7 - An e-mail is sent to this e-mail when an accout is created. an empty string does not send an e-mail. $self_registration_subject="A new user has registered."; // New 1.7 - The subject of the registration e-mail $self_registration_text="%s has created a new accout.\nThe upload folder is: %s.\nIP: %s"; // New 1.7 - The body of the registration email %s are replaced with: user, upload folder, ip /* new 1.7 we include the configuration file with internal or very advanced settings ! */ include dirname(__FILE__) . "/config_internal.php"; /* new 1.4 we include your configuration file ! */ if (file_exists(dirname(__FILE__) . "/my_config.php")) { include dirname(__FILE__) . "/my_config.php"; } // height of the iframes - please check if the settings match for your language!! // since 1.6 I use transparent iframes - therefore the heights are only the maximum are this is used. $lang_height_comment = 280; $lang_height_caption = 180; $lang_height_login = 370; $lang_height_private = 130; $lang_height_options = 280; if ($self_registration_security_image) { $lang_height_private += 90; } if (!$show_new_window) { $lang_height_options -= 30; } if (!$show_slideshow) { $lang_height_options -= 60; } if (!$enable_maximized_view) { $lang_height_options -= 30; } if ($disable_nav_sel) { $lang_height_options -= 30; } if ($disable_nav_big_sel) { $lang_height_options -= 30; } $lang_height_email_user = 220; $lang_height_info = 220; if (!$show_download_counter || !$enable_download_counter) { $lang_height_info -= 17; } if (!$show_count_views) { $lang_height_info -= 17; } if (!$show_image_rating) { $lang_height_info -= 17; } if ($show_exif_info) { $lang_height_info += (7 * 17); } if ($show_tags) { $lang_height_info += (2 * 4 * 12); } // max 8 tags are planned! if ($show_iptc_data) { $lang_height_info += (6 * 17); } $lang_height_rating = 220; $lang_height_dl_manager = 220; $lang_height_search = 270; $lang_height_upload = 370; $lang_height_tags_insert = 200; $lang_height_tags_top=200; ?>You are using a config.php that does not belong to this version.
If you want to upgrade from an older version of TWG please copy your changes form the old config.php to the file my_config.php.


Top
 Profile  
 
 Post subject:
PostPosted: 11. Jan 2008, 10:30 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
just was on your site - works fine for me.

Maybe you have a cached version mix in your browser cache.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Jan 2008, 17:00 
Offline

Joined: 27. Jul 2007, 20:28
Posts: 136
I tried it as well, worked fine for me too.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy