<?php
  
//Определяем ширину и высоту изображения
$xy = GETIMAGESIZE(ROOT.'/files/upload/photos/source/'.$photo['ID'].'.'.$photo['EXT']);  
$width = $xy[0]; 
$height = $xy[1];

ECHO "<span class='btn-size-photo'>".$height."x".$width."</span>";
  
?><a href="/photo/source/<?=$id_dir?>/<?=$photo['ID']?>/" class="btn-request-likes-photo" style="top: 10px; left: 10px;" load="none"><span style='position: relative; top: 1px;'><?=ICONS('download', 18, 'fa-fw')?></span></a><?

?>