Hi Barry,
Thank you for contacting us and I'll be happy to assist.
>> When a user clicks 'Add New' in an image field inside a CPT post, is it possible
>> to view only images previously uploaded to that CPT post and not all images
>> in the Media Library? I was able to do that using Divi and Advanced Custom
>> Fields and it just made things much easier.
- I'm afraid, this feature is not currently supported by Toolset, but you're welcome to submit it as a feature request at:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
>> Secondly, is it possible to have 2 or three Featured images in a CPT that display
>> randomly in a gallery for example, so that each time the gallery page is displayed,
>> a different one of the 2 or 3 Featured images from each post is used, so the
>> gallery looks fresh?
- By default design, WordPress only supports a single featured image for each post, but it is possible to attach more than one image to posts.
All images which are uploaded from within page/post edit screen are automatically attached to it.
If your goal is to show a single random image from a number of selected images, you can follow these steps:
1. Using the "Add Media" button, upload all images that you'd like to attach to your page/post.
( ref: https://wordpress.org/support/article/media-add-new-screen/)
2. Create a new view and set it to show "Media" in "Content Selection" setting.
( screenshot: hidden link )
3. In the view's order settings select "Random order", post limit to "1" and a "Post Parent" filter to show posts that are related to the Post with ID set by the shortcode attribute "wpvchildof".
( screenshot: hidden link )
4. After that you'll be able to call this view in your content to show a single random image from the specified post, as needed:
[wpv-view name="slug-of-the-view" wpvchildof="[wpv-post-id]"]
Notes:
- Please replace "slug-of-the-view" with the actual slug of your view.
- [wpv-post-id] will use the ID of the current post where this shortcode is used and you can add the ID of your desired post manually too.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar