Thumbnail popup

daveburke

New member
Hi everyone,
I hope you can help me.

I've added the 360 asset files/photos and I'm able to embed one view per page.

I would like to add a gallery, but struggling with the shortcode. I would like it so the page has a featured image/normal image displayed, then when you click on it it pops up a window to view the 360

I can get it working with text, ie:

Code:
[wr360popup name="yourviewname" width="620" height="450" config="/your-wordpress-site/360-assets/sampleshoe2/config.xml"]your thumbnail image or text[/wr360popup]

Would display "your thumbnail image or text" on the page, that opens up a window when clicked.


How would I get an image to do the same?

I tried adding in code for an image, but it just displayed the path, not the photo.


It's probably a simple fix and I'm missing something, any help would be appreciated!
Thanks
Dave
 

WebSupport

Active member
Hi David, here's a quick example:

[wr360popup name="view02" gallery="true" width="620px" height="450px" config="/wordpress/360-assets/sampleshoe2/config.xml"]<img src="your-image-url.jpg"/>[/wr360popup]

When you upload an image in wordpress and insert it into a post or page, it creates a line similar to the one in bold so you would just need to wrap it inside the wr360popup shortcode. Or if you know image location (URL) on your server you can just type it in as per above.

gallery="true" is only needed when you have several shortcodes like this that need to be grouped as a gallery when the popup with 360 product view is activated.

Does this help? We can setup a sample in your WP admin if needed..
 
Top