Okay I cannot get that template to open in the WPBakery designer, no matter what I try. If I switch to the Classic Editor, at least I can see the shortcodes to see how things are set up in your Content Template. The code there looks okay as far as I can tell, the get_image_ids shortcodes seem to be implemented correctly.
So I checked the edits in your custom code snippet here:
hidden link
When using WordPress APIs that interact directly with custom field slugs from the database, please note that these image field slugs should include the wpcf- prefix. Types fields all use a wpcf- slug prefix in the database, so I have changed this code:
$images[] = get_post_meta($postid, 'slika-za-galeriju-1', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-2', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-3', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-44', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-55', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-6', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-7', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-8', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-9', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-10', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-11', true);
$images[] = get_post_meta($postid, 'slika-za-galeriju-12', true);
Now the code looks like this:
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-1', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-2', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-3', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-44', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-55', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-6', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-7', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-8', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-9', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-10', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-11', true);
$images[] = get_post_meta($postid, 'wpcf-slika-za-galeriju-12', true);
I added the wpcf- prefix to each slug. Now I can see some Image IDs in the page where the get_image_ids shortcodes are placed in your Content Template:
hidden link
I can also see a CZ grid element that opens a lightbox when you click the image. So somethings seem to be working better now, can you take a look?