Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • siva kumar 120 posts 209 karma points
    May 03, 2013 @ 12:44
    siva kumar
    0

    i want to upload a pdf and after uploading i want to create thumbnail?

    i want to upload a pdf and after uploading i want to create  thumbnail?how it is to be done?

  • Dan 1288 posts 3942 karma points c-trib
    May 03, 2013 @ 14:08
    Dan
    0

    Hi Siva,

    You'd need to hook into an event after the pdf has saved then use a third-party .NET library to generate a preview of the pdf and save that as an image file to the media repository.  A far simpler solution would be to use http://imageresizing.net/ which I'm pretty sure can do pdf > image generation dynamically; see http://imageresizing.net/plugins/pdfrenderer.  It works in a very similar way to imagegen and should be mega-simple to integrate.

    Hope this helps...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies