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 19. Apr 2024, 13:36

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  [ 4 posts ] 
Author Message
 Post subject: generating cache
PostPosted: 16. Oct 2008, 23:16 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
Hi,

I have a question:

Is there some way to generate the cache using a console command / invoking some php with determined parameters ?



I have many galleries and the paths (pictures/, images/, xml/, etc) are controlled dinamically using the $_SESSION variable, so the generation with the admin is troublesome.

Thanks for your help,

siran


Top
 Profile  
 
 Post subject:
PostPosted: 16. Oct 2008, 23:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No - The cache generator does actually only call the images like a user would do.

I don't know your setup but I think you would have to write a function that would start the generation of all images. I choose the generation one file after another because of the max. php execution time.


/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Nov 2009, 22:10 
Offline

Joined: 15. Nov 2009, 18:48
Posts: 9
I have uploaded many pictures with success (thumbnails show up in gallery) however I noticed that it says "Not yet generated cache images: 0
Remaining time: 0 min 0 s (~0.5 s/img) " When I went to the control panel to create TWG image cache. It is like it doesn't recognize the new uploads to cache. Is there a way for me to do it manually or is there a setting I need in order for it to read the new uploads?

Thanks again

*deleted cache then it was successful* SOLVED

s


Top
 Profile  
 
 Post subject:
PostPosted: 16. Nov 2009, 23:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you mean you deleted the session cache?

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 15 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