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 24. Nov 2024, 06:05

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  [ 6 posts ] 
Author Message
 Post subject: 70K+ images
PostPosted: 2. Dec 2008, 14:23 
Offline

Joined: 1. Dec 2008, 17:01
Posts: 11
I have 70,000 images. I'm not sure I want all these in a single cache directory. What options are there?

If I can split into say 20 separate "albums", can I configure as such and separate this?

Of course, caching is taking rather a long time :(


Top
 Profile  
 
 Post subject:
PostPosted: 2. Dec 2008, 14:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
none. Right now they are all in one directory.
the only option you have is to use different TWG installation and link them together.
The maximum number I tested was 200.000 images but this was on my windows machine. I don't know how different systems behave.

In 1.7.5 I already refactored that the cache names are build in the same function. Therefore it would be possible to extend the function to create subfolders. I just did not do this because I would have to change my cache cleanup function as well and I did not have the time to do this.
If you don't care about the cleanup the cache with subfolders should be no problem.

This is on my todo list for 1.7.7 ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Dec 2008, 16:00 
Offline

Joined: 1. Dec 2008, 17:01
Posts: 11
Thanks. I'll come back to this as I have a bunch of things going on right now with this. Image Magick is old (Red Hat 9 is my os) and doesn't support repage. Latest version won't build so I'm going to upgrade the server hardware and get to Fedora 10. That's also speed up the caching. It does mean that my IP will change - I registered 192.168.1.5 last night - probably to 192.168.1.20.

Once I've done that I'll look at the cache directory. I'd be happy to assist you with that if you need coding assistance.

Anyway, after using webmagick and modifying it for 5 years I'm glad I found TinyWebGallery. It is looking like a superb product. The one thing that would be useful is an offline cache function. It seems like I could just write a script to call image magick to create the photo cache.


Top
 Profile  
 
 Post subject:
PostPosted: 2. Dec 2008, 16:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
offline cache?


Top
 Profile  
 
 Post subject:
PostPosted: 2. Dec 2008, 16:13 
Offline

Joined: 1. Dec 2008, 17:01
Posts: 11
sorry. build the cache offline. ie something that can be scheduled through cron.


Top
 Profile  
 
 Post subject:
PostPosted: 2. Dec 2008, 16:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You can have an offline version of TWG and build the cache there with the backend and copy it to the cache folder or click on create cache in the backend. But then it's done online in the background.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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