Hi,

Is there a building solution about this fonctionality ?
A 1st subject from 2006 : 
http://www.nabble.com/Multiple-images-and-thumbnail-images-td4449827.html#a4451937
Multiple images and thumbnail images 

I havn't seen anything in Jira issue
So, could I create a new feature issue ?

Thanks

Eric



Bruno Busco wrote:
> 
> Johnny,
> thank you for your hint.
> 
> -Bruno
> 
> 2008/7/27 Johnny Kewl <[EMAIL PROTECTED]>
> 
>>
>>
>>
>>  Hi,
>>> does anybody know if there is some mechanism to have a sort of control
>>> on
>>> uploaded image sizes?
>>> I mean, l would like that when I upload a new image for a product ofbiz
>>> automatically generates the small, medium, large and detailed images
>>> scaling
>>> the uploaded image with a fixed dimension regardless of the original
>>> one.
>>>
>>> Many thanks,
>>> Bruno
>>>
>>
>>
>> Bruni, dont know ofBiz but start by playing with something like this...
>>
>>           public Image getScaledImage(ImageIcon myLoadedImageIcon)
>>           {
>>               Image myImage = myLoadedImageIcon.getImage();
>>               Image scaledImage  = myImage.getScaledInstance(height ,
>> height, Image.SCALE_SMOOTH);
>>
>>               return scaledImage;
>>           }
>>
>> Then googling on AWT images will probably get you going...
>>
>> ---------------------------------------------------------------------------
>> HARBOR : http://www.kewlstuff.co.za/index.htm
>> The most powerful application server on earth.
>> The only real POJO Application Server.
>> See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
>> ---------------------------------------------------------------------------
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Automatically-image-resizing-tp18677520p20130304.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to