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
Setting box size in detail view
-
- Phoca Member
- Posts: 14
- Joined: 15 Sep 2010, 14:41
Re: Setting box size in detail view
I may have a lead here:
and also:Hi, size of the thumbnails, see:
https://www.phoca.cz/documents/2-phoca-g ... w-resizing
order:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
see the parameters component - where to set the parameters too:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
You can set the layout of categories view, if this does not fit your needs, you need to customize the template for categories view:
components/com_phocagallery/views/categories/tmpl/default.php
Well is this the final answer to the original question ?Category View will always display medium thumbnails (there is no option to display small thumbnails except you will customize the php/html code)
-
- Phoca Member
- Posts: 14
- Joined: 15 Sep 2010, 14:41
Re: Setting box size in detail view
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)
by
Can anyone see the explanation ?
Many thanks
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;';
}
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;';
}
Many thanks
-
- Phoca Member
- Posts: 14
- Joined: 15 Sep 2010, 14:41
Re: Setting box size in detail view
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 !

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 !

- Benno
- Phoca Hero
- Posts: 9848
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Setting box size in detail view
Ok.
Kind regards,
Benno
Kind regards,
Benno