Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to avoid serving CMYK to Internet Explorer?  (Read 4096 times)

0 Members and 1 Guest are viewing this topic.

smantscheff

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
How to avoid serving CMYK to Internet Explorer?
« on: November 11, 2010, 12:50:53 pm »

I'm using Coppermine for a database of pictures for publication, for the web as well as for print. Therefore users do not only upload RGB pictures but also CMYK. This works fine except for IE 7 (and below) because this [censored] piece of software cannot handle CMYK.
I added the option -colorspace rgb to the arguments of /usr/bin/convert and this works fine for preview images. The full size image remains in CMYK, though, and cannot be displayed in IE.
My question is: Where do I find the code for displaying the full size image? I'd like to add a browser and picture format test to it so that in the pathological case of IE/CMYK a download link to the CMYK image can be displayed instead of the image itself.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.