[opencms-dev] Scaling an Image automatically
David Pérez Camarena
dperez at aubay.es
Mon Feb 26 14:29:19 CET 2007
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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070226/e22f5282/attachment.htm>
More information about the opencms-dev
mailing list