[opencms-dev] Creating Images

Andras Balogh andras at reea.net
Thu Oct 14 10:58:47 CEST 2004


Hello,

    I have done something similar: when a certain property(ex. NavText) 
is set on a page i
automatically generate the image, publish it and set  another property 
NavTextImg on the same page.
After this i can use the NavTextImg property as a reference where the 
image is.
Unfortunalty i haven't find a way doing this without changing in opencms 
core class:
com.opencms.workplace.CmsProperty

Best regards,
Andras.

Daniel Wiesner wrote:

> Hello,
>
> in have a servlet that generates images with non standard fonts for 
> the navigation in level one. In opencms i put the image reference like 
> that:
>
> <img
>    src="/imageServlet?text=<cms:property name="Title" 
> escapeHtml="true" />"
>    alt="<cms:property name="Title" escapeHtml="true" />"
>
> />
>
> Now i wont to save server resources. Does anybody   know how to 
> integrate the imagecreation in the publishing process of opencms?
>
> Daniel
>
>
>
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>




More information about the opencms-dev mailing list