Another question, how do I omit the first image in the gallery from the loop?
<?php foreach ( $gallery as $image ): ?>
<a class="apt-gallery-<?php echo $id_1_alcoba ?>" href="<?php echo $image['url'] ?>" alt="<?php echo $image['alt']?>"></a>
<?php endforeach; ?>