[opencms-dev] Creating Images
Daniel Wiesner
daniel.wiesner at av-studio.de
Thu Oct 14 12:16:36 CEST 2004
I use opencms 6.0 alpha an ther is only an org.opencms.file.CmsProperty.
I am not sure if that Class is the rightt entry.
Did you put the logic in the Constructor?
Daniel
Andras Balogh schrieb:
> 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
>>
>
>
>
> _______________________________________________
> 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