Topic: Help with simpleviewer? Thanks in advance for the help :)

I'm trying to embed a gallery on Joomla 2.5 using simpleviewer but it shows blank.

I've uploaded all the files to the root
http://snag.gy/rmRgi.jpg

I am using this code :
<iframe src="SimpleViewer/3D/index.html" width="600" height="600" frameborder="0" scrolling="no"></iframe>

Offline (on xampp by instance or just the index.html in win explorer) the images show up just fine and the way i want them to be
http://snag.gy/Q3Ix6.jpg

but now when i try to get them online
the page shows blanc hmm
http://snag.gy/13dVe.jpg

I hope someone can help me and for the people who try and do THANKS IN ADVANCE

Last edited by xkoeckiiej (2013-09-18 18:06:32)

Re: Help with simpleviewer? Thanks in advance for the help :)

Your iframe code will work only if the HTML document containing the iframe is in your root directory (alongside the 'SimpleViewer' directory).
Otherwise, try defining the 'src' of your iframe with a leading slash to denote your root directory, i.e.:

<iframe src="/SimpleViewer/3D/index.html" width="600" height="600" frameborder="0" scrolling="no"></iframe>
Steven Speirs
SimpleViewer Support Team.

Re: Help with simpleviewer? Thanks in advance for the help :)

Steven Speirs wrote:

Your iframe code will work only if the HTML document containing the iframe is in your root directory (alongside the 'SimpleViewer' directory).
Otherwise, try defining the 'src' of your iframe with a leading slash to denote your root directory, i.e.:

<iframe src="/SimpleViewer/3D/index.html" width="600" height="600" frameborder="0" scrolling="no"></iframe>

I've changed my code to yours but now it says error 404 hmm
Any other ideas?
Here are the files stored TO
https://www.dropbox.com/sh/cwxpbe7isuz83ck/2rAusWmc7b

Re: Help with simpleviewer? Thanks in advance for the help :)

Using an absolute URL for the 'src' of your iframe should work fine for all scenarios where regular web servers are used, e.g.:

<iframe src="http://www.example.com/SimpleViewer/3D/index.html" width="600" height="600" frameborder="0" scrolling="no"></iframe>

However, if you are using Dropbox to host your gallery, you will need to put all your files in a 'Public' folder and use the 'Public link' to the gallery's 'index.html' file as the 'src' of your iframe.
Otherwise, rather than the HTML page being displayed in a browser (like it would on any regular web server), it will be offered up as a download by Dropbox in its file-sharing mode.
Please see the Embedding in a Web Template Site instructions for details on how to host a gallery using Dropbox.

Steven Speirs
SimpleViewer Support Team.

Re: Help with simpleviewer? Thanks in advance for the help :)

Steven Speirs wrote:

Using an absolute URL for the 'src' of your iframe should work fine for all scenarios where regular web servers are used, e.g.:

<iframe src="http://www.example.com/SimpleViewer/3D/index.html" width="600" height="600" frameborder="0" scrolling="no"></iframe>

However, if you are using Dropbox to host your gallery, you will need to put all your files in a 'Public' folder and use the 'Public link' to the gallery's 'index.html' file as the 'src' of your iframe.
Otherwise, rather than the HTML page being displayed in a browser (like it would on any regular web server), it will be offered up as a download by Dropbox in its file-sharing mode.
Please see the Embedding in a Web Template Site instructions for details on how to host a gallery using Dropbox.

I've tried using the absolute url { http://www.besa.nl/Simpleviewer/3D/index.html } but again error 404 :s

Then i tried using the dropbox url but am i getting blank screen

and  this error message when i do inspect element on chrome :
Refused to display 'https://www.dropbox.com/s/n1o7qzcwvr63s … ransparent' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Last edited by xkoeckiiej (2013-09-19 12:40:19)

Re: Help with simpleviewer? Thanks in advance for the help :)

Steven Speirs wrote:

Using an absolute URL for the 'src' of your iframe should work fine for all scenarios where regular web servers are used, e.g.:

<iframe src="http://www.example.com/SimpleViewer/3D/index.html" width="600" height="600" frameborder="0" scrolling="no"></iframe>

However, if you are using Dropbox to host your gallery, you will need to put all your files in a 'Public' folder and use the 'Public link' to the gallery's 'index.html' file as the 'src' of your iframe.
Otherwise, rather than the HTML page being displayed in a browser (like it would on any regular web server), it will be offered up as a download by Dropbox in its file-sharing mode.
Please see the Embedding in a Web Template Site instructions for details on how to host a gallery using Dropbox.


i also already did this :
http://www.inmotionhosting.com/support/ … add-iframe

Re: Help with simpleviewer? Thanks in advance for the help :)

Steven Speirs wrote:

Using an absolute URL for the 'src' of your iframe should work fine for all scenarios where regular web servers are used, e.g.:

<iframe src="http://www.example.com/SimpleViewer/3D/index.html" width="600" height="600" frameborder="0" scrolling="no"></iframe>

However, if you are using Dropbox to host your gallery, you will need to put all your files in a 'Public' folder and use the 'Public link' to the gallery's 'index.html' file as the 'src' of your iframe.
Otherwise, rather than the HTML page being displayed in a browser (like it would on any regular web server), it will be offered up as a download by Dropbox in its file-sharing mode.
Please see the Embedding in a Web Template Site instructions for details on how to host a gallery using Dropbox.

the 404 was because i was using a wrong url
omg sorry
THANKS A WHOOOOLLEEE LOT
THANKS MAN !!!!!!!!

Re: Help with simpleviewer? Thanks in advance for the help :)

I'm glad you've got it working.
Thank you for posting back to let me know.

Steven Speirs
SimpleViewer Support Team.