[Resolved] Can't retrieve image on site
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(  => 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: .
On all the other codes snippets of this plugin it also gives me an error on  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?
- The topic ‘[Resolved] Can't retrieve image on site’ is closed to new replies.