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 30. Nov 2022, 23:54

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  [ 7 posts ] 
Author Message
 Post subject: Thumbnails
PostPosted: 27. Aug 2006, 21:43 
Offline

Joined: 27. Aug 2006, 21:31
Posts: 2
Location: Netherlands
Hi, I'm trying for weeks now to get my TWG working. But whatever I try I cannot get the thumbnails right.

Using Mozzila firefox browser, most of the time I can't get any thumbnails.

By using IE, I sometimes get Thumbnails on the mainpage but then when I go to a gallery they disappear and no photo's are shown at all.

When I click the button "Top 13" on the mainpage, I do see the pictures

I deleted the "cache" folder, set "sort by date" on false, deleted the folders and made new one's, tried what ever I could think of and what's on the Forum.

Now is there anyone who could and want to help me!!!!

Thanks Rogier


Top
 Profile  
 
 Post subject:
PostPosted: 28. Aug 2006, 12:48 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
try: $cache_dirs = false; in your config ?

are the thumbs at all created ? (cache/ *.thumb.jpg ) ?


Top
 Profile  
 
 Post subject:
PostPosted: 2. Sep 2006, 18:22 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
seems like your cache folder cannot be read from everyone - are you sure it's 777 ?

/Michael


Top
 Profile  
 
 Post subject: thanx
PostPosted: 18. Sep 2006, 01:27 
Offline

Joined: 27. Aug 2006, 21:31
Posts: 2
Location: Netherlands
Thanx for your reaction,

I have figured out a little bit more exactly why it is not working.

Everytime I or someelse has visited my website I have to manually clean the cache folder. When I have done that I can see the thumbnails again. But as soon as I have opened a folder in the gallery the thumbnails dissapear and the cache folder has to be deleted again manaully....

Any suggestions???

(Ps, i feel really dum but I can't remember and find out where I can change the rights-settings of the cache-folder to 777 as you wrote earlier to me.) :oops:


Top
 Profile  
 
 Post subject:
PostPosted: 18. Sep 2006, 08:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
if this is the case then you php can write/read from the cache folder but the rest of the world not.

therefore at the first access php generates the thumb an returns it.
the 2nd time twg knows that the image is already created and links directly to the folder - if now the right are not set right the image is not shown.

I don't know where your chmod in your ftp ist - i'm pretty sure there is - You can use TWG Admin as well. Use the TWGXplorer and click on the rights -(if php can change the rights you can do this with the backend).

There is even a flag in the config not to access the cache directly. It's normally used if you have your cache outside the web folder or to have a very save system.

$disable_direct_thumbs_access=false;

to $disable_direct_thumbs_access=true;

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Mar 2007, 23:41 
Offline

Joined: 6. Mar 2007, 23:27
Posts: 3
I had the same problem; chmod 777 on cache directory resolved the problem.

In help #1 (Making TWG Secure) the author suggests chmod 744 on cache directory. Author should note problems that can result from doing so. It would save less experienced people headaches.


Top
 Profile  
 
 Post subject:
PostPosted: 7. Mar 2007, 00:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i'll rework this howto - some servers really need 777 in the cache!

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 5 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