Hello
I'm not good at it but I like it.
To activate ImageMagnify have to upload code:
<img src="ocean.gif" class="magnify" style="width:200px;height:150px" />
or
<img src="forest.gif" class="magnify" border="0" />
So ImageMagnify script need to fit in to script below. There is no photo name like "ocean.gif" it must be linked by ID. It's users photos.
Any help or advise please.
Thank you
PHP Code:</td></tr></table>
<?php
if (@mysql_num_rows($pres))
{
$i = 0;
?>
<table class="postpics" width="100%"><tr><td> <!-- Version 5.0 -->
<?php
while ($row = mysql_fetch_array($pres))
{
$i++;
$imgsize = GetThumbnailSize("{$datadir[adpics]}/{$row[picfile]}", $images_max_width, $images_max_height);
?>
<img src="<?php echo "{$datadir[adpics]}/{$row[picfile]}"; ?>" id="adimg<?php echo $i; ?>" width="<?php echo $imgsize[0]; ?>" height="<?php echo $imgsize[1]; ?>"><br><br>
<?php
}
?>
</td></tr></table>
<?php
$imgcnt = $i;
}
?>




Reply With Quote

Bookmarks