featured image column item height set to 9999
-
I added the ‘featured image’ column to posts. The post I added a featured image to had a row height of 10020px. I checked out the element and found that the height was set to 9999.
The “small thumb” custom size was set in the theme with:
add_image_size( ‘small-thumb’, 100, 9999 ); //300 pixels wide (and unlimited height)
This is almost directly copied from the WP codex for add_image_size() as the recommended way of setting unlimited height.
So, it just looks like it wasn’t tested against custom image sizes.<span class="cpac-column-value-image" style="width:100px;height:9999px;"><img style="max-width:9999px;max-height:9999px;" src="https://mrtwebdesign.local/shri/wp-content/uploads/2014/04/Hydrangeas-100x75.jpg" alt=""></span>
https://www.ads-software.com/plugins/codepress-admin-columns/
- The topic ‘featured image column item height set to 9999’ is closed to new replies.