degal/templates/image.html
changeset 74 3bf1adf13fdf
parent 73 8897352630a5
child 75 18b3b1926720
equal deleted inserted replaced
73:8897352630a5 74:3bf1adf13fdf
     1 <%inherit file="master.html" />
       
     2 
       
     3     <div id="image">
       
     4         <h1>${title}</h1>
       
     5         <p>
       
     6 % if prev :        
       
     7             ${h.tag_for_img(prev.html_name, prev.thumb_name)}
       
     8 % endif
       
     9             
       
    10             ${h.tag_for_img(img.name, img.preview_name)}
       
    11             
       
    12 % if next :            
       
    13             ${h.tag_for_img(next.html_name, next.thumb_name)}
       
    14 % endif
       
    15         </p>
       
    16         <p>
       
    17             ${description}
       
    18         </p>
       
    19     </div>
       
    20     <div id="info">
       
    21 % if img_size and file_size and timestamp :    
       
    22       <p>File name: ${filename}</p>
       
    23       <p>Dimensions: ${h.format_imgsize(img_size)}</p>
       
    24       <p>File size: ${h.format_filesize(file_size)}</p>
       
    25       <p>Last modified: ${h.format_timestamp(timestamp)}</p>
       
    26 %   for key, value in exif_data :
       
    27       <p>${key}: ${value}</p>
       
    28 %   endfor
       
    29 % endif   
       
    30 
       
    31       <p>ShortURL: <a href="${shorturl}" rel="nofollow">${shorturl_code}</a></p>
       
    32 % if series_url :      
       
    33       <p><a href="${series_url}" rel="nofollow">${series_verb}</a> series</p>
       
    34 % endif      
       
    35     </div>