This patch for HEAD moves the image size settings into a table and puts the updated timestamp on each size so that when a size changes only that type of derivative image is rebuilt.

CommentFileSizeAuthor
image_sizing.patch13.07 KBdrewish
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Shai’s picture

On this page: http://drupal.org/node/3256/release "head" is showing up as "Sept. 7". But I assume some cron job needs to run that hasn't yet. I'm hoping that I'll be able to test this on Sunday or Monday. Thanks for the work.

Shai

drewish’s picture

Status: Needs review » Needs work

actually this isn't ready.

drewish’s picture

Leeteq’s picture

Also see http://drupal.org/node/257168
"Prevent unnecesary rebuilding of derivative images"

ice5nake’s picture

Priority: Normal » Major
Issue tags: +Performance

With convert being a resource intensive program I'd say this should be given a higher priority. Not to mention this is crashing my server at the moment.

I have 8 different sizes running on my site and whenever I change one of these settings slightly the server is crashing. I have a dedicated VM with 2GB of Ram reserved and 2ghz reserved.

jcamfield’s picture

Bump for this or the broader #244315 ; things that would make my server less angry at me:

- batch rebuilding by cron, so that the site doesn't churn through every image
- enable deleting a derivative set without triggering a rebuild
- Make sure you only rebuild derivatives that have changed
- Rebuild at next view of the image
- integrate with imagecache's management a bit more?

ice5nake’s picture

Despite what I imagine is a huge number of installations it seems like this module has been abandoned.

See: http://drupal.org/node/257168#comment-4772192

I'd say there needs to be a warning on the home page of this project saying that it doesn't scale well and that it is no longer being supported.