1 comment

  1. question 1

    Im not sure how you can do that, But you could try add the image link, and the file path as a meta_post and get the values from there, when you get the values you will only get the files/images from that post uploaded from that metabox.

    You can also try custom-fields-to-attachments where you add an ID to only query the files you uploaded from that metabox.

    question 2

    this code could work.

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

Comments are closed.