Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Martin Sauter

Pods: Images are not displayed depending on allowed file types

I have a custom field of the type “File / Image / Video” created with Pods, which I need to display in the list view of the WordPress backend.

This works fine as long as the option “Restrict File Types” is set to “Images (ONLY jpg, jpeg, png, gif, and webp)”. But it does no longer work as soon as you switch to “Images – Any (jpg, jpeg, png, gif, webp, and others supported by webp)” – which is necessary if you need to upload SVG graphics as well. Instead of the image, only the ID is display (for alle images, not only for the SVGs).

6 months, 3 weeks ago
Stefan van den Dungen Gronovius
Developer

Thanks for your message. I was able to reproduce the issue and it will be fixed for the next update.
As a workaround for the time being you can make a small change in our code:

admin-columns-pro/addons/pods/classes/Field/File.php#62

You can add the following case to the stack:
case 'images-any':

Another workaround is to replace the column with our Custom Field column and set the field type to ‘Image’.

6 months, 3 weeks ago

You must be logged in to reply to this topic.