plugins/gallery/viewimage.php
changeset 19 08bf8aa2f0ab
parent 18 c1c398349651
child 22 593180f9eea9
equal deleted inserted replaced
18:c1c398349651 19:08bf8aa2f0ab
   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 )