[TYPO3-dam] Showing image/filelink just with typoscript

Jonas Dübi admin at commandline.ch
Fri Jun 1 09:04:35 CEST 2007


Hello Everyone

I'm searching for a way to show images or filelinks out of dam fields 
just with typoscript.

At the moment you need to throw the id with the table trough the DAM get 
reference function. That's ok for your own extension, but in a lot of 
cases you want to show a picture just by typoscript (for example in a 
tt_address or fe_users list) with a IMAGE object. In this case you have 
the content of the fields in $cObj->data and call it by 
yourimage.file.import.data = field:image (or something similar).

Wouldn't it be very cool if I could do something like .data = 
dam_field:image,tt_address?

This would make it easier to change existing typo3 extensions to DAM. 
You would just need to change the field settings in extTables.php or 
ext_tables.php of your x_to_dam extension and modify the extensions 
typoscript.

I think a lot of extension do use typoscript for images and filelinks, 
and if they don't they realy should!

dam_pages has a solution which looks interessting, but it's just for the 
pages media field, and I think there should be a general solution.

I don't wanna make a dam_for_ts extension because I think it should 
realy go into the dam core.

Do give DAM a great future we really need to make it more easy to enable 
dam support for existing/new extension.

Perhaps we also should make how to's, even videos to get all the 
extensions developer to add dam support for their extensions.

Regards
Jonas


More information about the TYPO3-project-dam mailing list