Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Thumbnails
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=491
Page 1 of 1

Author:  rogier [ 27. Aug 2006, 21:43 ]
Post subject:  Thumbnails

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

Author:  novw [ 28. Aug 2006, 12:48 ]
Post subject: 

try: $cache_dirs = false; in your config ?

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

Author:  TinyWebGallery [ 2. Sep 2006, 18:22 ]
Post subject: 

seems like your cache folder cannot be read from everyone - are you sure it's 777 ?

/Michael

Author:  rogier [ 18. Sep 2006, 01:27 ]
Post subject:  thanx

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:

Author:  TinyWebGallery [ 18. Sep 2006, 08:57 ]
Post subject: 

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

Author:  cinematic [ 6. Mar 2007, 23:41 ]
Post subject: 

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.

Author:  TinyWebGallery [ 7. Mar 2007, 00:02 ]
Post subject: 

i'll rework this howto - some servers really need 777 in the cache!

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/