[TYPO3-mvc] generate preview of pdf file with viewhelper

Roland most.wanted at gmx.at
Thu Apr 26 09:10:16 CEST 2012


hi kay,
hey lienart,

you are right: ghostscript was missing! *shame*

thank you very much for your help!

kind regards.

roland




kind regards

Am 25.04.12 17:48, schrieb Kay Strobach:
> Hi lienhart,
>
> that should work, if your imageMagick is correctly installed with
> ghostscript!
>
> If this is not the case you won't have luck with any grafic solution in
> TYPO3.
>
> http://www.webvamp.co.uk/blog/coding/how-to-create-pdf-preview-images-in-php/
>
> Regards
> Kay
>
> Am 25.04.2012 17:28, schrieb Roland:
>> hi lienhart,
>>
>> tried this already. this did not work - no image generated/empty src
>> attribute.
>>
>> <f:image src="uploads/tx_myextension/{myobject.myimage}" alt="" />
>>
>> any other idea?
>>
>>
>>
>> Am 25.04.12 17:15, schrieb Lienhart Woitok:
>>> Hi Roland,
>>>
>>> you could try the image view helper, you might just be lucky and it
>>> works out of the box. I haven't done this yet, but that's what I would
>>> try first.
>>>
>>> Regards,
>>>
>>>
>>>
>>> Lienhart Woitok
>>> Web-Entwickler
>>>
>>> Telefon: +49 (911) 539909 - 0
>>> E-Mail: Lienhart.Woitok at netlogix.de
>>> Website: media.netlogix.de
>>>
>>>
>>> --
>>> netlogix GmbH&   Co. KG
>>> IT-Services | IT-Training | Media
>>> Andernacher Straße 53 | 90411 Nürnberg
>>> Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
>>> E-Mail: info at netlogix.de | Internet: http://www.netlogix.de
>>>
>>> netlogix GmbH&   Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA
>>> 13338)
>>> Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB
>>> 20634)
>>> Umsatzsteuer-Identifikationsnummer: DE 233472254
>>> Geschäftsführer: Stefan Buchta, Matthias Schmidt
>>>
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
>>> [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag
>>> von Roland
>>> Gesendet: Mittwoch, 25. April 2012 17:10
>>> An: typo3-project-typo3v4mvc at lists.typo3.org
>>> Betreff: [TYPO3-mvc] generate preview of pdf file with viewhelper
>>>
>>> hi everybody,
>>>
>>> i need to generate a preview image of pdf-files in my extebase
>>> extension. it should show the first page of the pdf. i am pretty sure
>>> that i will have to to this via view helper, but i dont know how.
>>>
>>> can anybody help?
>>>
>>> kind regards.
>>>
>>> roland
>>> _______________________________________________
>>> TYPO3-project-typo3v4mvc mailing list
>>> TYPO3-project-typo3v4mvc at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>>
>
>



More information about the TYPO3-project-typo3v4mvc mailing list