Changeset 23590 for extensions/download_by_size/action.php
- Timestamp:
- Jun 27, 2013, 3:30:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/download_by_size/action.php
r23324 r23590 131 131 132 132 // change the name of the file for download, suffix with _widthxheight before the extension 133 $basename = get_filename_wo_extension($element_info['file']); 134 $extension = get_extension($element_info['file']); 135 $element_info['file'] = $basename.'_'.$size[0].'x'.$size[1].'.'.$extension; 133 $element_info['file'] = dlsize_getFilename( 134 $element_info, 135 array( 136 'width'=>$size[0], 137 'height'=>$size[1] 138 ) 139 ); 136 140 } 137 141 else
Note: See TracChangeset
for help on using the changeset viewer.