- Posts: 3
- Thank you received: 0
Set height manually for thumbnails
-
fmg@grupoymer.com
Inactive member - Topic Author
- New Member
Less
More
14 years 7 months ago - 14 years 7 months ago #1143
by fmg@grupoymer.com
Set height manually for thumbnails was created by fmg@grupoymer.com
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.
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: 14 years 7 months ago by fmg@grupoymer.com.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
14 years 7 months ago #1145
by milos
Replied by milos on 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
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.
-
klavdij.lapajne@gmail.com
Inactive member - New Member
Less
More
- Posts: 4
- Thank you received: 0
14 years 4 months ago #2159
by klavdij.lapajne@gmail.com
Replied by klavdij.lapajne@gmail.com on 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
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.151 seconds