I'm trying to access images that are stored in a repeatable field group (group slug: gallery-group, field slug: gallery-image)
EDIT: I want to access the images on a different page via the post id.
I'm prett sure my settings in Toolset are ok, because on the page that displays the post itself i can access the images just fine.
The problem described there seems to be my exact usecase. However the code shown there didn't solve my issue:
<?php echo types_render_field( "images", array( "alt" => "", "size" => "thumbnail", "id" => 10 ) ); ?>
I replaced "images" with the field slug and group slug, and tried it with a ID that I know to have contents. But I get not output at all.
Is there a easy way to access/display those images in full size?
Thank you so much in advance, I'm really stuck on this problem.
If that does not help, please share problem URL and admin access details and tell me at what place you want to display what repeating field.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
When you want to query repeating field group posts, the post type you should query is 'galerie-stuecke' as the repeating field group slug 'galerie-stuecke' is considered post type and post relationship slug as well.
You can adjust your code as required for $child_posts foreach loop.