2012-02-14, 16:46:42
avoleoo Wrote:Please take a look here: http://www.graf1x.com/index.php?id=news
The cropped pictures from the gallery show up, even links work, but the alignment and JS is not working.
I managed to display pictures by putting these two lines:
(% gallery type=prettyphoto autostart=true %)
(% searchresults tags:news numWords:-50 order:reverseurl %)
Showing galleries in the search results is generally not possible.
But if all your galleries have the same properties, you can create a special page template for the search result page and add something like <?php get_i18n_gallery_header('my-gallery', array('type'=>'prettyphoto', 'autostart'=>true)); ?> to its header. This should set the appropriate styles and load the JS files.