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

Bernd Wolfsegger bw at code-create.com
Fri May 27 11:38:55 CEST 2005


On Friday 27 May 2005 10:48, Daniel Wiesner wrote:
> 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.

No, have a look into the controlcode. It's the same.

>
> 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