Rotating thumbs and midsized photo only Rotating thumbs and midsized photo only
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Rotating thumbs and midsized photo only

Started by christfort, May 16, 2011, 01:27:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

christfort

I find coppermine a great programme.

I presently use linpha but would like to switch to coppermine. However I have a minor problem with JPG photos that are not originally in the right orientation.

Is it possible to rotate the thumbs and mid-size photo only. I do not like to rotate my large 5M original jpg's and thereby loose quality. However it would be need being able to display all photo's in right orientation in the album.

When I use the rotate image function and choose save as thumbnail the thumb is displayed distorted and the mid-size photo is left unrotated.

Αndré

Open pic_editor.php, find
copy($img_dir.$newimage,$CONFIG['fullpath'].$CURRENT_PIC['filepath'].$CURRENT_PIC['filename'])   ;
and delete it/comment it out.

christfort

Thanks for an excellent solution to my problem.  :)

As I use coppermine as a storage for my original photos on the Intranet, I don't really have server restrictions, but would like to be absolutely sure that the originals are not modified in any way. Which lines should also be commented out to ensure that coppermine does not resize during upload etc.

Αndré

You have to disable the watermarking feature, set 'Max width or height for uploaded pictures (pixels)' for to a very high value and to be absolutely sure, set 'Auto resize images that are larger than max width or height' to 'No'.

christfort


Αndré

Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
Resolve your threads
you can tag your answer as "solved" by clicking on the little image in your initial posting on your thread.