PDA

View Full Version : Use of PNG images?



pvtparts
07-23-2004, 10:40 AM
Hi there!

Is it possible to use (full size) PNG images and can open-realty convert them to jpeg for the thumbnails?

Our primary reason for wanting to use PNG is for lossless compression ie: we want customers to be presented perfect quality image when they click on one of the thumbnails.

Thanks!

/EDIT thought I'd better include the error I encountered when I attempted to U/L a PNG:


Upload Failed! l1011a.png is an invalid file type: image/png

pbflash
07-23-2004, 12:21 PM
Try adding 'image/png' to the allowed upload types setting in common.php around line 106. It already has 'image/x-png' and png is an allowed extension so it should work.

pvtparts
07-23-2004, 01:22 PM
Try adding 'image/png' to the allowed upload types setting in common.php around line 106. It already has 'image/x-png' and png is an allowed extension so it should work.

Thankyou, I'll give it a try.

ltp
07-27-2004, 04:00 AM
also if you just want png files you would have to modify the code to create the png files instead.