Changeset 1615 for trunk/templates/show_album_art.inc.php
- Timestamp:
- 07/06/08 20:50:47 (6 months ago)
- Files:
-
- 1 modified
-
trunk/templates/show_album_art.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/show_album_art.inc.php
r1518 r1615 34 34 $key = $i*4+$j; 35 35 $image_url = Config::get('web_path') . '/image.php?type=session&image_index=' . $key; 36 $dimensions = Core::image_dimensions(get_image_from_source($_SESSION['form']['images'][$key])); 36 37 if (!isset($images[$key])) { echo "<td> </td>\n"; } 37 38 else { 38 39 ?> 39 40 <td align="center"> 40 <a href="<?php echo $image_url; ?>" target="_blank"> 41 <img src="<?php echo $image_url; ?>" alt="Album Art" border="0" height="175" width="175" /><br /> 42 </a> 41 <a href="<?php echo $image_url; ?>" target="_blank"><img src="<?php echo $image_url; ?>" alt="Album Art" border="0" height="175" width="175" /></a> 42 <br /> 43 43 <p align="center"> 44 [<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&image=<?php echo $key; ?>&album_id=<?php echo urlencode($_REQUEST['album_id']); ?>">Select</a>] 44 <?php if (is_array($dimensions)) { ?> 45 [<?php echo intval($dimensions['width']); ?>x<?php echo intval($dimensions['heigh']); ?>] 46 <?php } ?> 47 [<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&image=<?php echo $key; ?>&album_id=<?php echo intval($_REQUEST['album_id']); ?>">Select</a>] 45 48 </p> 46 49 </td>
