Support

Account

Home Forums General Issues Add image to image field type Reply To: Add image to image field type

  • What would the final code look like if I want to set image ID 181 and ‘medium’ size?

    $imagefield = 'pagetype1_image';
    update_field( $imagefield, 181, $page_id );

    This only specifies the ID, not the size?

    The field is set to return the image object.