Announcement

#1 2012-06-30 03:32:08

Xylene
Member
2012-06-30
3

How to disable auto rotate on upload

How do I disable the auto rotate when synchronizing photos in Piwigo 2.4? Piwigo 2.4 keeps rotating some of my photos incorrectly.

Offline

 

#2 2012-06-30 17:44:04

flop25
Piwigo Team
2006-07-06
6965

Re: How to disable auto rotate on upload

Hello
It is due to wrong exif info from your camera.
You can read [Forum, topic 19784] rotate an image from within piwigo


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2012-06-30 17:54:07

Xylene
Member
2012-06-30
3

Re: How to disable auto rotate on upload

I just want to disable it. Can I do that? I think it is because I rotate all of my photos before I upload them so they are already correct.

Offline

 

#4 2012-06-30 17:54:31

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13277

Re: How to disable auto rotate on upload

It would be better to fix the EXIF orientation problem, but if you can't, here is an advanced configuration (use it with plugin LocalFiles Editor) :

Code:

<?php
$conf['upload_form_automatic_rotation'] = false;
?>

Offline

 

#5 2012-06-30 17:58:17

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13277

Re: How to disable auto rotate on upload

Xylene wrote:

I just want to disable it. Can I do that? I think it is because I rotate all of my photos before I upload them so they are already correct.

I don't know which software you use to perform rotation, but once the rotation is applied, it should update the EXIF orientation tag, or else all "modern" softwares like Piwigo will read this EXIF orientation tag to apply another rotation.

Offline

 

#6 2012-06-30 18:16:38

Xylene
Member
2012-06-30
3

Re: How to disable auto rotate on upload

They were rotated with Windows 7 Photo Viewer.  I have tried that config settings before but without any luck.  If I remove an album does the cache still stay around?

I put this in the config_default.inc.php using the LocalFiles Editor plugin.

<?php

/* File is not existing and will be created by LocalFiles Editor */

$conf['upload_form_automatic_rotation'] = false;

?>

Correction I modified the config_default_inc.php and changed the above from "true" to "false"
The photos are still being rotated.

Last edited by Xylene (2012-06-30 19:21:40)

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact