This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

How Can Thumbnail image options be set?

Forum to discuss ExtJS and other JS plugins

How Can Thumbnail image options be set?

by saiena » Fri Aug 08, 2008 11:38 pm

I want to display a thumnail image which, when clicked, opens a large image in the lightbox overlay.

I have code like this:

echo light_image(
$thumbnail_filespec,
$large_image_filespec,
$image_options);

I can find no way to pass options to the thumbnail. I tried the following, but no luck:

$thumnail_info = array(src'=>$thumbnail_filespec, 'width'=>$thumb_width, 'height'=>$thumb_height)
);
echo light_image(
$thumbnail_info,
$large_image_filespec,
$image_options);
saiena
Junior Member
 
Posts: 13
Joined: Mon Oct 08, 2007 6:43 pm