Thread Starter
zajk
(@zajk)
*BUMP* Anyone have an idea?
I used a jquery Carousel and placed the compact gallery into an ul list. Then using css told the ul to apear horizontally.
Look for the album-compact.php file.
Then where it has the foreach code to create each thumbnail wrap it in an ul.
<ul>
<!-- List of galleries -->
<?php foreach ($galleries as $gallery) : ?>
<li>
<a class="Link" href="<?php echo $gallery->pagelink ?>"><img class="Thumb" alt="<?php echo $gallery->title ?>" src="<?php echo $gallery->previewurl ?>"/>
</a>
</li>
<?php endforeach; ?>
</ul>
So this creates an ul then inside that ul for each gallery it creates a new list item. Then close the unordered list agter the endforeach. That will put your gallery into an ul. Then using simple css you can have it display horizontally.
WARNING: This changes the album-compact.php file which means anytime you upgrade your plugin this will have to be changed again.
I’ve got the same problem here..
when I follow your advice it doesn’t work unfortunally.
I think it does not work because the
-Tag is repeated for every album and creates a new list with every album. I tried it by using it with the
- tag but this doesn’t work either.
You can see it here:
http://www.fuhly.de/?page_id=7
can anyone help me?
any ideas?
Thanks in advance!