[opencms] Re: [opencms-dev] can opencms store pictures in diff sizes

Daniel Wiesner daniel.wiesner at av-studio.de
Fri May 27 11:30:21 CEST 2005


Thank you so much!

I did id wrong:

<img src="<cms:link><cms:contentshow element="Image" 
/></cms:link>?width=100"


Daniel




Stephan Hartmann schrieb:

> Daniel Wiesner schrieb:
>
>>
>> I beleeve in xml-content links and images  are just Strings 
>> containing the vfs path.
>>
>
> Yes, but in a template that evaluates the xml-content i use it like that:
>
> <img src="<cms:link><cms:contentshow element="Image" 
> />?width=100</cms:link>" alt="" />
>
> and it works.
>
> Regards,
> Stphan
>
>> 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
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>





More information about the opencms-dev mailing list