Support

Account

Home Forums General Issues Grabbing full image path for use with Get The Image Reply To: Grabbing full image path for use with Get The Image

  • @carolineelisa

    To get the URL from an attachment ID you can use:

     <?php wp_get_attachment_image_src( $attachment_id, $size, $icon ); ?>
    

    where $size (str|array) and $icon (bool) are optional.