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

kmonty’s picture

Someone 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.

kmonty’s picture

Priority: Critical » Normal

Possibly 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.

hefox’s picture

Going 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!).

hefox’s picture

(cck defaults to default formatting when current one is not available, I believe btw).

justintime’s picture

Yuck. Yeah, that's a lot of work for a very small edge case. Maybe we just document it and move on?

dbeall’s picture

Consider this added to handbook, Trouble shooting node_gallery:
Change name of ImageCache preset breaks node_gallery

dbeall’s picture

Component: Code » Documentation
Status: Active » Fixed

change status and move on

kmonty’s picture

Component: Documentation » Code
Status: Fixed » Closed (won't fix)

Just so it is clear we're not going to change any code to solve this.