Page MenuHomePhabricator

A new panoramic viewer for commons
Open, NormalPublic

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

Event Timeline

dschwen created this task.Jul 14 2015, 1:26 PM
dschwen claimed this task.
dschwen raised the priority of this task from to Needs Triage.
dschwen updated the task description. (Show Details)
Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald TranscriptJul 14 2015, 1:26 PM

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.

brion added a subscriber: brion.Jul 14 2015, 9:52 PM

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

JeanFred set Security to None.

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.

Rillke added a subscriber: Rillke.Jul 16 2015, 8:27 PM

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:

MartinK added a comment.EditedJul 16 2015, 8:51 PM

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

Qgil added a subscriber: Qgil.Sep 16 2015, 10:16 AM

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!

Ainali added a subscriber: Ainali.Sep 27 2015, 7:27 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptOct 11 2015, 9:09 PM
Qgil added a comment.Oct 29 2015, 2:37 PM

@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.

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Nov 5 2015, 6:26 PM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 5 2015, 6:26 PM
MarkTraceur triaged this task as Normal priority.Dec 21 2015, 3:09 PM
MarkTraceur added a subscriber: MarkTraceur.
Aklapper added a comment.EditedDec 22 2015, 11:49 AM

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!

Qgil removed a subscriber: Qgil.Dec 22 2015, 5:49 PM
Ainali removed a subscriber: Ainali.Jan 2 2016, 6:31 PM
Restricted Application added a subscriber: Poyekhali. · View Herald TranscriptApr 13 2016, 8:28 PM

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

srishakatux updated the task description. (Show Details)Feb 11 2017, 1:37 AM

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.

gpaumier removed a subscriber: gpaumier.Jul 18 2018, 5:57 PM