Thanks for the info acrylian I went to the user guide, read a little about object model and I was able to do it.
Here is the code:
<section class="item-listing home-latest-albums">
[list]
<?php
// http://www.zenphoto.org/documentation/classes/ThemeObject.html
$latestalbums = getAlbumStatistic(getOption("latest_albums_number_home"), "latest-date", "", "desc");
foreach ($latestalbums as $latestalbum) {
$album = newAlbum($latestalbum[folder]);
?>
[*]
<article>
<a>getAlbumLink() ?>" class="album-thumb">
<img src="<?php echo $album->getAlbumThumb(); ?>" alt="<?php echo $album->getTitle() ?>">
</a>
<div class="album-info">
<h3 class="album-title">
<a>getAlbumLink() ?>">
<?php echo $album->getTitle() ?>
</a>
</h3>
<?php $date = date_create($album->getDateTime()); ?>
<time datetime="<?php echo date_format($date, 'Y-m-d'); ?>" class="album-date"><?php echo date_format($date, 'd/m/y'); ?></time>
<div class="fb-like" data-href="http://<?php echo getMainSiteURL() ?><?php echo $album->getAlbumLink() ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
</article>
<?php } ?>
[/list]
</section>
Full context: https://github.com/fmontes/mirumbita2014/blob/master/app/index.php