Images aren’t loading

This topic contains 5 replies, has 3 voices, and was last updated by  dacedress9v 5 years, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1074

    dacedress9v
    Member

    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!

    #1075

    Quartieror
    Member

    Joeeck,
    You have a code error on your page -
    #n – on line 66
    - probably that is what is causing the problem.
    Cheers
    Ed

    #1076

    dacedress9v
    Member

    I got rid of the code error on line 66 but still am having the problem.

    #1077

    E2
    Member

    In 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.

    #1078

    dacedress9v
    Member

    I 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.php

    This 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.

    #1079

    dacedress9v
    Member

    When 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>&nbsp;'.$photoinfo[3].'

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.