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

More
7 years 3 months ago - 7 years 3 months ago #1143 by fmg@grupoymer.com
fmg@grupoymer.com created the topic: Set height manually for thumbnails
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.

Fernando.
Last Edit: 7 years 3 months ago by fmg@grupoymer.com.

Please Log in to join the conversation.

More
7 years 3 months ago #1145 by milos
milos replied the topic: Re: Set height manually for thumbnails
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.

Thanks

Please Log in to join the conversation.

More
6 years 11 months ago #2159 by klavdij.lapajne@gmail.com
klavdij.lapajne@gmail.com replied the topic: Re: Set height manually for thumbnails
if u really need this than u can do it in two ways...

1)u can do in it css

something like

#gallery img{
display:box;
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.123 seconds

Links, Partners and Social Media