Changeset 16637 for extensions/community/admin_pendings.php
- Timestamp:
- Jul 12, 2012, 12:33:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/community/admin_pendings.php
r9453 r16637 131 131 i.id, 132 132 path, 133 tn_ext,134 133 date_creation, 135 134 name, … … 141 140 width, 142 141 height, 143 has_high, 144 high_filesize, 142 rotation, 145 143 146 144 '.$conf['user_fields']['username'].' AS username … … 192 190 foreach ($rows as $row) 193 191 { 194 $thumb = get_thumbnail_url( 195 array( 196 'id' => $row['image_id'], 197 'path' => $row['path'], 198 'tn_ext' => @$row['tn_ext'] 199 ) 200 ); 201 192 $src_image = new SrcImage($row); 193 $thumb_url = DerivativeImage::url(IMG_THUMB, $src_image); 194 $medium_url = DerivativeImage::url(IMG_MEDIUM, $src_image); 195 202 196 // file properties 203 197 $dimensions = null; … … 231 225 'U_EDIT' => get_root_url().'admin.php?page=picture_modify&image_id='.$row['image_id'], 232 226 'ID' => $row['image_id'], 233 'TN_SRC' => $thumb ,234 ' WEBSIZE_SRC' => $row['path'],227 'TN_SRC' => $thumb_url, 228 'MEDIUM_SRC' => $medium_url, 235 229 'ADDED_BY' => $row['username'], 236 230 'ADDED_ON' => format_date($row['added_on'], true), 237 'NAME' => get_image_name($row['name'], $row['file']),231 'NAME' => $row['name'], 238 232 'DIMENSIONS' => $dimensions, 239 233 'FILE' => $row['file'],
Note: See TracChangeset
for help on using the changeset viewer.