[TYPO3-dam] retrieve images from an exported selection (for a frontend plugin)

René Fritz r.fritz at colorcube.de
Thu Mar 22 18:38:16 CET 2007


Hi

In the final 1.1 there will be an API to make this easy with just a few lines. 
For now it's a bit more code. (Example sent to Fabien)

René


On Thursday 22 March 2007 10:27:31 Fabien Udriot wrote:
> The possibility to export a selection of medias in the dam backend is a
> very useful feature for me.
>
> But, now I am trying to retrieve theses images in a frontend plugin.
>
> How can I do that *using the Dam API* ? That's what I am working on.
>
> I try to understand in the source code of the DAM how is it possible to
> convert a selection definition (which is serialized as string) into a
> Recordset of images.
>
> EXEMPLE OF A SELECTION DEFINITION :
>
> a:2:{s:6:"SELECT";a:1:{s:11:"txdamFolder";a:1:{s:66:"/home/Sites/fileadmin/
>user_upload/images/moto/";s:1:"1";}}s:3:"NOT";a:1:{s:12:"txdamRecords";a:0:{
>}}}
>
>
> Does anybody as a exemple or an idea how to manage this ?
> _______________________________________________
> TYPO3-project-dam mailing list
> TYPO3-project-dam at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-dam



-- 
COLORCUBE
digital media lab

www.colorcube.de


More information about the TYPO3-project-dam mailing list