Page 1 of 1
[SOLVED] Category View issue with changed medium imagesize
Posted: 01 Dec 2011, 11:33
by adriaan
In Joomla 1.7.3 and PhocaGallery 3.1.1
I have changed the Medium Image Width and Medium Image Height to 180.
Unfortunately the Category View still uses smaller boxes to display the images:
Code: Select all
<div class="phocagallery-box-file" style="height:118px; width:120px;">
<div class="phocagallery-box-file-first" style="height:100px;width:100px;margin:auto;">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
Attached also a screenshot.
Is it possible to change the boxes to the Medium Image Height and Width properties?
Re: Category View issue with changed medium imagesize
Posted: 01 Dec 2011, 14:47
by Benno
Re: Category View issue with changed medium imagesize
Posted: 08 Dec 2011, 15:46
by adriaan
Hi Benno,
Thanks for your reply, i have read the instructions for the styling background image. But i think that is not the problem.
The problem is that the div size heigh and width are not changed to my new default medium size of 180px. As you see in my first post the height and width of the divs are still based on the default of 100 px. I have looked into all the settings but it did not help.
In the file default.php in the directory views/category/tmpl of the front-end i have changed lines 126 and 127 from:
Code: Select all
echo '<div class="phocagallery-box-file" style="height:'. $imageHeight['boxsize'].'px; width:'.$imageWidth['boxsize'].'px;">'. "\n";
echo '<div class="phocagallery-box-file-first" style="height:'.$imageHeight['size'].'px;width:'.$imageWidth['size'].'px;margin:auto;">'. "\n";
into:
Code: Select all
echo '<div class="phocagallery-box-file" style="height:198px; width:200px;">'. "\n";
echo '<div class="phocagallery-box-file-first" style="height:180px; width:180px;margin:auto;">'. "\n";
Then the divs have the correct sizes. My conclusion is that the values in $imageHeight[' size'] and $imageWidth['size'] are not set to the changed default sizes of the medium thumbnails.
Kind regards,
Adriaan
Kind regards,
Adriaan
Re: Category View issue with changed medium imagesize
Posted: 14 Dec 2011, 15:15
by adriaan
No one else with same problem?
Re: Category View issue with changed medium imagesize
Posted: 16 Dec 2011, 00:18
by Jan
Hi, did you try to change padding and margin parameters of box over the image
Re: [SOLVED] Category View issue with changed medium imagesi
Posted: 28 Dec 2011, 11:39
by adriaan
The error occured after running the com_pi_pg.zip to hide the Phoca Gallery links.
Sovled by Jan