Fallback image size when using wp_get_attachment_image_src / full size compressed image

wp_get_attachment_image_src the SIZE parameter will return image closest to the given.

If you want to return cropped image you can register your own sizes with add_image_size() function.

After you register your sizes you have to regenerate all old Images otherwise the old images will not have the new size.

You can do that with “Regenerate Thumbnails” plugin

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduedusedueduedusedusedueduedus