Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Custom thumb size function doesn't work - SOLVED

  • Jelger Visser
  • Jelger Visser's Avatar Topic Author
  • Offline
  • New Member
More
16 years 9 months ago - 16 years 9 months ago #11508 by Jelger Visser
???

Hello,

I cannot change the thumbnail size of individual thumbnails in Joomla! 1.5.1 (using SIG Pro 1.2 for J!1.5.x).

The global settings are 200 (width) and 150 (height). I have tried this:
{gallery}monthly_pic:400:268{/gallery}

But the thumbs are still displayed according to the global settings. What am I doing wrong?

Regards, Jelger

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago #11509 by Roz Kelly
Replied by Roz Kelly on topic Re: Custom thumb size function doesn't work
{gallery}monthly_pic:400:268:0{/gallery}
i think you have to put all the possibilities in so use the display mode too = 0 for normal mode. see text below:



{gallery}folder_path:thumbs_width:thumbs_height:display_mode{/gallery}

Watch out for the seperator, which is the character ":". "thumbs_width" is the target width in pixels for all thumbnails, "thumbs_height" is the target height in pixels for all thumbnails and "display_mode" is the mode in which we want our gallery to display. "display_mode" takes only 2 values, either "0" or "1". "0" means "normal mode" and "1" means "single thumbnail mode".

Please Log in or Create an account to join the conversation.

  • Jelger Visser
  • Jelger Visser's Avatar Topic Author
  • Offline
  • New Member
More
16 years 9 months ago #11510 by Jelger Visser
Replied by Jelger Visser on topic Re: Custom thumb size function doesn't work
The same text tells me that it is not necessary to fill in all the parameters:

These values are not manadatory. This means you can use: {gallery}some_folder:200:160{/gallery} to adjust dimensions only to thumbs (no change in display mode)...


But thanks anyway.

Please Log in or Create an account to join the conversation.

  • Jelger Visser
  • Jelger Visser's Avatar Topic Author
  • Offline
  • New Member
More
16 years 9 months ago #11511 by Jelger Visser
Replied by Jelger Visser on topic Re: Custom thumb size function doesn't work - SOLVED
Problem solved.

I had to delete the temporary internet files.  :-[ Function now works fine... Sorry.

Regards, Jelger

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum