Changeset 15651

Show
Ignore:
Timestamp:
03/16/08 13:33:29 (4 months ago)
Author:
flack
Message:

add a missing mime-type and display results with correct aspect ratio

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/MidCOM_2_8/midcom.helper.imagepopup/style/midcom_helper_imagepopup_search_result_item.php

    r15175 r15651  
    1111            case 'image/png': 
    1212            case 'image/jpeg': 
     13            case 'image/pjpeg': 
    1314            case 'image/gif': 
    1415                break; 
     
    2728?> 
    2829    <a href='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
    29         <img src='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);' width='75' height='54' align='texttop' /> 
     30        <img src='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);' height='54' align='texttop' /> 
    3031    </a> 
    3132    <a href='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
    3233        <span title="name">&(item.name);</span> 
    3334    </a> 
    34 <?php     
     35<?php 
    3536} 
    3637else 
     
    4142        <span title="name">&(item.name);</span> 
    4243    </a> 
    43 <?php     
     44<?php 
    4445} 
    4546?>