<table id="message-images" border="0" class="gb" cellpadding="0" align="center" cellspacing="0">
<tr class="top">
<td class="img1"> </td>
<td class="img2"><p>
</p></td>
<td class="img3"> </td>
</tr>
<tr>
<td class="imgL"> </td>
<td> <?
while($list_photo = mysql_fetch_assoc($photo))
{
?>
<div style="background:#FFFFFF; padding:7px; border:2px dashed #EBEBEB; float:left; margin:10px">
<?
if ($c['watermark'] == "no") $img_path = $h."/".$un.$list_photo['photo_name'];
else $img_path = $h."/image.php?type=".$c['watermark_type']."&img=".$un.$list_photo['photo_name'];
$tips = htmlspecialchars($message['title']);
$tooltip_img = "<img src=\'".$h."/".$un.$list_photo['photo_name']."\'>";
?>
<a title="<?=htmlspecialchars($message['title'])?>" href="<?=$img_path?>" rel="thumbnail"><img alt="<?=htmlspecialchars($message['title'])?>" src="<?=$h?>/<?=$us.$list_photo['photo_name']?>"></a>
</div>
<?
}
?>
</td>
<td class="imgR"> </td>
</tr>
<tr class="bottom">
<td class="img1"> </td>
<td class="img2"> </td>
<td class="img3"> </td>
</tr>
</table>
$user_image_og = $h."/image.php?type=".$c['watermark_type']."&img=".$un.$message['photo_name'];
http://сайт/image.php?type=logo&img=upload/normal/
вместо http://сайт/image.php?type=logo&img=upload/normal/56677.jpg
$user_image_og = $h."/image.php?type=".$c['watermark_type']."&img=".$un.$message['photo_name'];
$user_image_og = $h."/image.php?type=".$c['watermark_type']."&img=".$un;
<meta property="og:image" content="http://сайт/image.php?type=logo&img=upload/normal/">