PDA

View Full Version : Simple Gallery - Won't display went uploaded



hairy
04-08-2010, 07:44 AM
1) Script Title: Simple Controls Gallery v1.3

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm

3) Describe problem: I inserted all the code in the head section of the html page as instructed in the tutorial, but modified links to show images in a separate folder.
The gallery run smoothly when I tested it in browsers on my machine, but when I uploaded it to my host server attempted to view the page the images don't appear.

http://jamiewillows.com/work.html

Any thoughts on how I can troubleshoot this problem.

Many thanks!

davelf
04-08-2010, 08:05 AM
check again the naming of your folder and image, sometimes the problem is case sensitive (upper case and lower case) .

andysam
04-08-2010, 08:12 AM
I don't know whats wrong in there but try something which I tried and worked for me

<script type="text/javascript">
var vacationtext=[
"<h2>Abbotsford International Airport Corporate Identity Design</h2><br />The brief for this project was to rebrand the regional airport in Abbotsford BC.<br />Situated one hour from Vancouver, this growing business wanted to target new passengers from metro area, and attract charter airline operators. The branding needed to communicate the refreshing, professional, rapid and hassle-free nature of their service.<p><ul><li>Business Card</li><li>Stationery Set</ul></p>",
"<h2>Abbotsford International Airport Corporate Identity Design</h2><br />The brief for this project was to rebrand the regional airport in Abbotsford BC.<br />Situated one hour from Vancouver, this growing business wanted to target new passengers from metro area, and attract charter airline operators. The branding needed to communicate the refreshing, professional, rapid and hassle-free nature of their service.<p><ul><li>Annual Report</li><li>Exterior Banners</li></ul></p>",
"<h2>Embrace Interiors<br />Corporate Identity Design</h2><br />Embrace is a fictional retailer of high-end, ergonomically designed home furniture. The aim of this identity was to convey the sense of a natural, organic structure and order behind a well-designed home.<p><ul><li>Business Card</li><li>Stationery Set</li><ul></p>",
"<h2>TWECS<br />Promotion & Branding</h2><br />TWECS stands for Third World Eye Care Society. They are a Burnaby based charity that recycles used eyeglasses and redistributes them in poor communities overseas. The project brief was to create a campaign that would raise awareness of their cause, using limited resources.<p><ul><li>Animated Web Banner (Stills)</li></ul></p>",
"<h2>TWECS<br />Promotion & Branding</h2><br />TWECS stands for Third World Eye Care Society. They are a Burnaby based charity that recycles used eyeglasses and redistributes them in poor communities overseas. The project brief was to create a campaign that would raise awareness of their cause, using limited resources.<p><ul><li>Bookmark</li><li>Street Poster</li></ul></p>"
]
var mygallery=new simpleGallery({
wrapperid: "gallery", //ID of main gallery container,
dimensions: [500, 415], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
["http://jamiewillows.com/images/abbotsford_spread01.jpg", "", "_new"],
["http://jamiewillows.com/images/abbotsford_spread02.jpg", "", ""],
["http://jamiewillows.com/images/embrace_spread.jpg", "", ""],
["http://jamiewillows.com/images/twecs_spread01.jpg", "", ""],
["http://jamiewillows.com/images/twecs_spread02.jpg", "", ""],
],
autoplay: [false, 2500, 2],
persist: true,
fadeduration: 1000,
oninit:function(){
},
onslide:function(curslide, i){
}




,
onslide:function(img, index){
document.getElementById('descdiv').innerHTML=desc[index]
}

})
and then add a div id descdiv where u want the text
</script>

hairy
04-08-2010, 06:30 PM
Thanks for the help guys.
Script is now working and working better!