Images aren’t loading
Home › Forums › (E)2 Photo Gallery (The Open Source One) › Sample of (E)2 Photo Gallery › Images aren’t loading
This topic contains 5 replies, has 3 voices, and was last updated by dacedress9v 5 years, 5 months ago.
-
AuthorPosts
-
January 12, 2008 at 5:43 pm #1074
I was pleased to find your photo gallery and believe it will work very well for what I need. Thank you for offering this great tool. However, I am encountering a problem implementing it on my website.
I have integrated my existing HTML into the index.php file, but now the first image will not display. You have to click on another thumbnail image first and then that image will display. I have read through other posts on the forum and tried solutions to similar problems, but it seems this problem is different. I believe it may have something to do with the javascripting for the rollovers on my webpage, since I believe it worked fine before I added the rollovers. The javascript for the rollovers was generated using Adobe GoLive. Can this issue be resolved?
You can view my webpage at http://www.artsimagine.com/gallery/index.php
Also, I have Internet Explorer 7 and when the webpage is reloaded, none of the images load. I have to empty the cache in order for the images to load correctly. What can I do about this?
Thank you!
January 13, 2008 at 4:15 am #1075Joeeck,
You have a code error on your page -
#n – on line 66
- probably that is what is causing the problem.
Cheers
EdJanuary 13, 2008 at 4:52 pm #1076I got rid of the code error on line 66 but still am having the problem.
January 14, 2008 at 8:24 am #1077In your description you have a copyright symbol, I wonder if that is causing it to not load that first image. I don’t see any other errors with the gallery.
January 15, 2008 at 6:06 pm #1078I tried it without the copyright symbol, but this didn’t get rid of the problem. After playing around with it for awhile, though, I discovered that if I inserted “echo $photoarray[0];” right before line 124 in getfolders.php, the first image will display. I tried this because it didn’t seem like there was an img tag actually being written into the html.
In order to get the title & discription to display (since they weren’t being displayed either), I moved the <div id=”imgtitle”></div> tag from the index.php file into an echo statement in getfolders.php and inserted the following between the <div> and </div> tags:
‘.$photoinfo[0].’ ’.$photoinfo[3].’
I also had to move some other HTML from index.php to getfolders.php to make it work right.
Here’s the result:
http://www.artsimagine.com/gallery/index.phpThis seems to fix the problem of the first image not displaying on my end. What do you think? The only trouble I’m having now is the IE 7 page refresh issue.
January 15, 2008 at 6:09 pm #1079When I posted my last reply it got rid of some of the the code. The code that I inserted in the
<div>tags is:<strong>'.$photoinfo[0].'</strong> '.$photoinfo[3].' -
AuthorPosts
You must be logged in to reply to this topic.
