Closed (duplicate)
Project:
Image
Version:
6.x-1.0-alpha4
Component:
image_import
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2009 at 16:54 UTC
Updated:
6 Mar 2009 at 00:14 UTC
I added one line to show a thumbnail of the images to be imported with Image_Import. To wit:
$form['files']['dimensions'][$index] = array(
'#type' => 'item',
'#value' => $file->width .'x'. $file->height,
'#suffix' => '<img src="'. base_path() . $file->filename . '" height="50px" />', //creates thumbnail for imported images before node creation
);
Please comment and/or test.
Comments
Comment #1
neoliminal commentedI realized I didn't add enough information. New to patches and such.
file:
image_import.pages.inc
Line number 74-78...
Adding the line starting '#suffix' will put a thumbnail 50px in height under the height and width in that column.
Comment #2
neoliminal commentedComment #3
sunMarking as duplicate of #232557: image import - Show image thumbnails for easier title naming