Hi Magnolians! A quick question about image variations:
We're using the imaging module for resizing variations in our custom STK templates. Works fine, except: Some of our images are GIFs or PNGs with transparency. The "stk" image-generator-chain has the output type set fixed to "jpg". With this setting, all our variations are generated without transparency (of course, since JPEG does not support an Alpha channel). How do we fix it? - We can change the output format to "png", this gives us transparent variations. Is there any disadvantage to using PNG over JPG for the variations? - We could define a new Generator-Chain for PNG output, and use either one or the other, depending on the type of the image - this sounds like a pain though, checking image type each time before generating the imaging URL... - Is there another recommended method, or best practice for handling this problem? - Has someone already written a "smart" generator-chain for this purpose? Thanks for your input! Regards from Vienna, Richard Unger ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
