Changeset 3490


Ignore:
Timestamp:
07/01/09 23:06:55 (11 years ago)
Author:
vdigital
Message:

Reverse of 3484

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/category_default.inc.php

    r3484 r3490  
    104104        array('start') 
    105105      ); 
    106   $tn_src = get_thumbnail_url($row); 
    107   list($tn_width, $tn_height, $tn_type) = @getimagesize($tn_src); 
     106 
    108107  $tpl_var = 
    109108    array( 
    110109      'ID'        => $row['id'], 
    111       'TN_SRC'    => $tn_src, 
     110      'TN_SRC'    => get_thumbnail_url($row), 
    112111      'TN_ALT'    => $row['file'], 
    113112      'TN_TITLE'  => get_thumbnail_title($row), 
     
    128127      'FILE_HAS_HD' => ($row['has_high'] and $user['enabled_high']=='true') ? 
    129128                true:false, /* lack of include/functions_picture.inc.php */ 
    130       'FILE_TN_WIDTH'  => $tn_width,  
    131       'FILE_TN_HEIGHT' => $tn_height,  
    132       'FILE_TN_TYPE'   => $tn_type,  
    133129    ); 
    134130 
Note: See TracChangeset for help on using the changeset viewer.