Anonymous User
(@anonymized-126485)
AutoNav should find and use the first Attached Image to a post, if you do not manually choose a thumbnail. Does the post in question actually have attached images (using WordPress’s media library) or what other gallery system are you using?
I use WordPress’s media library. The post in question has a few images attached via WordPress’s media library.
For example on this post
http://www.yetzira.com/ברכות-לפסח.html
the last 2 posts in the list link to posts with a gallery in them. They both have a few images in the gallery but there is no image.
Another question – is there a way to exclude the current post? For example, the 3rd last post is the current page which also appears as no image since it only has the shortcode on it.
Thanks!
Thanks for checking this out.
The shortcode on the parent page is:
[autonav display=”posts, table, thumb” postid=”category:403″ count=30]
On the child pages (post) the images were uploaded using WP and are shown as a gallery. I used the “add an image” function from that post so the images are attached to that post.
The shorcode is:
[gallery link="file" columns="2"]
There are 2 ways to upload images to a post (browser/flash). Could the chosen method make a difference?
Anonymous User
(@anonymized-126485)
Could you please try, as a test, the beta of the next version?
http://www.wlindley.com/wp-content/uploads/autonav-wl.1.3.9b11.txt
Several features but key here is that if you use:
[autonav display="posts" postid="category:403"]
that will not include the current post; as with pages, if you use:
[autonav display="posts" postid="category:403,self"]
that will include the current post (assuming it is in category 403).
This may also solve the missing images. Of course, it is still beta, so it may break something too… you can always re-install v1.3.8.
Thanks very much for the update. It did not include the current post which is great but it did not solve the problem of missing images from the gallery. Those 2 posts still appear as empty boxes.
It did break something though. I got a big warning on the page and on the backend. The whole theme was distorted so I reinstalled the older version but I have copied the warnings that I got.
Backend:
Warning: Cannot modify header information – headers already sent by (output started at /home2/persoob6/public_html/wp-content/plugins/autonav/autonav-wl.php:1150) in /home2/persoob6/public_html/wp-includes/class-wp-ajax-response.php on line 129
On the page – this appeared at the top of the page:
Warning: Cannot modify header information – headers already sent by (output started at /home2/persoob6/public_html/wp-content/plugins/autonav/autonav-wl.php:1150) in /home2/persoob6/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 77
Warning: Cannot modify header information – headers already sent by (output started at /home2/persoob6/public_html/wp-content/plugins/autonav/autonav-wl.php:1150) in /home2/persoob6/public_html/wp-content/themes/thesis_18/lib/functions/compatibility.php on line 7
Anonymous User
(@anonymized-126485)
That may be caused by extra white-spaces or blank lines at the beginning or end of the file…
As for the missing images, I would have to look at the site, perhaps, from the inside to see why that is happening.