[TYPO3-dam] Showing image/filelink just with typoscript
Peter Klein
peter at umloud.dk
Fri Jun 1 16:03:38 CEST 2007
Hi Jonas. I wrote a small userfunction a couple days ago that can get info
from the DAM records using Typoscript, as I needed a way to set the
title/alt attributes of the image, to the content of the DAM records
alt/title field.
If you are interested, I can send you a copy?
--
Peter Klein/Umloud Untd
"Jonas Dübi" <admin at commandline.ch> skrev i en meddelelse
news:mailman.1.1180681482.25802.typo3-project-dam at lists.netfielders.de...
> 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