Closed (fixed)
Project:
ImageAPI
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2008 at 22:54 UTC
Updated:
19 Jan 2009 at 22:50 UTC
We want to be able to have custom comment fields on the images served up by imagecache and alike.
Currently we use jhead (http://www.sentex.net/~mwandel/jhead/) to set the values on the original image just after its uploaded (via nodeapi), but when its re-sized/manipulated by modules using imageapi it looses these extra bits of meta data.
So ideally, there would be an option to keep the original meta data intact during manipulation, or if thats not doable, then some kind of post save hook, that means we could run jhead on the resulting image, re-adding the data we want, or cloning it from the original image.
Many thanks for any tips, pointers or even code!
a_c_m
Comments
Comment #1
drewish commentedWell ImageMagick won't remove them unless you specifically ask it to. So you'd probably want to use that instead. I'm not sure about GD but if you figure something out please roll a patch.