Jump to content

picture viewer


Porkie

Recommended Posts

$sql = mysql_query("SELECT * FROM  ORDER BY RAND() LIMIT 7");

echo '<table><tr>';
while ($row = mysql_fetch_array($sql)) {
     echo '<td>';
     echo '<a href="http://www.getrecognized.co.uk/Newdirectory/video.php?id='.$row['id'].'" target="_blank"<img src="http://img.youtube.com/vi/'.$row['videoid'].'/default.jpg"width="120" height="100"/>';
 echo '<br>';
 echo $row['name'];
}
echo '</tr></table>';

 

i have this code which show 7 images with width 120 and height 100 however i basically want then to go from a smaller size and gradually get larger like a ratio sort of thing , is this possible?

 

cheers

Link to comment
https://forums.phpfreaks.com/topic/163175-picture-viewer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.