Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSandro Meschiari
18,418 Pointsscale picture
hi guys, i'm using different size picture, i would like to be scale all of them at the same size, how can i do this?
3 Answers
Ben Spears
19,148 PointsIf you define the width of the pictures as a percentage, they will take up the same amount of space, However if they have different heights they will not have the same height dimension.
Brenna Leker
7,596 PointsHi Sandro, You can resize your pictures by using the img width and height properties.
Russ Fleharty
Python Web Development Techdegree Student 10,815 PointsYou can use any picture editing software it should do the trick or only set the width or height, and it will scale them automatically. I think...just an opinion. Hope it helps.