Page 1 of 1

Category view in mosaic style

Posted: 25 Dec 2011, 22:14
by get12
Hello
I am looking for a way to set the mosaic style for the category view, as it can be done in gallery module.
I mean, I just need clean thumbnails in category view, no any description, no additional buttons.
If I remove all those options in control panel, there is still a blank space under the image.
And if I look at the code, I can see that it is caused by forced width and height applied as style here:

Code: Select all

<div class="phocagallery-box-file pg-box-image" style="height:139px; width:120px;">
My workaround for the moment is editing line 30 in ..components/com_phocagallery/views/category/tmpl/default_images.php
I just remove this part:

Code: Select all

style="height:'. $this->tmpl['imageheight']['boxsize'].'px; width:'.$this->tmpl['imagewidth']['boxsize'].'px;"
It works, but, I don't think it is the best solution.
I don't really like to edit the default code.

Can you please tell if there is any other way to get images displayed in mosaic style in category view?

Re: Category view in mosaic style

Posted: 26 Dec 2011, 21:54
by Jan
Hi, did you enable custom CSS in parameters? - to skip all CSS settings for Phoca Gallery (the size of boxes are there because of vertical centering)

Jan