<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Verdana">but isn't it better to save the images in every
scale (thumb, big, small,...) in the DB, than rescale it on every
imageload on the website?<br>
</font><br>
Isaac R. Higgins schrieb:
<blockquote
cite="mid8119B1EC8E920743B0DA581F5C338150018A8C@schizo00.isaacray.com"
type="cite">
<pre wrap="">does the editor do this by default? Is there a way to force it to if it doesn't?
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> on behalf of Christoph Schönfeld
Sent: Mon 2/26/2007 10:46 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Scaling an Image automatically
Here is an example showing the use of server-side image scaling to
100x75 px in combination with the contentload tag:
<%@ taglib prefix="cms" uri=<a class="moz-txt-link-rfc2396E" href="http://www.opencms.org/taglib/cms">"http://www.opencms.org/taglib/cms"</a>%>
...
<cms:contentload ...>
<cms:img width="100" height="75" border="0">
<cms:param name="src">
<cms:contentshow element="TeaserPicture"/>
</cms:param>
</cms:img>
</cms:contentload>
The src attribute must be an absolute URL.
If you do not use contentload you can also inline the src attribute
instead of defining it in the cms:param tag.
Best regards,
Christoph
_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a>
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<span
style="font-family: verdana,tahoma,arial; font-size: 10px; color: rgb(153, 153, 153);">
<br>
<br>
Mit freundlichen Grüßen<br>
<br>
Volkmar Emberger<br>
Diplomand<br>
<br>
e-tecture GmbH<br>
Hirschstraße 2<br>
76133 Karlsruhe<br>
<br>
Phone: +49 721 570458-17<br>
Fax: +49 721 1205468<br>
e-mail: <a href="mailto:volkmar.emberger@e-tecture.com"
style="color: rgb(160, 20, 20);">volkmar.emberger@e-tecture.com</a><br>
<a href="http://www.e-tecture.com" style="color: rgb(160, 20, 20);">www.e-tecture.com</a><br>
<br>
Geschäftsführer: Christian Schwab<br>
Die Gesellschaft ist eingetragen beim Registergericht Frankfurt<br>
(Sitz der Gesellschaft) Nr. HRB 56449
</span></div>
</body>
</html>