Full-sized images won't load.

Hello, I've just installed ZenPhoto. I've created several image galleries so far. The thumbnails and images in the gallery view work fine. The right/left nav buttons work fine. But, when I click on an image to view the full-sized image I get an error. However, when I hover over an image, I can see the URL that should be loaded. If I type in that URL manually, the image loads fine. If I right-click and choose "copy link location" and paste that URL into the browser, the full-size image loads fine. The image only fails to load when I left-click on the gallery view image.

When I apply the Zenpage theme, I get the error; "This image could not be loaded"

When I apply the default theme, I get a 404 error. However, I notice two things when using the default scheme;

1) the URL that is generating the 404 error is malformed. The slash is pointing the wrong way. When I correct the slash and load the page, it is the gallery view page of the image and not the full-sized image that displays.

2) The URL that is in the location bar isn't the URL that is displayed when hovering the mouse pointer over the image. It is in fact the URL of the page I'm on.

Comments

  • acrylian Administrator, Developer
    Please post the actual errors and those you find in your server error log. A link to the site so we can take a look would be helpful as well.

    I bet it is a permissions issue or all else works.

    I've created several image galleries so far.
    Actually you did not create several galleries but albums. Gallery = Zenphoto site.
  • Other things of interest would be the them you are using and the version of Zenphoto.
  • OK. I'm not really interested in getting my semantics correct. That doesn't really further my cause. Unfortunately, my site is behind a firewall, so I won't be able to give you a useful link. I wish there were a way to post screenshots on this forum...

    When I click on the image on the image's individual page while browsing the gallery, I get this error:
    ______________________________________________________
    Not Found

    The requested URL /zenphoto\index.php was not found on this server.
    ______________________________________________________

    The URL in the location bar:
    ______________________________________________________
    http://commandpc02:8080/zenphoto\index.php?album=endeavor-transport&image=2012-10-13_16-26-22_756.jpg
    ______________________________________________________

    If I were to correct the wayward backslash I actually get the same page I'm looking at (that image's individual gallery view page), and not the full-sized image (which I would expect).

    However, when hovering over that image, I get this URL:
    ______________________________________________________
    http://commandpc02:8080/zenphoto/zp-core/full-image.php?a=endeavor-transport&i=2012-10-13_16-26-22_756.jpg&q=75&wmk=!&dsp=Protected view
    ______________________________________________________

    Which is actually the correct URL to the full-sized image.

    My Apache error log isn't capturing these events, however they are showing up in my access log (blank lines added for readability):
    ______________________________________________________
    166.124.104.60 - - [14/Nov/2012:11:50:39 -0800] "GET /zenphoto/zp-core/full-image.php?a=endeavor-transport&i=2012-10-13_16-26-22_756.jpg&q=75&wmk=!&dsp=Protected%20view HTTP/1.1" 302 - "http://commandpc02:8080/zenphoto/index.php?album=endeavor-transport&image=2012-10-13_16-26-22_756.jpg" "Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0.1"

    166.124.104.60 - - [14/Nov/2012:11:50:39 -0800] "GET /zenphoto%5Cindex.php?album=endeavor-transport&image=2012-10-13_16-26-22_756.jpg HTTP/1.1" 404 216 "http://commandpc02:8080/zenphoto/index.php?album=endeavor-transport&image=2012-10-13_16-26-22_756.jpg" "Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0.1"
    ______________________________________________________

    Any assistance would be greatly appreciated!

    --Robert
  • Semantics actually help you resolve problems more quickly since it allows all of us to be on the same terminology. So it is really best you learn the Zenphoto vocabulary.

    Anyway, What you are showing in the links is not properly urlencoded links. So it is probably your theme or you have too old a version of Zenphoto. Unfortunately, you have not responded to my questions about those elements.
  • Point taken on semantics.

    Your question about the theme and version wasn't posted while I was formulating my post. However, I did mention the name of the themes in my original post, the Zenpage theme and the default theme, which is called "default". I didn't answer the version question, because (like I mentioned) I hadn't actually seen the question, yet:

    Zenphoto version 1.4.3.4 [10988] (Official build)

    In the default theme, I get the "Not found" error. In the Zenpage theme, I get the pop-up window with the words, "This image could not be loaded" displayed.

    I've already posted what shows in the access log.

    Thanks!
  • I am having this exact same issue, exact same errors in my access log, and on chrome just redirects back to default view, on Opera gives me a 404 error "The requested URL /zenphoto\index.php was not found on this server."

    I can manually copy/paste the link and it works fine....
    Zenphoto version 1.4.4.8 [4fd3c047c8] (Official build)
    PHP version: 5.3.3-7+squeeze15
    MySQLi version: 5.1.66

    10.10.10.1 - - [08/Jun/2013:02:42:50 +0000] "GET /zenphoto%5Cindex.php?album=Desktop%20Pictures&image=Game-of-Thrones-Infographic-Full-Screen.png HTTP/1.1" 404 509 "http://10.10.10.151:8000/zenphoto/index.php?album=Desktop Pictures&image=Game-of-Thrones-Infographic-Full-Screen.png" "Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.15"

    Would love any help.
  • acrylian Administrator, Developer
    And when does this happen exactly? What are the full image link setting? Which theme?
Sign In or Register to comment.