Hello Hartmut

I remember having the same problem too, it is caused by a bug in RC2,
the class name of the tag in the TLD is wrong.

This should already be fixed for the next release, as they told me,
however in RC" you have to fix this by hand:

To use this tag please correct the following by hand:

Locate the file 
magnolia-taglib-utility\src\main\resources\META-INF\cms-util-taglib.tld

And change the package name of the scaled image tag:
>From Invalid: 
<tag-class>info.magnolia.cms.taglib.util.ScaleImageTag</tag-class> 

To valid: 
<tag-class>info.magnolia.cms.taglibs.util.ScaleImageTag</tag-class>

After this I was able to use it.


However I still had problems as I wrote in my mails, because I cannot
access the image data correctly. 

I hope I could help you with this



Cheers

Claudio

***********************************************
IPH Informatik AG
Herr Claudio Greuter
Lagerhausstrasse 9
8400 Winterthur
Tel: +41 (052) 233 94 72
Fax: +41 (052) 233 94 71
[EMAIL PROTECTED]
***********************************************

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 31. August 2006 13:14
To: [email protected]
Subject: Re: [magnolia-user] Scaled Image Tag

Hello Magnolians and Claudio,

I read the mail from Claudio and thought: Hey, I have the same  
problem to solve: writing out a scaled image! And whow, in 3.x there  
is a tag for this problem.

Here is the ERROR code, after I tried to use it. It seems, that the  
tag is not in the downloaded Version?!


ERROR  info.magnolia.cms.taglibs.Include 31.08.2006 12:56:21 --  
Unable to load tag handler class  
"info.magnolia.cms.taglib.util.ScaleImageTag" for tag "cmsu:scaleImage"
org.apache.jasper.JasperException: Unable to load tag handler class  
"info.magnolia.cms.taglib.util.ScaleImageTag" for tag "cmsu:scaleImage"


uri: cms-util-taglib
  is loaded in the head of my JSP, as you can see:

<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page";  
xmlns:cms="urn:jsptld:cms-taglib"
     xmlns:cmsu="urn:jsptld:cms-util-taglib"  
xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core";>

Am 30.08.2006 um 12:12 schrieb Claudio Greuter:

> Hello Magnolians,
>
> Today I took another look at the scale image tag that comes with
> magnolia 3rc2.
>
> I did not manage to get it to work, and I do not know how to check if
> the image is really scaled and created or which path I have to use.
>
> If anyone has a working example I could take a look at this would be
> great.
>
> Thanks in advance
>
> Claudio
>
>
>
> ***********************************************
> IPH Informatik AG
> Herr Claudio Greuter
> Lagerhausstrasse 9
> 8400 Winterthur
> Tel: +41 (052) 233 94 72
> Fax: +41 (052) 233 94 71
> [EMAIL PROTECTED]
> ***********************************************
>
>
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------
>


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to