1

This panorama is interactive, this isn't.

How do I make my panorama interactive? I guess it's either an EXIF flag or a specific format. Ideally I'm looking for something free which works on Linux. Hugin does not seem to have a setting for this.


I've tried the following command:

exiftool \
-ProjectionType=equirectangular \
-FullPanoWidthPixels'<$ImageWidth' \
-FullPanoHeightPixels'<$ImageHeight' \
-UsePanoramaViewer=True \
-out test1.jpg \
original.jpg

And verified the result:

$ exiftool test1.jpg | grep -e Pano -e Projection
Full Pano Height Pixels         : 1061
Full Pano Width Pixels          : 22902
Projection Type                 : equirectangular
Use Panorama Viewer             : True

Unfortunately Flickr still shows test 1 as a normal image.


OK, I'm getting somewhere. I tried also resizing it to 2:1 using:

convert -resize 2:1 test1.jpg test2.jpg

Test 2 does show up as a panorama, but looks completely messed up, probably because the original image does not have 180° vertical range.


I then tried to tweak the "Full Pano" pixel settings, but test 3 doesn't look any different. In fact, as you can see in test 4 these settings don't seem to change anything.


Cross-posted on Flickr.

2

You can't just mess with the metadata; you have to actually remap the image.

Flickr's panorama interactive viewer can only be used with equirectangular 360x180 panoramas. And to make it interactive on Flickr only requires adding the "equirectangular" tag (unlike Facebook, where you have to set the metadata). But, the image does have to be an actual equirectangular projection that covers the entire spherical view. So, filling in the missing floor/ceiling areas with black to get a 2:1 rectangle is possibly your best bet. You could try using Hugin and loading up your panorama as a Panorama (cylindrical) "lens type" and then remapping to an equirectangular 2:1, with steps similar to those in this Q&A.

Flickr's interactive viewer does not recognize 360º cylindrical panos and does not make them interactive. The only way I know of to interactively view a cylindrical 360º stored on Flickr, is to use a viewer that that uses Flickr's API, such as Aldo's fieldofview.com. To use it, create a URL in the following format:

http://fieldofview.com/flickr/?page=photos/user_ID/photo_ID/&tags=TAGS

Where user_ID is your Flickr user ID, photo_ID is the photo's ID, and TAGS are any other tagged photos you want to throw into the viewer.

So, for example:

https://fieldofview.com/flickr/?page=photos/l0b0/44945085211/&tags=360

gives you an interactive view of the pano, with a linked gallery of everything tagged '360' in the user's Flickr stream. But it assumes that all panos have 360º coverage, so the left and right edges are going to be wrapped around and joined together in the viewer.

See also: Wrapping photos to an equirectangular projection in Hugin.

1

The first image is posted in a dedicated Equirectangular group, featuring such images. In the discussion section of that group this has been discussed here and here for example.

The bottom line is that the flickr viewer (and probably most other viewer, too) needs exif data like that:

FullPanoHeightPixels = 6000
FullPanoWidthPixels = 3000
ProjectionType=equirectangular
UsePanoramaViewer=True
  • Unfortunately that doesn't seem to work - see my update. – l0b0 Nov 10 '18 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.