View Single Post
Old September 4th, 2005, 09:13 AM   #7 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
There is no issue here I see

Here is the code I have in showcat.php

$checklink = "{$Globals['datafull']}$pcat/$tuserid$filename$theext";

if ( file_exists($checklink) ) {
$image_stats = @getimagesize( $checklink );
$width = $image_stats[0];
$height = $image_stats[1];
}


$catimage = get_thumbtmpl( $id, $thumbrc, $height, $width, $checklink, $pcat );

$gallery['hasimage'][$count] = "$catimage";

This just gets the width and height of an image IF IT EXISTS. The proper variables are passed

Also the very page you are linking works entirely correct as the links all work so where is your issue. The only problem I see on the whole page is you just debugging things
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote