Photo Sphere Object
Autor: Peter W.
Visitado 75,
Seguidores 2,
Compartilhado 0
I have the Photo Sphere Object and it used to work, but no longer. I have the latest version of Website X5 Pro 2024.4.6 and updated the Photo Sphere Viewer recently, but the image still does not appear in the preview or on the web.
It should appear on this page, above the QR-Codes:
https://gesarashow.com/about-us.php
Publicado em
Autor
I tried it on Brave, Edge and Firefox and the sphere does not appear on any. I have attached the 360 image.
Hello Peter,
I am sorry about the issue.
I ran a test with the object, but it was displayed for me.
Do you remember when it was last visible? Is it displayed if you preview this page in WebSite X5?
Eric
Autor
No, it does not display in the preview, either as shown in the attached image
(It > En) ... while waiting for the problem to be solved, ...if you are interested in obtaining the visibility of the Photo Sphere immediately, you could solve it immediately with my invention with EXTRA code...
... in which case you would also have the "unique" advantage of the aspect ratio at all resolutions, with customizable ratio ratio, for example: (4:3), (3:2), (16:9), (2:1), etc., or use the real pixel measurements as you prefer......
... if you are interested in trying my exclusive code, let me know and I will come back here, ...otherwise wait for the corrections of the case...
.
ciao
.
Hello Peter,
could you please try to remove the object and add it again?
Could you also attach the image file you are using here?
Eric
Hello Peter
here on my demo a way to display 360/3D pictures
https://wsx5demo.afsoftware.fr/3d.html
hope this helps
Axel
Autor
I have removed the object and tried again, yet it makes no difference. I videoed the process so you can see what i did and that it still does not work.
I opened another project which i setup as a test when the PSV object first came out and that still works, even with the image that does not work on the site i am trying to use it on. I show that in the video, too.
Download the files from here:
https://we.tl/t-e8IuRuBA8J
I have added the 360 image with this post. The last time i tried to upload it here, it strangely did not upload, so i put it in a zip.
... I updated the browser on your online example, and the Photo Sphere object is not visible...
... for my part my previous offer remains valid, ...if you are interested let me know...
.
Autor
KolAsim, sure, send me your code to test, thanks.
... OK ... ciao ...
... code:
<script>
$( document ).ready(function() {//K>;
/** -- riabilita Photo_Sphere + aspetto ratio[268406] by KoplAsim -- **/
ritardoK = 3; // secondi di ritardo sulla latenza della pagina, da valutare;
setTimeout(function(){//K1>;
objectVideoSfereK = $('.psv-container');
$(objectVideoSfereK).parent().parent().css("display","block");
widthK = 16; // rapporto razionale W, o (PX) larghezza immagine; per es: = 800;
heightK = 9; // rapporto razionale H, o (PX) altezza immagine; per es: = 400;
ratioK = heightK / widthK ;
VideoSfereRatioK();
}, ritardoK*1000);//K1<<;
});//K<<;
//-----------f K2-----------------------
$(window).resize(function(){//K2>;
VideoSfereRatioK()
});//K2<<;
//-----------f K3-----------------------
function VideoSfereRatioK(){//K3>;
wK = $("#imContentGraphics").width();
hK = wK *ratioK;
$(objectVideoSfereK).css("width", wK).css("height", hK);
};//K3<<;
</script>
.
... you have to paste the code in the Properties of that Page "about-us.php", in this section:
>> Step 3 - Map > The 'Page Properties' window > Options in the Expert section >
▪Custom Code: > 3^(third) option > Before closing the HEAD tag
.
ciao
.