I'm using pannellum for 360 view images In using pannellum iframe I'm adding image by directly fetvh fetching from database but it's not working my pannellum Dom html not showing fully messed I got the image but 360 view not working and image hot saved as pannellum htm body background.
Here is the code I'm using
<iframe width="600" height="400" allowfullscreen style="border-style:none;" src="https://ghostriderrr.xyz/server/pannellum.htm#panorama=<?php echo url("/public/storage/".$img); ?>&autoLoad=true"></iframe>```
But when I store a image in a variable and add it it's working.
Like this
$x = "https://image.jpg";
<?php echo"$x"; ?>