Can't retrieve image on site
-
Hello,
I’m having some problems with this plugin.
The plugin works fine in the back-end. I can add images, it saves them. It’s all ok.
The problem is I can’t get the images to show on the site itself..
The code I use is:
<?php get_images_ids(true,id); // 2 accepted parameter : thumbnail (BOOLEAN), and id (to target a specific post) // if thumbnail = true, join the id of the post thumbnail at the front of the returned array //An exemple of output array( [0] => 45, 'image1' => 5, 'image2' => 6, 'image3' => 12, 'image6' => 20, 'image7' => 15 ); //Empty pictures ar not returned ?>
It gives me an error on the line of the beginning of the array: [0].
On all the other codes snippets of this plugin it also gives me an error on [0] of array:
Warning: Illegal offset type in C:\xampp\htdocs\autotest\wp-content\themes\twentytwelve\single.php on line 39
Can someone also explain me what the numbers mean after each array item?
https://www.ads-software.com/extend/plugins/multi-image-metabox/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Can't retrieve image on site’ is closed to new replies.