<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Raúl Lorenzo escribió:
<blockquote cite="mid45E2D177.3080005@altia.es" type="cite">Hello,
<br>
<br>
Is there any way to present an image in a JSP scaled?
<br>
<br>
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.
<br>
<br>
Thanks
<br>
<br>
_______________________________________________
<br>
This mail is sent to you from the opencms-dev mailing list
<br>
To change your list options, or to unsubscribe from the list, please
visit
<br>
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a>
<br>
<br>
</blockquote>
Just use the width and height attributes on the <img> tag to
custom the image resolution.<br>
<br>
Regards.<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="firma_archivos/filelist.xml">
<title>David PÉREZ CAMARENA</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>David Pérez</o:Author>
<o:LastAuthor>David Pérez</o:LastAuthor>
<o:Revision>4</o:Revision>
<o:TotalTime>8</o:TotalTime>
<o:Created>2007-02-15T12:16:00Z</o:Created>
<o:LastSaved>2007-02-15T12:22:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>44</o:Words>
<o:Characters>243</o:Characters>
<o:Company>Aubay Isalia</o:Company>
<o:Lines>2</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>286</o:CharactersWithSpaces>
<o:Version>11.5606</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Print</w:View>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:DoNotHyphenateCaps/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas>false</w:ValidateAgainstSchemas>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>fal
se</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotUnderlineInvalidXML/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tabla normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
<div class="Section1">
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">David
PÉREZ CAMARENA</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Programador</span></p>
<p class="MsoNormal" style=""><strong><span style="color: red;">@</span><span
class="SpellE"><span style="color: black;">ubay</span></span><span
style="color: black;"> </span></strong></p>
<p class="MsoNormal" style=""><strong><span
style="font-size: 7.5pt; font-family: Verdana; color: red;">Delegación en
Andalucía</span></strong></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Parque
Tecnológico de Andalucía</span></p>
<p class="MsoNormal" style=""><span class="SpellE"><span
style="font-size: 7.5pt; font-family: Verdana;">Avda</span></span><span
style="font-size: 7.5pt; font-family: Verdana;">. Juan López Peñalver,
17<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">29590
Campanillas (Málaga)</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Teléfono
+34 952 020 671<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Fax
+34 952 020 671</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;"><a
href="http://www.aubay.com/" title="http://www.aubay.com/">www.aubay.com</a></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>