Support » Plugin: PDF Thumbnails » Attachment ID, where I can get it?

  • Resolved slaffko

    (@slaffko)


    I installed plugin, uploaded pdf files, I can see pdf files and thumbnails. But I don’t understand where I can get Attachment ID?

Viewing 5 replies - 1 through 5 (of 5 total)
  • cohaniuc

    (@cohaniuc)

    Hello i have the same issue here…
    I thought That it is working like That:
    pdf_thumbnails_link http://example.com/example.pdf “]

    and this is inserting the image of the first page of the pdf into the futered images of the post…..

    Can this be done ????

    BEST REGARDS BORIS

    • This reply was modified 3 years ago by  cohaniuc.
    Plugin Author stianlik

    (@stianlik)

    Yes, you can create a link to your PDF, displaying as an image of the first page of the PDF you uploaded by adding [pdf_thumbnails_link id="172"] to your post, where 172 is the ID of your PDF, i.e. the attachment ID.

    The attachment ID can be found as follows:

    1. Go into your media library by clicking “Media” in the main menu
    2. Find your PDF in the list and click on the PDF icon
    3. Look for item=SOMETHING in your address bar, i.e. you will see .../upload.php?item=172 if the attachment ID is 172

    slaffko

    (@slaffko)

    Hi Stianlik, thanks for answer,
    When I click on PDF icon, in address bar I see wp-admin/post.php?post=335&action=edit
    I get 335 – it is worked
    Thanks a lot

    cohaniuc

    (@cohaniuc)

    hello stianlik

    is it possible to have the same result but directly from a link??

    ex
    [pdf_thumbnails_link http://example.com/example.pdf%5D

    Thanks a lot

    • This reply was modified 3 years ago by  cohaniuc.
    Plugin Author stianlik

    (@stianlik)

    Not as a part of this plugin, but you can use the built-in functionality from WordPress. I.e. use the “Add media” button to insert the thumbnail image, and choose “Link to: Custom URL”. That should give you pretty much the same result.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Attachment ID, where I can get it?’ is closed to new replies.