Change thumbnail image size in all views

Phoca Gallery - image gallery extension
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Change thumbnail image size in all views

Post by jb80 »

Is there a way to change the thumbnail image size in the Category View and Detail View, like you can in Categories View? Available image size options; Small, Medium, Small folder icon, medium folder icon.

It would be great if you could change the thumbnail image size for all views; Category View, Categories View and Detail View. :idea:

Furthermore, why is the Large thumbnail option missing from the dropdown option? :?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Change thumbnail image size in all views

Post by Benno »

Hi,
Is there a way to change the thumbnail image size in the Category View and Detail View, like you can in Categories View? Available image size options; Small, Medium, Small folder icon, medium folder icon.
No, but you can change all thumbnail sizes:
Backend --> Components --> Phoca Gallery --> Control Panel --> Options --> Thumbnails --> Images And Detail Window Size Settings -->
Large Image Width=
Large Image Height=
Medium Image Width=
Medium Image Height=
Small Image Width=
Small Image Height=
Set new sizes and recreate the thumbnails.

Kind regards,
Benno
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Re: Change thumbnail image size in all views

Post by jb80 »

Ah, yeh. I already do that. The problem is the image is just resized to fit the container object.

Is there a way to open a feature request/suggestion to allow the ability to select thumbnail size in all views? i.e. replicate the behaviour in Categories View to the other views? That is, provide a drop down list to select either 1) small 2) medium or 3) large thumbnails.

Meanwhile, I wonder whether there is a hack to change the image source to either;
  • phoca_thumb_s_xxxx.jpg
  • phoca_thumb_m_xxxx.jpg
  • phoca_thumb_l_xxxx.jpg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change thumbnail image size in all views

Post by Jan »

What do you exactly mean with: "Is there a way to open a feature request/suggestion to allow the ability to select thumbnail size in all views?"

The system is following: on your server, there are three thumbnails sizes and each thumbnailsize is used in different view. E.g. in detail, the large ist used, in category view the medium is used.

Of course, because of responsivity, the "physical" size can be changed by template CSS. But as default, there are three sizes of thumbnails.

Jan
If you find Phoca extensions useful, please support the project
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Re: Change thumbnail image size in all views

Post by jb80 »

Hi Jan,

I thought it would be a good suggestion to provide the flexibility to "choose" the thumbnail size (small/medium/large) for each view type, rather than have it hard coded. i.e. replicate the option as currently done in Categories View (see picture below).

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change thumbnail image size in all views

Post by Jan »

Hi, Joomla includes great option which is template override and there you can override each output with own template override file. The in fact, the argument about "hardcoded" is not valid as you can override it easily.

The problem with options is, there can be milions of possible options to fit user needs but we need to select only the important, because a lot of options make the system confusing and slow loading. :-(

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