If your like me and like to use the external image loader then depending on the size of your images it may be a good idea to use some Java script to preload the images so they appear as soon as the popup is called.
An example where this comes in handy is popup preview images above hotspots.
Yes this is coding but not difficult to do.
Output your project with all your popup images.
Use a text editor and open the HTML page Object2VR or Pano2VR generates.
Move down the page until you see the close tag for the head section, your looking for </head>:
Code: Select all
background-color: rgba(255,255,255,0.5);
}
</style>
</head>
<body>
Code: Select all
<script type="text/javascript">
<!--
image01= new Image()
image01.src="1.gif"
image02= new Image()
image02.src="3.gif"
//-->
</script>
So your page now looks like this:
Code: Select all
background-color: rgba(255,255,255,0.5);
}
</style>
<script type="text/javascript">
<!--
image01= new Image()
image01.src="1.gif"
image02= new Image()
image02.src="2.gif"
//-->
</script>
</head>
<body>
Example I have 3 thumbnail images, thumb_01.jpg to thumb_03.jpg in a subfolder call thumbnails.
So my code would look like this:
Code: Select all
<script type="text/javascript">
<!--
image01= new Image()
image01.src="thumbnails/thumb_01.jpg"
image02= new Image()
image02.src="thumbnails/thumb_02.jpg"
image03= new Image()
image02.src="thumbnails/thumb_03.jpg"
//-->
</script>
Would not go to mad with this as don't forget some devices don't have much cache to play with.
Regards,
Hopki