Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you install node_gallery accepting the defaults, and then later go into the /admin/build/imagecache/list interface and change the imagecache preset names, images will be broken until you go back into your node_gallery config and re-save it. Note that once you go into the admin interface, the dropdowns prepopulate with the updated names.
Does imagecache provide a hook on an update of a preset?
Comments
Comment #1
kmontySomeone should investigate how CCK handles this.
This is definitely an important fix (for usability) but it will not be high on my list. Definitely accepting patches, although.
Comment #2
kmontyPossibly related #596620: Renaming ImageCache preset invalidates formatter display of CCK fields.
Because this might be a bug with ImageCache, I'm bumping this from critical as it likely is not a release blocker.
Comment #3
hefox CreditAttribution: hefox commentedGoing to mentioned based off my comment last in the previous thread, may want to through in a form_alter on the preset form to disable the preset name. Not ideal, but probably will help till something happens have on that issue.
(Er, I don't use node gallery, so don't expect a above patch from meh XD!).
Comment #4
hefox CreditAttribution: hefox commented(cck defaults to default formatting when current one is not available, I believe btw).
Comment #5
justintime CreditAttribution: justintime commentedYuck. Yeah, that's a lot of work for a very small edge case. Maybe we just document it and move on?
Comment #6
dbeall CreditAttribution: dbeall commentedConsider this added to handbook, Trouble shooting node_gallery:
Change name of ImageCache preset breaks node_gallery
Comment #7
dbeall CreditAttribution: dbeall commentedchange status and move on
Comment #8
kmontyJust so it is clear we're not going to change any code to solve this.