Page 1 of 1

Portrait image goes landscape in thumbs

Posted: 26 Mar 2015, 15:24
by Didiou
Hello,
(original post has been deleted, so I continue..)
Thank you for your answer.

Well I think I found a start of reason : EXIF.

When I look my pictures in Windows everything is alright, via Windows getting FTP pictures too.
When I go to the direct URL for the picture on my site, it's alright (original, not thumbs)
I also tried to upload my picture to an online site that shows the EXIF information. My picture is landscape and EXIF info shows "Rotate 270 CW"...
But when I look at my pictures from Joomla (Media Manager) they're switched to landscape. So Phoca do the same thumbnail, I think.

I searched but didn't found any solution ? Is there a way to delete the EXIF info and to rotate manually the pictures ? or any other idea ?

Thank you !

Re: Portrait image goes landscape in thumbs

Posted: 26 Mar 2015, 18:22
by Benno
Hi,
sorry for perhaps deleting your post. Today this forum is under a hard spam attack and I have deleted many many spam posts manually and perhaps your post too, unintentionally... :-(

Kind regards,
Benno

Re: Portrait image goes landscape in thumbs

Posted: 27 Mar 2015, 09:00
by Didiou
Benno wrote:Hi,
sorry for perhaps deleting your post. Today this forum is under a hard spam attack and I have deleted many many spam posts manually and perhaps your post too, unintentionally... :-(

Kind regards,
Benno
Hello, no problem I saw that there's some attacks :wink:

It's only because I don't know how to solve my problem with those EXIF information. Phoca doesn't support it ? or is it related to Joomla ?

Thank you anybody

Re: Portrait image goes landscape in thumbs

Posted: 27 Mar 2015, 16:26
by Jan
Hi, Phoca Gallery uses GD library on your server to do the thumbnails - it does not rotate them automatically - it just make the thumbnail by the width and height parameters set in Options - so if your settings is e.g. 100x100 then such large will be done - when crop enabled. when not, then the ratio will be set e.g. by landscape the image will get 100x66 size, etc.

So the thubmnails are not made by EXIF but by the real size of the original image: if it is e.g. 1024x768 it does not matter, important is how the size is set in Options - so if in options, there is 200x100 then the 1024x768 will be translated to 200 width and the height will be counted from the original image to not break the ratio.

Jan