Viewing 1 replies (of 1 total)
  • Plugin Author king-theme

    (@kingthemes)

    Hi!

    edit your code as bellow

    $image = wp_get_attachment_image_src( $image_id, 'full' );
    echo $image[0];

    And you also can change ‘full’ to ‘medium’, ‘large’, ‘thumb’. Those are default sizes when you upload your media

Viewing 1 replies (of 1 total)
  • The topic ‘How to get full image sizes from attach_image field’ is closed to new replies.