Error Message:
Warning: getimagesize(http://roflsearch.com/rofl/4846.jpg) [function.getimagesize]: could not make seekable - http://roflsearch.com/rofl/4846.jpg in /home/zomgli5/public_html/roflsearch.com/index.php on line 142
The site displays random images, and the urls that are pulled pertaining to each image is saved on a database. The problem I'm having is that the bar above the image should be the width of the image, but for whatever reason the code i'm using just stopped working out of the blue.
Code: Select all
<a id="img" href="http://roflsearch.com?img=<?php echo $next;?>">
<div id="click" style="width:<?php list($width, $height) = getimagesize($rows['url']);
echo $width;?>px;"><h5><?php list($width, $height) = getimagesize($rows['url']);
if($width < 280)
echo "Click";
else
echo "Click or Browse For Another Random Image";
?></h5></div></a>Note: $rows is simply the variable I assigned to the query pulling the image url from the database