![]() |
|
PhotoSphere Support - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: PhotoSphere Support (/thread-13152.html) |
PhotoSphere Support - knichel - 2018-10-12 Any plans on adding support for PhotoSphere images (Those 360 degree pics where you move the phone around like you are inside the sphere)? PhotoSphere Support - knichel - 2018-10-12 Oh, and what about video? PhotoSphere Support - acrylian - 2018-10-12 No plans (and I never heard of photoSphere). But you can setup your theme or create plugins for everything. Just recently a user made a site using some panoramic photo display: https://clatique.fr. Video and audio is already supported via plugins. PhotoSphere Support - ctdlg - 2018-10-14 Hello, what you want is so easy with zenphoto. No need for a new plugin. https://clatique.fr/multimedia/index.php?album=Villes/Cul-Du-Cerf&image=P-C-Cerf3.txt In zenphoto, in your album, for each 360° picture, simply use a txt file containing this kind of code : iframe width="800" height="530" allowfullscreen style="border-style:none;" src="path-to/pannellum.htm#panorama=Path-to/your-picture.jpg&autoLoad=true&hfov=100&maxHfov=100&minHfov=30&vaov=128&yaw=190&minPitch=-90&maxPitch=35&pitch=-40&autoRotate=-5">/iframe Note < and > are missing in my code, because otherwise, I cannot show you that code A better way is to use json files : more options with pannellum (free). You add a jpg picture named like your txt file for the thumbnail. Of course, all mobile do not have gyroscope function - maybe you call it movement detection. In that case, you have to use your finger to move around the picture. PhotoSphere Support - acrylian - 2018-10-14 Thanks for describing what you did, @ctdlg. To add no new plugin is needed but the included textobject plugin must be activated to be able to do it this general purpose way.
Why do you need to do this? That must be specifitic to your usage. We use the same way on our site for some Youtube videos. PhotoSphere Support - ctdlg - 2018-10-14 Concerning < and >, its because if I add them to the code above, nothing is displayed. In other words, the iframe code is between PhotoSphere Support - acrylian - 2018-10-14 Ah okay, now I get it, it is because of the forum only. Sorry ;-) You can use backticks to escape code to show up:
Somehow the normal Markdown code escaping by spaces or tabs does not work here PhotoSphere Support - ctdlg - 2018-10-15 Thanks for the markdown tip (Alt gr 7) on my keyboard.
You get a bunch of extra parameters using a json file compared to the above html code. See pannelum help : |