Use the function wppa_albums($xid = ”, $typ=”, $siz = ”, $ali = ”)
It resides in wppa_functions.php. See th source code for all the possible arguments.
Note: you get the html returned, so you need to echo the result.
I need to insert a photo gallery.
First study the scripting reference: Here
Then the documentation of wppa_albums(): Here
So I have a slideshow plugin that uses Jquery that I built but I want it to pull images from the album. So I’m trying to through the photos in a loop to make this happen, I know I’m missing something as far as how I make a call to the albums
<ul id="example2">
<?php $wppa_show_statistics = true; ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php wppa_get_slideshow_url() ?>"><img src="<?php wppa_get_photo_url()?>" alt="<?php wppa_get_photo_name()?>">
<span><?php wppa_get_photo_desc() ?></span></a></li>
<?php endwhile; ?>
</ul>
As of version 3.0 the high level wppa+ api routines return values that must be echo‘ed.
btw, the code above will not function anyway.
Try this:
echo wppa_albums($albumnumber, 'slide');
or this:
echo wppa_albums('13', 'slideonly', '450', 'right');
for a full documentation see This documentation page