Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Photo Gallery Joomla plugin.

Topic-icon Set height manually for thumbnails

6 years 10 months ago - 6 years 10 months ago #1143 by
Is there a way to set up not only width for thumbnails? It´s a little bit ugly when you have vertical and horizontal images.

It´ll also help me if I could set different width and height between galleries, so I can change width and height directly in every string. Something like this:

{photogallery src=[/images/stories/fruit/] width=[100] height=[100]}

Can you tell me wich code I´ll have to change to do this?

thanks a lot.

Last Edit: 6 years 10 months ago by

Please Log in to join the conversation.

6 years 10 months ago #1145 by milos
One of those 2 unpleasant situation is always necessary in image galleries:

1. To have both vertical and horizontal images
2. To crop or squeeze vertical and/or horizontal images

We decided to use #1 for this plugin. One of the next versions will have option for different thumbnail sizes throughout site. This initial version doesn't have it.


Please Log in to join the conversation.

6 years 7 months ago #2159 by
if u really need this than u can do it in two ways...

1)u can do in it css

something like

#gallery img{
height: XXXpx;
width: YYYpx;
padding: PP px;
margin:MM px;

be shure to mach thumbnail width in settings with the one in css for better effect - still images that dont match the css size will be distorted to that size

note: if anything overrides your width/height setting from css u can always use !important to have it your way ;)

2)manual resize
to avoid distorted images and css u can manually correct the thumbnail images ... but that works only if u dont have a lot of them ;)

Please Log in to join the conversation.

Time to create page: 0.114 seconds

Links, Partners and Social Media