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