Unable to rebuild images / thumbs
|
matthieu
Joined: 2009-11-03
Posts: 4 |
Posted: Wed, 2009-11-04 07:20
|
|
Hello, I did install the lastest git version 3 days ago (Pre RC1). It works pretty well and I'm very happy with it If I add new pictures, the new size is correctly used. I don't think to be a performance issue, the pictures are small (1600x1200) and the php memory limit is 256MB. How can I find the issue ? Matthieu |
|
| Login or register to post comments |

Posts: 126
There are two places that you can change the thumbnail size:
Admin -> Settings -> Advanced
Admin -> Appearance -> Theme Options
I suspect you used the first location, which for some reason does not make the change to existing thumbnails.
Try making the change back to where it was on the first location, then use the second location to set it correctly.
Then go to maintenance mode and launch the rebuild.
Martyn T. Griffin
Posts: 4
Hi Martyn,
Thanks for your reply.
I only changed the value in the Theme Options so it's not the cause.
Maybe it's related to the move of the gallery directory after the install (the pictures were added after the move).
Any idea ?
Matthieu
Posts: 4
I found the root cause :
- the rebuild is done by the function rebuild_dirty_images
- at the beginning graphics::find_dirty_images_query return the list of image to rebuild
- then images are done 2 by 2 to graphics::generate($item);
- graphics::generate doesn't modify the 2 images because they match $item->is_album() and !$cover = $item->album_cover()
- so the images are still in the dirty_image list => the loop try to regenerate these 2 images indefinitely
I guess I have to report a bug.