Change img size in "Display Categories" from medium to small

Phoca Gallery - image gallery extension
scharfet
Phoca Member
Phoca Member
Posts: 19
Joined: 16 Nov 2010, 09:40

Change img size in "Display Categories" from medium to small

Post by scharfet »

I'm using Phoca gallery in two diferent forms (with two different designs - different image sizes) - at one hand with links with category view and on the other hand I use the plugin on other pages. I'm in confict with the image sizes.

Therefore I have two different questions (I'd need to resolve one of these two questions):

A) How to change die Image size for dthe categorie View from middle to small?
B) How to dispay the the plugin with small images instead medium size images?

Thanks!

NOTE: on https://www.phoca.cz/documents/2-phoca-g ... parameters
The following Text is missing in the list Category View (Kategorie Ansicht - Einstellungen)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change img size in "Display Categories" from medium to s

Post by Jan »

Hi, you can create a medium size thumbnails with the same size as small thumbnails has, see:
https://www.phoca.cz/documents/2-phoca-g ... w-resizing

Jan
If you find Phoca extensions useful, please support the project
scharfet
Phoca Member
Phoca Member
Posts: 19
Joined: 16 Nov 2010, 09:40

Re: Change img size in "Display Categories" from medium to s

Post by scharfet »

Hi Jan,

I know how to change the size of the thumbnails. I see that I was not able to explain my problem clearly.

In your tutorial is written:
small thumbnail is displayed in category list layout (categories view)
medium image is displayed in category layout (category view)

I'd like to use two different category views,
A) one done with the component (75x75px)
B) the other owne done with the plugin (on other pages on my website) with a smaller thumbnails (46x35px)


Is it possible to dispay the the plugin with "small" thumbnails instead medium size thumbnails? For example with a certain parameter or by changin a php-file? Or do you know an other solution to display category views with two different tumbnail-sizes?

Thanks!!
borus
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 29 Jan 2012, 14:43
Contact:

Re: Change img size in "Display Categories" from medium to s

Post by borus »

first find the difference in selectors and then try to use css properties
scharfet
Phoca Member
Phoca Member
Posts: 19
Joined: 16 Nov 2010, 09:40

Re: Change img size in "Display Categories" from medium to s

Post by scharfet »

Do some one know a solution to my problem?

Please and thank you!
scharfet
Phoca Member
Phoca Member
Posts: 19
Joined: 16 Nov 2010, 09:40

Re: Change img size in "Display Categories" from medium to s

Post by scharfet »

borus wrote:first find the difference in selectors and then try to use css properties

Thank you, that helped! Although I think there must be a better way to do this.

Nevertheless, it works!!! :twisted:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change img size in "Display Categories" from medium to s

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply