[opencms-dev] Scaling an Image automatically

Isaac R. Higgins isaac.higgins at isaacray.com
Mon Feb 26 23:17:19 CET 2007


yes, but half of my users struggle renaming their files correctly, let alone resizing them.  I'd rather my servers run some extra processor cycles than to have to train the users.

-----Original Message-----
From: opencms-dev-bounces at opencms.org on behalf of Volkmar Emberger
Sent: Mon 2/26/2007 4:47 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Scaling an Image automatically
 
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?

Isaac R. Higgins schrieb:

>does the editor do this by default?  Is there a way to force it to if it doesn't?
>
>-----Original Message-----
>From: opencms-dev-bounces at opencms.org 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="http://www.opencms.org/taglib/cms"%>
>...
>
><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
>http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
>  
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>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 --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3849 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070226/82545345/attachment.bin>


More information about the opencms-dev mailing list