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: Automatically Rotate Uploaded Images  (Read 11829 times)

0 Members and 1 Guest are viewing this topic.

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Automatically Rotate Uploaded Images
« on: September 25, 2014, 10:04:11 pm »

This plugin addresses the need to manually rotate images that have been taken in portrait orientation.

It uses the 'auto-orient' feature of Image Magick. It is more effective than adding '-auto-orient' to the additional ImageMagick command line options as it takes effect before the file dimensions are calculated and thumbnails generated. It will also affect a file that is smaller than the maximum width or height.

I have only tested this on a Linux server but I think it should work under Windows as it is so simple.

Logged
Please do not contact me for support directly - instead: post on this board!

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Automatically Rotate Uploaded Images
« Reply #1 on: September 28, 2014, 08:05:50 pm »

Thank you for your contribution and "welcome back" after such a long time :)
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Re: Automatically Rotate Uploaded Images
« Reply #2 on: September 28, 2014, 09:12:10 pm »

Thanks,

I'm surprised at just how long it's been, not that I can be 'back' back. I just needed a gallery so Coppermine was the only choice :)
Logged
Please do not contact me for support directly - instead: post on this board!

anto33

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Automatically Rotate Uploaded Images
« Reply #3 on: August 18, 2018, 12:37:46 pm »

Thank you very much for your plugin

There are 2 errors in configuration.php line 15 and english.php line 8

replace

// Make sure that this file can't be accessed directly, but only from within the Coppermine user interfaceif (!defined('IN_COPPERMINE')) {
    die('Not in Coppermine...');
}

by

// Make sure that this file can't be accessed directly, but only from within the Coppermine user interfaceif

if (!defined('IN_COPPERMINE')) {
    die('Not in Coppermine...');
}

Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.