Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics
Carlos

Media Library Preview Size not using width and height when "custom" is selected

Hi,

As title says using media library field type, in preview size I select “Custom” and use width 28 and height 28 (is an icon). But code shows width 48 and height 64. So I think there’s a bug in the size of the preview since it’s not using the indicated values

4 years, 8 months ago
Jesper
Developer

Hi Carlos,

What is the name of the field type that you’re using, exactly? And is it a column in the media library, or in the posts overview, for example?

Cheers!
Jesper

4 years, 8 months ago
Carlos

Hi Tobias,

The name of the field type is “Media Library”.
It’s a field in a custom post type. The CPT is “document” and the custom field is “document_raw”

4 years, 8 months ago
Tobias
Developer

Great job, you’re rocking it on testing! Fixed it for next release. Custom Fields will now display an icon for file attachments in the correct specified dimensions.

On a side note. In the future we are probably going to add a custom field “File” type so we can display the filename rather then an icon.

Cheers, Tobias.

4 years, 8 months ago
Carlos

Great! Thanks Tobias!

Carlos

4 years, 8 months ago

You must be logged in to reply to this topic.