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

Frank Gerards F.Gerards at esolut.de
Thu Apr 26 09:56:47 CEST 2012


Hi,

yeah I noticed , read your topic wrong way :D... you can ofc create thumbs of your PDF files using ImageMagick and the f:image viewhelper...

-----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: Donnerstag, 26. April 2012 09:11
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] generate preview of pdf file with viewhelper

hi frank,

thanks for the interesting hint.

but i guess this is not that much related to my problem.

thanks anyways.

kind regards.

roland




Am 25.04.12 18:11, schrieb Frank Gerards:
> Hi,
> the FED framework has a pdf viewHelper with wkhtmltopdf utility on 
> server making a "screenshot" of the desired page and generating the 
> PDF. Its not so easy to setup on the server, but it works very nicely and you have the possibility to configure the generation of the PDF massively and with an extra CSS etc....
>
> -----Ursprüngliche Nachricht-----
> Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org 
> [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag 
> von Kay Strobach
> Gesendet: Mittwoch, 25. April 2012 17:49
> An: typo3-project-typo3v4mvc at lists.typo3.org
> Betreff: Re: [TYPO3-mvc] generate preview of pdf file with viewhelper
>
> 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-typo3v
>>> 4
>>> mvc
>>
>
>
> --
> http://www.kay-strobach.de - Open Source Rocks
>
> TYPO3 .... inspiring people to share!
> Get involved: http://typo3.org
>
> Answer was useful: https://flattr.com/profile/kaystrobach
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4m
> vc

_______________________________________________
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