Error with YAPB B. 1.9.1 using WP 2.5.1
-
Dear,
I’m using WordPress 2.5.1. Today I updated my YAPB to the last version (beta 1.9.1), but an error occured (with the previous version, I didn’t have any problem):
my blog is structured in two pages:
– the first one with an extract on every post, using this code to show image and text:
[code]<?php $posts = get_posts( "category=3&numberposts=1" ); ?> <?php if( $posts ) : ?>
<?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
<?php if (yapb_is_photoblog_post()): ?>
<?php yapb_image('', array('alt' => 'Prova'), '') ?>
<?php else: ?>
<?php endif ?>
<?php endforeach; ?> <?php endif; ?>[/code]– the page with evey post, clicking on it.
On the first page I can see my image uploaded with YAPB, but when I click on my post I cannot see the image. I checked the HTML and the code for the image I can see is like this:
[code]<img width="200" height="197" src="https://www.site.com/wp-content/plugins/yet-another-photoblog/YapbThumbnailer.php?post_id=36&w=460" title="Intercettazioni: linee sorde" alt="Intercettazioni: linee sorde" />[/code]
While on my first page I see:
[code]<img alt="Prova" src="https://www.site.com/wp-content/uploads/2008/06/intercettazioni1xh2.jpg" width="200" height="197" />
[/code]
- The topic ‘Error with YAPB B. 1.9.1 using WP 2.5.1’ is closed to new replies.