Page 1 of 1
Setting box size in detail view
Posted: 07 Oct 2010, 19:07
by TacTic
This thing is driving me NUTS.
I can't manage to find the place where to set the actual size of the images being displayed in detail view when put in an article.
Also I can't figure out why there is a 20px difference between heith and width
http://tiny.cc/yr61w
Where can these things can be set up ?
PLEASE PLEASE, HELP ME
I've spent 3 hours on it reading all the documentation and searching the forums, I can't find ANY answers.
Thanks in advance,
TacTic
Re: Setting box size in detail view
Posted: 08 Oct 2010, 00:05
by TacTic
I may have a lead here:
and also:
Category View will always display medium thumbnails (there is no option to display small thumbnails except you will customize the php/html code)
Well is this the final answer to the original question ?
Re: Setting box size in detail view
Posted: 08 Oct 2010, 01:39
by TacTic
Ok I tried to change a few lines of code on this file
components/com_phocagallery/views/categories/tmpl/default.php
it didn't change much my front-end
http://tiny.cc/yr61w
I remplaced this (line 50)
Code: Select all
if($this->tmpl['equalpercentagewidth'] == 1) {
$fixedWidth = 100 / (int)$columns;
$fixedWidhtStyle1 = 'width:'.$fixedWidth.'%;';
$fixedWidhtStyle2 = 'width:'.$fixedWidth.'%;';
} else {
$fixedWidhtStyle1 = 'margin: 10px;';
$fixedWidhtStyle2 = 'margin: 0px;';
}
by
Code: Select all
if($this->tmpl['equalpercentagewidth'] == 1) {
$fixedWidth = 50/ (int)$columns;
$fixedWidhtStyle1 = 'width:'.$fixedWidth.'%;';
$fixedWidhtStyle2 = 'width:'.$fixedWidth.'%;';
} else {
$fixedWidhtStyle1 = 'margin: 0px;';
$fixedWidhtStyle2 = 'margin: 0px;';
}
Can anyone see the explanation ?
Many thanks
Re: Setting box size in detail view
Posted: 08 Oct 2010, 23:44
by TacTic
Ok got it.
Detailled view only display medium sized thumbnails.
All I had to do was to reduce the size of medium thumbnail in general parameter and recreate the thumbnails.
It works fine know.
Fiewww !

Re: Setting box size in detail view
Posted: 09 Oct 2010, 17:03
by Benno
Ok.
Kind regards,
Benno