[SPAM] Re: [opencms-dev] Scaling an Image automatically

Volkmar Emberger volkmar.emberger at e-tecture.com
Mon Feb 26 14:50:44 CET 2007


that won't solve the problem the browser will load the big file and then 
resize it.
look at the  cms:img tag and use the scaling options.

hand
volkmar

David Pérez Camarena schrieb:

> Raúl Lorenzo escribió:
>
>> Hello,
>>
>> Is there any way to present an image in a JSP scaled?
>>
>> Ex. I have a 2Mbytes jsp image. I want view the image but I don´t 
>> want to download the 2Mb, I only need to see the image in a low/high 
>> resolution depending the case and the image is stored once in OpenCMS 
>> database.
>>
>> Thanks
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please 
>> visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
> Just use the width and height attributes on the <img> tag to custom 
> the image resolution.
>
> Regards.
>
> -- 
>
> David PÉREZ CAMARENA
>
> Programador
>
> *@ubay *
>
> *Delegación en Andalucía*
>
> Parque Tecnológico de Andalucía
>
> Avda. Juan López Peñalver, 17
>
> 29590 Campanillas (Málaga)
>
> Teléfono +34 952 020 671
>
> Fax         +34 952 020 671
>
> www.aubay.com <http://www.aubay.com/>
>
>  
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>This mail is sent to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://lists.opencms.org/mailman/listinfo/opencms-dev
>

-- 


Mit freundlichen Grüßen

Volkmar Emberger
Diplomand

e-tecture GmbH
Hirschstraße 2
76133 Karlsruhe

Phone: +49 721 570458-17
Fax: +49 721 1205468
e-mail: volkmar.emberger at e-tecture.com 
<mailto:volkmar.emberger at e-tecture.com>
www.e-tecture.com <http://www.e-tecture.com>

Geschäftsführer: Christian Schwab
Die Gesellschaft ist eingetragen beim Registergericht Frankfurt
(Sitz der Gesellschaft) Nr. HRB 56449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070226/5139068c/attachment.htm>


More information about the opencms-dev mailing list