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

$use_cache_with_dir= true; cache subfolder in image folders
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3244
Page 1 of 1

Author:  Rasillon [ 21. Feb 2012, 15:36 ]
Post subject:  $use_cache_with_dir= true; cache subfolder in image folders

Q1: How to correctly implement this feature?
Q2: How to not see local cache folder?

I added
$use_cache_with_dir= true;
to my_config.php. But
- the subfolder caches are not used
- the cache subfolders show up on top of the folder window

Attachments:
File comment: cache subdirecctories show up on top of the folder window
new-1.jpg
new-1.jpg [ 119.52 KiB | Viewed 3323 times ]

Author:  TinyWebGallery [ 21. Feb 2012, 15:55 ]
Post subject:  Re: $use_cache_with_dir= true; cache subfolder in image fold

which other settings do you have?

Because with this parameter there should not be a folder "cache" be generated but inside the "cache" folder.
In our cache a folder a_View in the cache folder.

- Michael

Author:  Rasillon [ 23. Feb 2012, 16:49 ]
Post subject:  Re: $use_cache_with_dir= true; cache subfolder in image fold

Thank you, as always.

I got your answer just after I figured it out. The contents of the cache folder showed me the way.

Inside the cache folder will be a subfolder for each image folder with the name of the image folder
Inside these subfolders will be ---.thumb and ---.small images. The --- is just the name of the larger image. The --- does not begin, as it does for the other cache method, with the name of the image folder.

New question. On the main page I now longer see a 2 x 2 grid of thumbnails. How can I bring that back?

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