Page 1 of 1

Change thumbnail image size in all views

Posted: 21 Jun 2024, 13:21
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? :?

Re: Change thumbnail image size in all views

Posted: 21 Jun 2024, 13:42
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

Re: Change thumbnail image size in all views

Posted: 27 Jun 2024, 11:09
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

Re: Change thumbnail image size in all views

Posted: 27 Jun 2024, 15:13
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

Re: Change thumbnail image size in all views

Posted: 27 Jun 2024, 20:42
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

Re: Change thumbnail image size in all views

Posted: 28 Jun 2024, 16:11
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