You are here

Hacking Full-size Camera Panoramas to Work in Facebook: Page 3 of 5

PhotoJoseph's picture
July 16, 2016 - 6:00pm

Why Did This Work?

Unfortunately I had to crop way more of the image than I'm happy about doing. So now to figure out why this one worked. Is it the aspect ratio? File size? Final megapixel count? Once we know that, and can maximize the amount of image shown, then we can go back through the steps and see if any of these were unnecessary, hopefully resulting in the least amount of changes needed to get a pano to load.

6 Let's crop a little wider

The previous image, which finally worked, was cropped a lot. That's no bueno, so I'll try cropping less. It also down-scaled quite a bit, so I lost considerable resolution from the original file. The previous crop was 13,632 × 3,082, which is a 4.423:1 crop ratio. I'll try a 5:1 ratio next, and if that works, keep going up. For now I'll also scale the vertical height to 3,082 as well, so we're only changing one thing at a time.

5:1 CROP RESULT: It worked! Excellent… on to a wider crop then.

7 But first, a sanity test; crop the original!

Uh-oh… what if all that mattered was the crop ratio? Man I'm gonna be p***… quick, take the original file and crop it 5:1!

RESULT: Didn't work… I'm somewhat relieved, honestly ;-)

8 Now a second-sanity test; to scale

We're here already, so let's also scale the previous file to the 3,082 known-working height we saw before, which puts this 5:1 cropped image at a height of 15,410 pixels.

RESULT: Nope, that isn't it either. OK good, this whole post isn't in vain! Alrighty then, back to where we left off.

9 Let's keep cropping wider

Picking up where the ratio tests left off, previously we cropped the metadata-adjusted and filename-changed image to a 5:1 ratio and scaled to 3,082 high. Now let's try 6:1 and 3,082 height, which puts the width at 18,492.

6:1 CROP RESULT: No joy. OK, so at this point the acceptable aspect ratio appears to be between 5:1 and 6:1.

10 Let's find a maximum ratio

Keep in mind that the widest aspect ratio of my iPhone-created test files was 4.423:1, so even at 5:1 we are wider than the iPhone was giving us. For each test below, I'll continue to scale the vertical dimension to 3,082.

5.5:1 CROP RESULT: Yep!
5.7:1 CROP RESULT: That worked too!
5.9:1 CROP RESULT: Nope! OK, we've exceeded a limit
5.8:1 CROP RESULT: No again. I wonder if it's 5.75 then…
5.75:1 CROP RESULT: That worked too! OK, so it seems our maximum ratio is 5.75:1 (maybe there's another decimal we can go… if you want to know that, knock yourself out ;-)

11 Now let's see what I didn't need to do

Now I'll back up and see what didn't need to be done, from steps one to three. That means I'll go back to the original file, and just do the crop and scale, and see if that works — no partial or full EXIF change, and no name change.

RESULT: No go — which somewhat justifies what I'm doing here ;-) 

12 Let's change the name first

Previously I did metadata changes first, but changing the file name is obviously easier. So I'll duplicate file 11 and change the name to IMG_9999.JPG

RESULT: Still no.

13 Camera make & model

Now I'll duplicate file 11 again (with original filename) and change metadata on that, again starting with the easy data; camera make and model

RESULT: YES!

14 Camera make or model

Do I need to change both of these fields? Going back to a dupe of file 11 again, let's find out…

Make = Apple only RESULT: Not enough of a change.
Model = iPhone only RESULT: Not enough either!

Level:
Advanced
App:
Adobe Lightroom Classic (pre-CC) Adobe Photoshop Exif Editor Facebook PhotoSync
Platform:
macOS iOS Android Windows
Author:
PhotoJoseph

Thanks for getting to the bottom of this. I recently uploaded a LR Panorama to Facebook and wondered why it didn’t display as a Panorama. Now I have the answer.

Incidentally, I read all the way through. On page 4 of 5 I thought I found a typo (“(it won’t; I tired)”. But maybe you really were “tired” at that point.

Thomas

haha, I probably was tired! But thanks; fixed now.

@PhotoJoseph
— Have you signed up for the mailing list?

Very thorough explanation. I did try your tip but seems cant to get it to panorama view in FB. I resize and image to 19205 x 3340 (5.75:1 ration right ?) . Edit the exif, add the Maker & model to Apple and iPhone 6 Plus. Is there anything else that i miss ? But what can is when I resize it to 6000x3000 (2:1 ratio). Maybe you can comment on this

Thanks.

You missed a step… file must have a height of 3,082 or less. Scale your file down and it'll probably work!

@PhotoJoseph
— Have you signed up for the mailing list?

Does this still work?

I have some panoramic photos taken in Antarctica that aren’t showing to their potential in Facebook. I’ve changed the metadata, changed the aspect ratio and height, uploaded to my iPhone 6. They show in photos under panoramas with the wide angle icon in the bottom right but they don’t all the tilting view that ones taken on the phone allow.

Anything I’m doing wrong?

I don't know… haven't tried in a while. I don't have a pano on my system to test with. Sounds like you hit all the major points, and if it's showing the icon in Facebook it sounds more like an app thing. Can you try another device? Or paste the link in here (be sure to make it a public post) and I'll try it.

@PhotoJoseph
— Have you signed up for the mailing list?

Here you go try this one, not adjusted yet but if you get it to work let me know and I can adjust the others

https://www.facebook.com/photo.php?fbid=10158191072375500&set=a.10158190…

That's just showing up as a super wide photo. I'll try on myself and see what happens.

@PhotoJoseph
— Have you signed up for the mailing list?

Yep, mine worked. You can see it here. This one was so wide that Facebook thinks it's a full 360˚ panorama, funny!

If you want to send me the photo you're uploading via Dropbox or something, paste the link here and I'll look at the source to see if I can figure out what's missing.

@PhotoJoseph
— Have you signed up for the mailing list?

Heres one of the photo files via a dropbox link. Totally unedited, let me know how you get on.

https://www.dropbox.com/s/f41dhlylce8y3wn/Landscape%2002.JPG?dl=0

 

Well, the EXIF data hasn't been edited. It still shows Sony ILCA-77M2

Your ratio should be fine; it's 8192 × 1856 which is a 4.41:1 aspect ratio.

Change the EXIF and it'll probably work. Go through the final checklist again; it explains how and what to change it to.

@PhotoJoseph
— Have you signed up for the mailing list?

Yeah it’s unedited but when I change the EXIF file with apple and iPhone 6 Plus or iPhone 6 it doesn’t work.

if you edit it does it work? 

This is amazing! Do you think it can be done even for other types of pictures, like illustrations or paintings, and not photos?  

I don't see why not… pixels are pixels!

@PhotoJoseph
— Have you signed up for the mailing list?

The Exif Editor app linked in the article doesn’t appear to be in the Mac App Store anymore. But I found one called Photos Exif Editor for $0.99 that did the job. 

Thomas

Im hoping it can be done to any 360 camera available in the market. Comparability is important.

Thanks for this work! I uploaded a pano photo from desktop (15525*2700  5,75:1), and works. Interesting, if I make a resized picture from it (6210*1080,  5,75:1), this isn’t recognized as pano.

And I have a problem. Quality my picture is very-very terrible on FB. Here are the exif data:

https://drive.google.com/open?id=197EKHn0lZ3LcJ8nJuQFL3GYfS60WsZMN

What is your opinion?

Gyula

I find the solution! The jpg format setting was Hoffman codes. I changed it progressive, and the quality of uploaded pano is excellent.

(The “JPG(old style)” became suspicious in exif data.)

Gyula

That is awesome! How did you change this?

@PhotoJoseph
— Have you signed up for the mailing list?

I use ACDSee, the details of conversion are optional.

https://drive.google.com/open?id=1sfau2vw3J_s30kZ9hUse6rI_hw1SpBcK

 

Gyula

Joseph, I have another problem. My photo 360 degree exactly, but not allowed the hole rotation on FB

I try change the aspect ratio, but did not succeed.  I show this problem on the attached photo:

https://drive.google.com/open?id=1XCCsYZdAKES16FYZQsI5YqavV0QntTCC

What’s your opinion?

 

Gyula

thanks for figuring this out. I have found a free EXIF fixing website that did the job

https://www.thexifer.net/#exif-general

Thank you so much for sharing this! I’ve been frustrated and trying to find a way to make this work for a while!

You may login with either your assigned username or your e-mail address.
Passwords are case-sensitive - Forgot your password?
randomness