Advanced search  

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

Pages: [1]   Go Down

Author Topic: Rotating thumbs and midsized photo only  (Read 2610 times)

0 Members and 1 Guest are viewing this topic.

christfort

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Rotating thumbs and midsized photo only
« on: May 16, 2011, 01:27:54 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Rotating thumbs and midsized photo only
« Reply #1 on: May 16, 2011, 04:16:26 pm »

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

christfort

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Rotating thumbs and midsized photo only
« Reply #2 on: May 17, 2011, 09:38:42 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Rotating thumbs and midsized photo only
« Reply #3 on: May 17, 2011, 10:00:07 am »

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'.
Logged

christfort

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Rotating thumbs and midsized photo only
« Reply #4 on: May 17, 2011, 10:16:29 am »

Thanks again for your great help ;D
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Rotating thumbs and midsized photo only
« Reply #5 on: May 17, 2011, 10:19:42 am »

Resolve your threads
you can tag your answer as "solved" by clicking on the little image in your initial posting on your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.