I’m trying to get the minimum image source that fills the given size.
wp_get_attachment_image_src(get_post_thumbnail_id(), array(180, 180))
gets the image which fits the size and not which fills it.
Is there any built-in possibility to get an image with minimum size?
I have an container DIV and want to put the posts thumbnail as background-image and want to the image to be =>
sized.