[TYPO3-dam] can anybody show images in RTE with latest DAM?

Jan Wulff news at janwulff.de
Sat Dec 6 23:41:59 CET 2008


I played a bit with tx_dam_tsfeimgtag and I believe, it doesn't have to 
do with the class itself. It's the preUserFunc which breaks the image 
generation:
lib.parseFunc_RTE.tags.img = TEXT
lib.parseFunc_RTE.tags.img.current = 1
lib.parseFunc_RTE.tags.img.preUserFunc = tx_dam_tsfeimgtag-
>renderTxdamAttribute

Even if use an blank class, which just returns the content it gets (which 
is nevertheless empty), the error occurs as soon as I use the preUserFunc 
feature. Is there any other example around, using a preUserFunc at 
lib.parseFunc_RTE.tags?

Best Regards
Jan


Am Sat, 06 Dec 2008 19:26:00 +0100 schrieb stefano cecere:

> ah ah h
> 
> after 30 minutes of tracing i got to the same conclusion and was here to
> post: lib.parseFunc_RTE.tags.img >
> 
> i think that the bug is in class tx_dam_tsfeimgtag
> 
> i have your same doubt: will it break something? anyway now it works!!!
> 
> i guess DAM 1.1 should fix this issue
> 
> and i am wondering people who don't have this problem what kind of
> configuration they have...
> 
> thanks!
> stefano
> 
> 
> Jan Wulff wrote:
>> Hi,
>> 
>> I have the same problem with TYPO3 4.2.4-dev and the latest DAM trunk.
>> I'm using PHP 5.2.5. But I took a look at the DAM code and found, that
>> I can work around the problem, by using this in TS Setup:
>> lib.parseFunc_RTE.tags.img >
>> 
>> Of course this disables the DAM attribute feature in image tags and I'm
>> not sure if this feature is mandatory for another DAM part.
>> 
>> Best Regards
>> Jan
>> 
>> 
>> Am Sat, 06 Dec 2008 14:39:56 +0100 schrieb stefano cecere:
>> 
>>> isntalled 4.2.4dev and latest DAM trunk... nothing
>>>
>>> it's very strange because:
>>>
>>> <p>testo<img
>>> src="http://www2.theworldmarch.org/uploads/
RTEmagicC_alieno_01.jpg.jpg"
>>> height="279" width="300" /></p> <p><img
>>> src="http://www2.theworldmarch.org/uploads/
>> RTEmagicC_adh_richard_stallman_2005.jpg.jpg"
>>> txdam="732" height="100" width="94" /><br /></p>
>>>
>>> teh first image was inserted withoud the dam (with classic image
>>> browser (when i disable dAM for tests) the second has right txdam
>>> property.
>>>
>>> none of the 2 image is shown
>>>
>>>
>>>
>>>
>>>
>>> stefano cecere wrote:
>>>> thansk Ushi i'll try later with 4.2 trunk!!!!
>>>>
>>>> today is brighter now ^_^ ^_^ ^_^
>>>>
>>>> ps: i have the same html code ....
>>>>
>>>> Uschi Renziehausen wrote:
>>>>> Hi stefano,
>>>>>
>>>>> my images do show up in FE. Differences between my and your
>>>>> installation:
>>>>>
>>>>> 1) I am on typo3 4.2dev, and - if I remmember right - one core patch
>>>>> that was needed did not make it into 4.2.3. I do not know whether or
>>>>> not  this has to do with image display in FE. 2) I have Stan's DAM
>>>>> Usage Information Enhancements installed, BT number is #9819.
>>>>>
>>>>> If both does not help, there might be a configuration error in your
>>>>> installation we need to explore and to explain to others who might
>>>>> run into the same trouble.
>>>>>
>>>>> In my installation a magic image looks like this in db: <img
>>>>> title="Titel: " src="uploads/RTEmagicC_seasons1_03.jpg.jpg"
>>>>> txdam="534" width="296" height="358" alt="" />
>>>>>
>>>>> <img
>>>>> src="fileadmin/templates/images/typo3docs/screenshots/
>> Bildeigenschaften-im-RTE.png"
>>>>> width="435" height="244" txdam="827" alt="" />
>>>>>
>>>>> Uschi
>>>>>
>>>>>
>>>>> stefano cecere wrote:
>>>>>> the media tag works well for likned files/media
>>>>>>
>>>>>> but when i insert an image, it gets shown in the BE, but Nothing in
>>>>>> the FE.
>>>>>>
>>>>>> i tried avery kind of combination ... dam_ttcontent on/off.
>>>>>>
>>>>>> using typo3 4.2.3, php 5.2.7
>>>>>>
>>>>>>
>>>>>> ps: i really hate to debug typo3 odd behaviours! :)
>>>>>>
>>>>>> stefano
>>



More information about the TYPO3-project-dam mailing list