Automatically Rotate Uploaded Images Automatically Rotate Uploaded Images
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Automatically Rotate Uploaded Images

Started by jack, September 25, 2014, 10:04:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jack

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.

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

ΑndrĂ©

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

jack

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 :)
Please do not contact me for support directly - instead: post on this board!

anto33

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...');
}