- Posts: 6
COMMUNITY FORUM
change image-height
- Sven Oberreich
-
Topic Author
- Offline
- New Member
Less
More
12 years 10 months ago #109910
by Sven Oberreich
change image-height was created by Sven Oberreich
hey guys
i want to change the height of the item.images - currently are they all of height: auto. thats nice but if you have large images so its not the best choice.
as far as i can see, its possible to changethe width of all images seperatly but if you want to change the height of the images you can do it only for all images... thats not what i want.
now its gonna be difficult
i want to set a max-height : 300px for the item.images (itemlistleading and itemlistprimary)
all other item.images max.height: 150px
i want to change the height of the item.images - currently are they all of height: auto. thats nice but if you have large images so its not the best choice.
as far as i can see, its possible to changethe width of all images seperatly but if you want to change the height of the images you can do it only for all images... thats not what i want.
now its gonna be difficult
i want to set a max-height : 300px for the item.images (itemlistleading and itemlistprimary)
all other item.images max.height: 150px
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 10 months ago #109911
by william white
Replied by william white on topic Re: change image-height
I would try to edit the css of the elements and use the css heigth property.
you can only set width, and if all the images are not the same they will come out diferently
you can only set width, and if all the images are not the same they will come out diferently
Please Log in or Create an account to join the conversation.
- Sven Oberreich
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
12 years 10 months ago #109912
by Sven Oberreich
Replied by Sven Oberreich on topic Re: change image-height
thats stupid (sorry)
as far as i understood correctly - you can change the width everywhere you want - but you can't change the height of the images if you want to have differewnt heights in the different levels...
not nice...
thank you
as far as i understood correctly - you can change the width everywhere you want - but you can't change the height of the images if you want to have differewnt heights in the different levels...
not nice...
thank you
Please Log in or Create an account to join the conversation.
- Matt
-
- Offline
- Senior Member
Less
More
- Posts: 56
12 years 10 months ago #109913
by Matt
Replied by Matt on topic Re: change image-height
You can try the crop image hack that was posted somewhere in this forum. It's for 2.6.3, I don't have time right now to update it to the latest version.
Please Log in or Create an account to join the conversation.