Home › Forums › Front-end Issues › Displaying File Thumbnail › Reply To: Displaying File Thumbnail
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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.