betterlovedoll.com

EXIF rotation meta data in preview images missing

This forum is devoted SOLELY to questions and answers regarding how to use the forum and other features of the "The Doll Forum" website. Questions or help regarding dolls should be posted elsewhere. Bug reports can also all be found here. If you encounter a bug, this is where to address it.
Post Reply
User avatar
Tsall
Server Admin
Server Admin
Posts: 5705
Joined: Sat May 31, 2008 12:00 am
Location: Germany
Contact:

EXIF rotation meta data in preview images missing

Post by Tsall »

I think everybody knows the problem "images loading sideways".

Since nearly a year I'm using some CSS to automatically rotate images based on EXIF meta data. This worked like a charm. But sadly this stopped functioning.
Today I did some research and found the problem. The thumbnails of new attachments do not have EXIF meta data any more. Therefore the rotation info is missing and my browser doesn't know how to rotate the image. But the original image still has these EXIF meta data. When opening the original image my browser is still able to rotate it. So these info get lost during resizing in the forum software.

I can understand if the EXIF meta data is removed because of privacy concerns (GPS data). But if this is the case you must also remove the EXIF meta data from the original image.

Please bring back the EXIF rotation info to the attachment thumbnails.
A better solution would be automatic rotation during upload. Or a serverside cronjob which rotates every newly uploaded image according to the EXIF data, if needed.
Mara (Dreamdoll Tania) - holiday trip (outdoor photos) and introduction
Lucia (Passiondolls 160cm Muscle Doll) - introduction and photos
Keira (Phicen Arhian Pirate) - outdoor adventures

nukeno
Doll Mentor
Doll Mentor
Posts: 1152
Joined: Tue Aug 18, 2015 1:44 pm
Location: with Nele, Kiko, Mamamba and Ms. StrangeLove in cyba's space
Contact:

Re: EXIF rotation meta data in preview images missing

Post by nukeno »

Tsall wrote:I think everybody knows the problem "images loading sideways".
I haven't noticed this, but I find it quiet fascinating that it seems to be an issue.
Are people too lazy now to rotate their images properly BEFORE uploading them to the internet?
Or is this more like a smart phone user issue? Because the not so smart phoney simply does not
care about what his smart phone thingy is doing???
Life is a strange game: "The only winning move is not to play."
Yet here I am, dreaming about reality again...

User avatar
Tsall
Server Admin
Server Admin
Posts: 5705
Joined: Sat May 31, 2008 12:00 am
Location: Germany
Contact:

Re: EXIF rotation meta data in preview images missing

Post by Tsall »

Are you using Safari? Then you didn't had this problem. Safari rotates images based on EXIF data per default. But you will start seeing this problem.

Yes, this is mostly a issue of members uploading their images from their smart phone, but not exclusive.
It has nothing to do with laziness. A Smart phone and any modern PC software displays images rotated based on EXIF data.
Not everybody edit/rotates their images before uploading. Not everybody knows how to do this.

And to be honest, every modern website like Flickr, Instagram, Google, Facebook, ... rotates uploaded images automatically. This forum does not. An update isn't easy and needs planing.

There was a thread about this problem and Nescio uploaded two example photos: Photos loading sideways!
Mara (Dreamdoll Tania) - holiday trip (outdoor photos) and introduction
Lucia (Passiondolls 160cm Muscle Doll) - introduction and photos
Keira (Phicen Arhian Pirate) - outdoor adventures

User avatar
Nescio50
Site Manager - CoverDoll
Site Manager - CoverDoll
Posts: 23450
Joined: Fri Jan 14, 2011 11:06 am
Location: In TLC, The Low Countries, surrounded by dolls
Contact:

Re: EXIF rotation meta data in preview images missing

Post by Nescio50 »

This is an old issue. Several devices and software programs use different settings and interpretation of rotation data.

I know this was investigated in the past, can't find that thread right now. It is not that easy to get it right all the time. It is mostly images directly uploaded from smart phones that have an issue.

User avatar
Tsall
Server Admin
Server Admin
Posts: 5705
Joined: Sat May 31, 2008 12:00 am
Location: Germany
Contact:

Re: EXIF rotation meta data in preview images missing

Post by Tsall »

Yes, photos loading side wise is an old issue, i linked to it above.
But I'm addressing a new issue.
Since some weeks the preview/thumbnail generated by the forum software for every uploaded attachment does not have EXIF meta data. Therefore the rotation info is missing.
Mara (Dreamdoll Tania) - holiday trip (outdoor photos) and introduction
Lucia (Passiondolls 160cm Muscle Doll) - introduction and photos
Keira (Phicen Arhian Pirate) - outdoor adventures

User avatar
Nescio50
Site Manager - CoverDoll
Site Manager - CoverDoll
Posts: 23450
Joined: Fri Jan 14, 2011 11:06 am
Location: In TLC, The Low Countries, surrounded by dolls
Contact:

Re: EXIF rotation meta data in preview images missing

Post by Nescio50 »

Tsall wrote:Yes, photos loading side wise is an old issue, i linked to it above.
But I'm addressing a new issue.
Since some weeks the preview/thumbnail generated by the forum software for every uploaded attachment does not have EXIF meta data. Therefore the rotation info is missing.
Ouch -probably the same issue that causes animated gif not to animate ... that is on resized versions of the image, the full size version is okay.
This issue occurred after we changed some settings and updated a software component because of a security issue. All is fine at The Doll Album, The Harem forum and CoverDoll, we are working on the remaining issue at TDF.

User avatar
Tsall
Server Admin
Server Admin
Posts: 5705
Joined: Sat May 31, 2008 12:00 am
Location: Germany
Contact:

Re: EXIF rotation meta data in preview images missing

Post by Tsall »

Should I tell myself the bug's fixed?
Yes, because I hate it when bugs are corrected but nobody is informed. :D
Mara (Dreamdoll Tania) - holiday trip (outdoor photos) and introduction
Lucia (Passiondolls 160cm Muscle Doll) - introduction and photos
Keira (Phicen Arhian Pirate) - outdoor adventures

User avatar
Maviarab
Doll Patriarch
Doll Patriarch
Posts: 4502
Joined: Fri Jan 25, 2008 12:00 am
Location: At one with the Schwartz
Contact:

Re: EXIF rotation meta data in preview images missing

Post by Maviarab »

Well done Tsall :)

Post Reply

INFORMATIONS