You can create Your PhotoSlider and add it on Your Website.
You can easily insert the PhotoSlider on your WebSite following these instructions:
Download the zip here
You can also download the complete example showed above here
Unzip the file SilverlightPhotoSlider.zip and put the PhotoSlider.xap in a folder of your WebSite
Add this HTML Code on the WebPage where you want the player:
Modify in the above code these tags:
<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="400" height="400">
width and height (in pixels) of the photo slider (You can also use a percentage value Ex: width="100%" height="80%").
<param name="source" value="PhotoSlider.xap"/>
the path where is located the PhotoSlider.xap on your website
Example: if You put the file PhotoSlider.xap in a folder like http://www.yoursite.com/folder/PhotoSlider.xap you must to set this code <param name="source" value="http://www.yoursite.com/folder/PhotoSlider.xap"/>
<param name="background" value="white" />
The background of the slider while loading, You can set this like your page background.
<param Name="initParams" value="TextLoading=Loading Images...,UrlXmlSlides=blog_images.xml,TimeToSlide=5" />
TextLoading is the text Loading Images.
UrlXmlSlides the path of the XML file that describe the images to show.
TimeToSlide the time in seconds between image slide.
Edit or create a XML file (like blog_images.xml)
You will notice that the XML file has a special structure in order to describe the images in the slider. All images are described with the following XML tags located between the <images> and </images> tags.
Here is a example of an actual image.
Upload all on Your website and enjoy!!
Share:
You can mail me feedback, bug or features request