plugins/gallery/viewimage.php
changeset 21 0475c9ed1386
parent 19 08bf8aa2f0ab
child 22 593180f9eea9
equal deleted inserted replaced
20:d8a281557365 21:0475c9ed1386
   287   
   287   
   288   echo '<div style="text-align: center; margin: 10px auto; border: 1px solid #DDDDDD; padding: 7px 10px; display: table;">';
   288   echo '<div style="text-align: center; margin: 10px auto; border: 1px solid #DDDDDD; padding: 7px 10px; display: table;">';
   289   $img_url  = makeUrlNS('Special', 'GalleryFetcher/preview/' . $img_id);
   289   $img_url  = makeUrlNS('Special', 'GalleryFetcher/preview/' . $img_id);
   290   $img_href = makeUrlNS('Special', 'GalleryFetcher/full/' . $img_id);
   290   $img_href = makeUrlNS('Special', 'GalleryFetcher/full/' . $img_id);
   291   
   291   
   292   echo '<div snapr:imgid="' . $img_id . '"><img alt="Image preview (640px max width)" src="' . $img_url . '" id="snapr_preview_img" style="border-width: 0; margin-bottom: 5px; display: block;" /></div>';
   292   echo '<div snapr:imgid="' . $img_id . '" style="width: 1px;"><img alt="Image preview (640px max width)" src="' . $img_url . '" id="snapr_preview_img" style="border-width: 0; margin-bottom: 5px; display: block;" /></div>';
   293   
   293   
   294   echo '<table border="0" width="100%"><tr><td style="text-align: left; width: 24px;">';
   294   echo '<table border="0" width="100%"><tr><td style="text-align: left; width: 24px;">';
   295   
   295   
   296   // Prev button
   296   // Prev button
   297   if ( $prev )
   297   if ( $prev )