Category view in mosaic style
Posted: 25 Dec 2011, 22:14
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:
My workaround for the moment is editing line 30 in ..components/com_phocagallery/views/category/tmpl/default_images.php
I just remove this part:
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?
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;">I just remove this part:
Code: Select all
style="height:'. $this->tmpl['imageheight']['boxsize'].'px; width:'.$this->tmpl['imagewidth']['boxsize'].'px;"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?