Tell us what you are trying to do? Due to the situation, that I am not able to save custom post type images into Toolsets image field with Gravity Forms, I used the ACF Gallery field for it.
Now I like to show those images in a slider with the follow code:
Is there any documentation that you are following? I didn't found a documentation - so far, I am trying to use the similar code as I already have used - with the image field from Toolset.
But also based on: hidden link
Is there a similar example that we can see? hidden link
This should be, with the slider...
What is the link to your site? This example it not not working: hidden link
Given that the images are stored within the ACF fields our [wpv-post-field] shortcode will only retrieve the value that is stored in the database. In this case ACF stores the ID of the images rather than the URL's.
What I would recommend that you do is to get in touch with the ACF team to see if they are able to construct a shortcode for you that will allow you to retrieve the items.
Hello, Shane is unavailable today because of the holiday over the weekend. He will return tomorrow to continue assisting you here - thank you for your patience.
Not sure I understand fully, you have a set of images in an ACF gallery field and you have another set of images inside the Toolset custom image field and you want to merge the images from both fields inside the php ?
If that is the case then you should be looking at the function below
In our case we store the URL of the image inside the field, so you can use the code above to retrieve it from the database.
For this line below in your code you can perform an array merge for the Toolset images, however you would've first needed to build a second array with the image urls to merge it to the toolset one.
So in any case you should be able to also do this.
foreach($toolset_images as $toolset_image){
$ids = attachment_url_to_postid($toolset_image);
array_push($ids);
}
This should push the ID of the current toolset image into your acf $images variable, what i'm not sure of is if the ACF images are being returned as an Array.