[opencms] Re: [opencms-dev] can opencms store pictures in diff sizes
Daniel Wiesner
daniel.wiesner at av-studio.de
Fri May 27 10:48:16 CEST 2005
Stephan,
ok it works for pages. But I have I xml-content page using
<cms:contentload ... it doesn't
Unfortunatly xml-content handles links and images in a different way to
normal pages. In pages exists a section links wich is used for rendering
in the rfs.
<links>
<link name="link0" type="IMG" internal="true">
<target><![CDATA[/sites/sita/files/images_alt/02_gh_gesch_bq.jpg]]></target>
<query><![CDATA[width=100]]></query>
</link>
</links>
I beleeve in xml-content links and images are just Strings containing
the vfs path.
Daniel
Stephan Hartmann schrieb:
> Hi Daniel,
>
> static export should work by default. Just make sure that the export
> property is true or empty and not overwritten by a parent folder.
>
> Regards,
> Stephan
>
>
> Daniel Wiesner schrieb:
>
>> Stephan,
>>
>> caching works fine. I'm going to use your module in a life site
>> (launch is monday).
>>
>> Is there also a way to export the scaled images like jsp with params?
>>
>> images/logo.gif?width=150 =>
>> /export/site/siteA/images/logo.gif_53917214.gif
>>
>> regards
>> Daniel
>>
>> Stephan Hartmann schrieb:
>>
>>> Hi Daniel,
>>>
>>> i have put an updated version on
>>> http://www.metamesh.de/opencms/opencmsmodules/imageops/index.html
>>>
>>> it should support now caching in the flex cache. Don't forget to set
>>> the cache property for params on the image files. You can see the
>>> cached variants under flex administration if you are in the online
>>> project.
>>> Also keep in mind that the export property for image files defaults
>>> to true.
>>>
>>> Regards,
>>> Stephan
>>>
>>>
>>> Wiesner, Daniel schrieb:
>>>
>>>> stephan,
>>>>
>>>> looks good. but how is caching implemented? If I use no static
>>>> export is the imagemanipulation done everytime?
>>>>
>>>> Daniel
>>>>
>>>>
>>>>
>>>> Stephan Hartmann schrieb:
>>>>
>>>>> Hi,
>>>>>
>>>>> i am currently working on a resource loader for OpenCms image
>>>>> files that lets you resize images on-the-fly.
>>>>> It supports flex cache and also static export (however with wrong
>>>>> file extension in the rfs).
>>>>>
>>>>> I made my current working version available under
>>>>> http://www.metamesh.de/opencms/opencmsmodules/imageops/index.html
>>>>>
>>>>> Any comments are welcome.
>>>>>
>>>>> Regards,
>>>>> Stephan
>>>>>
>>>>> --
>>>>> Stephan Hartmann
>>>>> metamesh
>>>>> www.metamesh.de
>>>>>
>>>>>
>>>>> Am Freitag 06 Mai 2005 14:25 schrieb Jorge González:
>>>>>
>>>>>
>>>>>> It would be nice to refresh the thumbnail at publish time,
>>>>>> reading que
>>>>>> "refresh=true" from a content parameter or anything like that.
>>>>>>
>>>>>> I didn'd do that, let me know if you do. Thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>
>
>
--
-----------------------------------------------------------
AV-Studio Kommunikationsmedien GmbH Halle
Kurallee 13, D-06114 Halle (Saale)
Fon: +49 (0345) 20 999 -0 * Fax: +49 (0345) 20 999 -20
email: office at av-studio.de * http://www.av-studio.de
-----------------------------------------------------------
More information about the opencms-dev
mailing list