I have searched high and low for an answer to this and can’t seem to find anything. I am trying to display a thumbnail for a File field and can’t get it to work. I have used the snippet from the documentation and all I get:
Yes, it does. If you set $icon to false it will return the thumbnail that was generated when the pdf was uploaded. For any file type that does not have thumbnails you need to set $icon to true and then you’ll get whatever icon WP thinks is best… this is hit or miss. The WP icons are not very good.
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Displaying File Thumbnail’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users