My album works fine, but when I get to the image.php page and click on the image for the bigger picture, the photo does not show up. I did notice that the paths were incorrect. Within the URL the /albums/ is not displaying.
For example:
Here is a broken url:
http://nezik.com/boudyphotos/zenphoto/niagra_falls/2007_0714ConferencePhotos20086.JPGIt should be:
http://nezik.com/boudyphotos/zenphoto/albums/niagra_falls/2007_0714ConferencePhotos20086.JPG
I tried to go to the image.php page, but I could not edit it because the url is pulled from <?php echo getFullImageURL();?>
Is there a way I can fix this?
Thank You
Comments
I'm sorry, I was referring to when you click the picture on that page. You get this link: http://nezik.com/boudyphotos/zenphoto/niagra_falls/index.php?album=niagra_falls&image=2007_0714ConferencePhotos20086.JPG
@sbillard,
I don't think full-image.php would be under the zp-core folder. I have the newest default template that came with 1.1.5. So this should be pulling from image.php within zenphoto > themes > default
Yes, full-image.php is within the zp-core directory.
`/* Prevent hotlinking to the full image from other servers. */
$server = $_SERVER['SERVER_NAME'];
$test = strpos($_SERVER['HTTP_REFERER'], $server);
if ( $test == FALSE ) { /* It seems they are directly requesting the full image. */
$image = 'index.php?album='.$_zp_current_album->name . '&image=' . $_zp_current_image->name;
header("Location: {$image}");
exit();
}`
and try to access the bigger picture. If this works, we will need to know about the server setup. These lines, as the comment says, are testing to see if someone is trying to link your image from a place different from zenphoto.
The odd thing is that sbillard, using IE7, is having the same problem on your server, but not on his own. So I am wondering about your server configuration. Are you using IIS or Apache? Is the server behind a firewall or proxy?