arrow_back

Preset Sizes for wp_get_attachment_image_src() WordPress function

The following is a listing of all the preset sizes which can be passed to the wp_get_attachment_image_src() function in WordPress:

wp_get_attachment_image_src(the_Id, 'thumbnail');    // Smallest - Maximum of 150px x 150px
wp_get_attachment_image_src(the_Id, 'medium');       // Maximum of 300px x 300px
wp_get_attachment_image_src(the_Id, 'medium_large'); // Maximum of 768px Width x No Height Limit
wp_get_attachment_image_src(the_Id, 'large');        // Maximum of 640px x 640px
wp_get_attachment_image_src(the_Id, 'full');         // Original Resolution