Here is
a demo for an effective search with AjaxSearch in Maxigallery. All works fine except you need to click twice on the Go! button to see all the picture results. This come from the fact that thumbnails are not preloaded and height unknown when the window is built.
For instance try "
chin" as searchterm.
To display the results I use :
[!MaxiGallery? &pic_query_ids=`[+as.gal_id+]`!]
where the placeholder as.gal_id is provided by AjaxSearch.
I have already meet this problem
on this demo and solve the same kind of issue by adding the height to each image. Here I have tried to add a css style with the &css parameter like this:
[!MaxiGallery? &pic_query_ids=`[+as.gal_id+]` &css=`picQueryIds`!]
And defined the picQueryIds chunk as follow:
#thumbscontainer ul li a img.thumbnail{
height: 120px;
}But nothing has changed
Under web developper I could see that the new img.thumbnail selector is not taken into account.
Any ideas ?