Page MenuHomePhabricator

A new panoramic viewer for commons
Closed, ResolvedPublic

Description

The old Java-based panoramic image viewer has been defunct and terribly out of date for a long while now. We need a good a way to view our collection of high resolution 360 degree panoramics on commons.
I would like to evaluate some open source pano viewer solutions, pick one, and integrate it with commons via labs.


See also: T70719: Tool to view spherical panorama photos (photospheres)

Also proposed in Community-Wishlist-Survey-2016. Received 58 support votes, ranked #15 out of 265 proposals. View full proposal with discussion and votes here

Result available at: https://www.tools.wmflabs.org/panoviewer/

Event Timeline

dschwen claimed this task.
dschwen raised the priority of this task from to Needs Triage.
dschwen updated the task description. (Show Details)

I've looked at https://github.com/mpetroff/pannellum/ and it seems to be a good solution. I'd like multiresolution support through zoomviewer some time as well.

Are you working on this @dschwen? Can we help this move forward? :-)

I'm at lunch right now but I created a tool labs project and downloaded the viewer. Will work on it momentarily.

Since the distortion is the major argument against using pano images in Wikipedia, it would be great if this viewer not only integrates with commons, but with MediaWiki as well. An integration into the MediaViewer or some kind of extension that can be enabled via common.js

I've created a proof-of-concept. Will work more on it tomorrow.

I am going crazy!!!!!!! Can someone lend me a second pair of eyes? Check out the top of https://commons.wikimedia.org/wiki/User:Dschwen/common.js
In there I'm adding a button element and attach a click event. However the click event handler never gets called no matter how hard I click on the button ;-)
What am I missing here?!

I get an alert saying "Fooo" and then the viewer loads. Executed your code in a JS console, however; not loaded though RL.

But it looks stupid with the stockphoto links:

stockphoto.png (775×980 px, 432 KB)

I just tested it and the button appears and works.

But I seems that he player just loads the preview resolution of this image. Since there is also no need to load a Giga-Pixel-resolution imo the best thing might be that the player loads a max resolution calulated by the current screen size.

What is the status of this task, now that Wikimania 2015 is over? As this task is in the "Backlog" column of the Wikimania-Hackathon-2015 project's workboard: Did this task take place and was successfully finished? If yes: Please provide an update (and if the task is not completely finished yet, please move the project to the "Work continues after Mexico City" column on the Wikimania-Hackathon-2015 workboard). If no: Please edit this task by removing the Wikimania-Hackathon-2015 project from this task. Thanks for your help and keeping this task updated!

A proof of concept of a gadget is available at [[MediaWiki:Gadget-PanoViewer.js]] [1] and I adjusted the {{Pano360}} [2] template to link to the new viewer as well. Further discussion on categorizing spherical and incomplete panos is taking place at [[Commons_talk:Project_to_create_spherical_panoramas_of_important_monuments]] [3].

[1] https://commons.wikimedia.org/wiki/MediaWiki:Gadget-PanoViewer.js and I adjusted th
[2] https://commons.wikimedia.org/wiki/Template:Pano360
[3] https://commons.wikimedia.org/wiki/Commons_talk:Project_to_create_spherical_panoramas_of_important_monuments

A message to all open tasks related to the Wikimania-Hackathon-2015. What do you need to complete this task? Do you need support from the Wikimedia Foundation to push it forward? Help promoting this project? Finding an intern to work on it? Organizing a developer sprint? Pitching it to WMF teams? Applying for a grant? If you need support, share your request at T107423: Evaluate which projects showcased at the Wikimania Hackathon 2015 should be supported further or contact me personally. Thank you!

@dschwen, is there any work left here? Does the Commons community know about this gadget?

Quim, there is some work left, namely supporting arbitrarily high resolution panos. I had a blocking task I was waiting for for a few months, but that got resolved a while ago. The ball is in my court now ;-).
Quite a few people know about this, but as it is not quite complete it has not been announced broadly. At some point we can take this to the wikipedias as well! It would be nice to have access to the pano viewer from within the articles.

MarkTraceur subscribed.

there is some work left, namely supporting arbitrarily high resolution panos.
Quite a few people know about this, but as it is not quite complete it has not been announced broadly.

@dschwen: Is there some public (and updated) list of work left which interested people could check or contribute to? (Or in other words: Where does the project planning happen?)

Update: Ah. I guess I should just follow the discussion pages and changes of https://commons.wikimedia.org/wiki/MediaWiki:Gadget-PanoViewer.js and https://commons.wikimedia.org/wiki/Template:Pano360 . Sorry!

Ok, stupid(?) question: Can't I just do a release upgrade (do-release-upgrade) and be in the clear?

For tracking purposes: a while ago I created a Wikipedia template on svwiki that uses the tool.

Does the Panellium install on labs actually generate tiles, or is that feature turned off? Looking at the example @Ainali provided on that wiki page, it seems to just stream the original file.

If there's no tiling happening right now, this can probably be integrated into Media Viewer as-is, as long as there's an easy way to tell that a given file should be displayed in pano mode.

@dschwen: Hi! Is this task still valid and should still be open? If yes, are you still working (or still plan to work) on this task? (If you do not plan to work on this task anymore, please remove yourself as assignee (via Add Action...Assign / Claim in the dropdown menu) so in theory others could work on it.) Thanks!

The panorama viewer described in this ticket exists on tools cloud. I guess we can close this ticket and open new tickets for bugs and improvements.

@dschwen: Thanks for the quick reply! Is that https://www.tools.wmflabs.org/panoviewer/ ? Asking as I cannot find a link in this task...

Yes, sorry, that's the one. I could have sworn with over 40 comments the link would be on one of them :-)

Aklapper added a project: Tools.
Aklapper updated the task description. (Show Details)