Save name of second image Thumbnail

See all posts Reply

Save name of second image Thumbnail new!
by Moises, 16 years, 5 months ago
Hi, i have a question... How i save the name of the second Image (thumbnail)

I create 2 images
$handle->Process("$template_dir");
$handle->file_max_size = '102400'; // 1KB
$handle->allowed = array('image/*');
$handle->image_resize = true;  
$handle->image_x = 100;  
$handle->image_ratio_y = true;
$handle->Process("$template_dir");
$handle->Process("$template_dir");

when i proccess

$names[] = $handle->file_dst_name;

I keep the name of image, but how i keep name of thumbnail?

regards.Reply
Re: Save name of second image Thumbnail new!
by colin, 16 years, 5 months ago
You can read $handle->file_dst_name; between each call to Process(). The "dst" variables are reset for each call to Process().Reply