Update: I wrote a snippet to work with ResourceSpace API.
- All image/metadata are managed with ResourceSpace (RS)
- All ResourceSpace resources (images and photo sets) can be integrated in MODX with a snippet
- All IPTC / EXIF data can be pushed to MODX
- The snippet can be used to search images from a MODX webiste
- the snippet works with pThumb for image re-sampling and caching
- As the snippet is an adaptation of jsonDerulo, queries can be cached
exemples:
// single RS resource
[[xRS?
&feed=`single`
&tpl=`itpl.xrssingle.img`
&rsid=`148`
&cacheTime=`86400`
&pthumbOptions=`w=1500&h=1000&q=100`
]]
// get works from RS (categories of photo set: features, projects, series, called "themes" in RS)
[[!xRS?
&feed=`getworks`
&tpl=`itpl.xrsphotoset.list`
&rstheme=`project`
&cacheTime=`86400`
&pthumbOptions=`w=100&h=100&q=100&zc=C`
]]
For the moment RS resources ID for images and photo sets are passed with TVs
Obviously I would prefer a nice MODX back end integration allowing image browsing in connection with RS than ID ...
RS
MODX slideshow
Live example available here :
http://photo.jpdn.net
MODX website with all image content coming from RS via xRS snippet
[ed. note: johnxx last edited this post 9 years ago.]