Dragonfly CMS v9 ⇒ Coppermine ⇒ Coppermine original image change ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks Coppermine

Coppermine original image change Reply to topic


Hi,

It seem that coppermine would alter the original image no matter what setting I change. I can tell this by looking at the image upload file size on coppermine and my original image. They're never the same. The Jpeg quality settings is a configuration that change the quality for both thumbnails and original image. My question is, is there anyway to make coppermine bypass the original image and never touch it in anyway? Thanks for any helpful info.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3


In coppermine settings under "Pictures and thumbnails settings" you have two settings that you should probably adjust:
Max size for uploaded pictures (KB)
Max width or height for uploaded pictures (pixels)

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Yea I've adjust those two things and they don't help. I obviously want to retain my original image as is, so I increase both value to 4000, both are over my image specification, it still modify my original image. Are there any other fix?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3


Try to upload the same image using ftp and see if you notice any size change.

If you do notice any difference is because the filesystem used by both OS are different, different cluster size etc etc.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I uploaded several test file by ftp, and yes they all remain exactly the same file size. So there is no way to make Coppermine ignore original image? Sad

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3


At this stage there is no way to totally bypass the image, increase jpeg compression setting to 100 and see how it goes.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Unfortunately that don't do anything either. When I increase quality to 100 the image still is not better than original and the file size increase by 200% minimum sometimes 300%. Why do coppermine feel the need to mess with original image?, or at least have an option to turn it off. Arghhh. Mad

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3


Reprocessing the image is the best way to scramble, and so disable, a malign script included inside the image.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


So is there no way to skip the original image process? If it could, could you do it? Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3


No, it will open a big and very well known security hole.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


ok thanks Smile .

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3


What is the difference between original and uploaded images, filesize and pixels.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I try on two different image with two different pixels.

Original image:
1600 x 1200 pixels 388 KB
1024 x 768 239 KB

After upload to coppermine with image quality at only 90

1600 x 1200 pixels 522 KB
1024 x 768 269 KB


This is done with settings for width, height and size at 4000 so coppermine wouldn't touch the image but it still change it.

I tried both with GD version 2.x and ImageMagick both modify original image with max settings. You can test this yourself on your coppermine and you will see :).

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3


Btw I just tried Coppermine ver 5 and it does not modify the original image like this does.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CentOS/2.2.22/4.1.22/5.2.9/9.3.3

All times are UTC


Jump to: