Topic: Add gallery with embed code to local html page
I have just downloaded simpleviewer and created my first gallery which works with the index file.
I tried adding the embed code to a local html page I use, so I can use this gallery on that page but there is no output/gallery displaying on the page with this!
This may possibly be a file folder location issue?
Can you please give me simple directions to use the embed code so it will work?
Look forward to helpful replies,thanks
**MY EDIT**
I have edited the path in the embed code to folder with svcore but now get message" Gallery XML not found"
<!--START SIMPLEVIEWER EMBED.--><script type="text/javascript" src="simpleviwer1/svcore/js/simpleviewer.js"></script><script type="text/javascript">simpleviewer.ready(function () {simpleviewer.load("sv-container", "100%", "100%", "222222", true);});</script><div id="sv-container"></div><!-- END SIMPLEVIEWER EMBED -->
I look forward to some help..
***MY NEXT EDIT..***
I have copied gallery xml to the folder I have my local html page in but the image links now do not work (large X's show instead...I have a screenshot but cannot see how to add images to this post!).
I will keep trying to get embed paths correct and am still looking forward to help....
****MY FURTHER NEXT EDIT****
I added images and thumbs folder to the directory with the local html file and now the embed is working except the sv-container is too small (height too small). See code below height 205px
<div id="sv-container" style="width: 100%; height: 100%;">
<div id="svcp-0-sv-mobile-flash" class="cls-mobile-flash" style="height: 205px; width: 1000px;">
<object id="svcp-0-sv-mobile-flash-swf" width="100%" height="100%" type="application/x-shockwave-flash" data="file:///C:/RHD/RHD%20General/RHD%20Photography/simpleviwer1/svcore/swf/simpleviewer.swf" style="visibility: visible; width: 1000px; height: 205px;">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="bgcolor" value="222222">
<param name="flashvars" value="embedurl=file:///C:/RHD/RHD%20General/RHD%20Photography/rpdG15CanonPowershotPhotography.html">
</object>
</div>
</div>
How has the embed set this height at 205px?
I want to increase the height of the container..how?
Again I'm grateful for advice....
*****MY UPDATED (FINAL?) EDIT*****
Well I finally found the embedding instructions at http://www.simpleviewer.net/simpleviewe … html#embed
I placed sv-container div inside a parent div at the height I want (650px) and simpleviewer is displaying..
<div id="sv-parent" style="height:650px;">
<div id="sv-container"></div>
</div>
I hope this is done (thanks for all the helpful replies..Oh-there were none..actually no replies to date.. nevermind! I hope this post may help anyone else embedding into local html files..).