Can't link to full size image

On my local test setup I have ZP with an album of thumbnails, click a thumbnail and it takes you straight to the full size image (not the images.php page). I intend to use Thickbox to pull the image into a popup as we've all seen a million times.

However, I've just put the exact same custom theme up on the live site and for some reason the links that should go directly to the full size image itself are trying to go to the images.php file. So instead of getting the image I get an error page stating it can't find the images.php file, if I put this file into the themes folder it takes me to that page. But even when I'm on that page if I click the image to view it full size on it's own, it just circles back to that (images.php) page.

Can anyone suggest what might be going on here? The local and live themes are both exactly the same, except it works locally and does this strange thing on the live server. I've also checked the options to make sure they're identical, and they are.

Comments

  • acrylian Administrator, Developer
    The only thing that I could currently think of is that your theme uses `<?php echo getProtectedImageURL();?>` instead of `<?php echo getFullImageURL();?>`. Could you please check that?
  • Ah ha thanks, I am using `<?php echo getFullImageURL();?>` in the theme but "Protect full image:" was checked in the admin options.
  • If you use `getUnprotectedImageURL()` you will have the direct link to the full image no matter what the option settings are.

    As for the linking back to the image page, that is a problem that has been corrected by adding an option to disable external linking protection. This change is in the nightly builds.
Sign In or Register to comment.