[TYPO3-english] 4.2.12 text with image pdf issue was: Re: upgrade from 3.8.1 to 4.2.12 - experiences to share and some questions

Eliott eliott100 at gmail.com
Thu May 20 17:33:15 CEST 2010


Hi!

not exactly. What my users used to do:
1.) create text/image.
2.) than select a pdf file at the images section. (the thumbnail appears 
as if I had selected a normal image)
3.) select link and enter an url at the link section (we link here to 
the same pdf in most cases)

behavior with 3.8.1 and expected behavior:
The text section will have the pdf thumbnail as image which is 
clickable. We use this as a shortcut of including some pdf documents 
with the text quickly. the link destination is the same pdf as the one 
selected for the image. since a link is selected, there is no image popup.

I would have exepected the same for 4.x as it allow you to select pdfs 
instead of images for text with image. with 4.x however, you get an 
erroneous markup:
 >>>> <div class="csc-textpic-imagewrap"><dl class="csc-textpic-image
 >>>> csc-textpic-firstcol csc-textpic-lastcol" style="width:0px;"><dt><img
 >>>> src="" width="" height="" border="0" alt="" /></dt></dl></div>

compared to 3.8.1 this seems like a bug to me.

regards
eliott


On 2010.05.20. 13:46, Simon Dawes wrote:
> Hi Eliott,
>
> Its not totally clear exactly what your are doing
>
> Can you confirm that what you do is:
>
> - create a text/image content element
>
> - add a pdf to the images field (via the browse for files popup)
>
> - then in image links you select "Click-enlarge"
>
> If I do this I get a layout with n image (resized to width /height I
> set), and when I click the image I get a popup with a larger jpg image
> (both are rendered from the pdf).
>
> - or perhaps rather than click-enlarge you mean you set the pdf as file
> link in the "link" field?
>
> If I do this then I get the image that links to the pdf doc
>
> This is the same in 4.2.12 and 4.3.3 here
>
> Have you tried a normal image instead of a pdf?
>
> Cheers Simon
>
>
>
>
>
> Eliott wrote:
>> Sorry to repost, but our upgrade got stuck here. I have been looking
>> but couln't find anything. is there anything obvious that I am
>> overlooking?
>>
>> regards
>> eliott
>> On 2010.05.18. 15:10, Eliott wrote:
>>> Hi everyone!
>>>
>>> did anybody experience something like that below.
>>>> We were using Text / image content type extensively where the image was
>>>> a pdf document, set as a link. On the front end you could see the
>>>> thumnbail and the picture was clickable and leading to the pdf document
>>>> itself.
>>>>
>>>> With 4.2 this does not work at all. This is what I get from the source:
>>>> <div class="csc-textpic-imagewrap"><dl class="csc-textpic-image
>>>> csc-textpic-firstcol csc-textpic-lastcol" style="width:0px;"><dt><img
>>>> src="" width="" height="" border="0" alt="" /></dt></dl></div>
>>>>
>>>> The strange thing is that Imagemagick works fine, because the thumbnail
>>>> for the pdf is ok in the backend.
>>>>
>>>> any ideas?
>>>> regards
>>>> eliott
>>>
>>



More information about the TYPO3-english mailing list