Page 1 of 1

Rebuild Thumbs timeout / needs repeated browser reloading

Posted: Wed Nov 15, 2006 12:54 pm
by jdrodrigues
My uploads directory has close to 200 subdirectories and thousands of images. I use FTP to upload the images and thumbnails, properly named. I then use "Rebuild Thumbs" to synchronize the directories to the database.

Unfortunately often my browser will appear to timeout (though I have seen no proof that this is the case) and I have to repeatedly reload the page 3 to 5 times before it will actually finish its task and tell me it has synchronized the images to the database.


Any thoughts ?

I am using Serendipity 1.0-beta2, PHP 4.4.4 & MySQL 4.1.20.

However I am reconstructing my site offline using Serendipity 1.1beta5 in the hopes that it will be better & faster and am planning a move to pair networks shared hosting (don't yet have the budget for VPS) where they run PHP 4.3.10 and MySQL 4.1.20, with PHP 5.1.1 available as a CGI (though I don't know if that can be used for s9y).

Any thoughts on this ?

Re: Rebuild Thumbs timeout / needs repeated browser reloadin

Posted: Wed Nov 15, 2006 1:02 pm
by garvinhicking
Hi!

How many images do you usually submit in a batch? 200 subdirectories to cycle are a lot of work, especially if the DB needs to be synchronized with this as well, and check every single image in that folders.

Serendipity 1.1 has optimized synchronizing capabilites that synchronize directories without the "sync thumbnails" option, which might speed it all up for you.

In your case you might need to build a plugin specifically created to add the images you just uploaded?

HTH,
Garvin

Posted: Wed Nov 15, 2006 1:22 pm
by jdrodrigues
Thanks Garvin, I was considering the same thing. Although, since I don't know how to go about writing a plug-in, or have the time to learn right now, I will try and put together some sort of add on PHP page to upload images to specific sub-directories and synch to the database.

I am happy to hear however that in the mean time moving to 1.1 will result in some speed improvements.

- Joel