Renaming ImageCache preset invalidates formatter display of CCK fields.

hefox - October 5, 2009 - 20:15
Project:ImageCache
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

The imageCache theme functions are done based on the Preset name and not preset id, so if the preset name is renamed (Ie the designer comes back and says the image width should be so and so instead of so and so and one is trying to keep the image preset name corresponding to the widths ... ) any where the formattor has been set loses it's settings.

I'm not sure how'd that'd be changed. Any change would be a ugly upgrade path. It'd be horrible to try and capture everywhere the theme has been set, and especially views (ie. exported views).

And using the preset ID would make for ugly formatter names, less user friendly.

#1

kmonty - October 28, 2009 - 00:10
Version:6.x-2.0-beta9» 6.x-2.x-dev

Is this actually an issue? I have not tested it yet but someone brought up a similar issue with the Node Gallery module: #611734: Changing the name of the imagecache preset name breaks node_gallery

#2

hefox - October 28, 2009 - 00:14

Somewhat, but at the end of the writting the issue I think I basically realized it'd be quite hard to fix. My guess is preset name really shouldn't be editable due to this.

#3

kmonty - October 28, 2009 - 01:21

Yeah, I am reluctant to fix this issue with Node Gallery for the same reason.

 
 

Drupal is a registered trademark of Dries Buytaert.