Member
Member
DahStan   2010-04-17, 02:02
#1

Hello,

I'm trying to get my thumbnail pictures square, and begin to lost the faith =)

More seriously, my setting for thumb picture size is 500 and those on main page are cropped to w320-h50

When I enter an album, the thumbnail pictures are stretched, an when I modify the W/H settings in the CSS, size change but stretching not.

Any idea ?

=> www.borism.fr/darkroom/

Member
Member
Blue Dragonfly   2010-04-17, 04:27
#2

I might be misunderstanding (and am admittedly too tired to follow that link and dig deeper at this particular moment!), but do note that "resizing" an image via CSS will simply stretch it to the desired proportions, and therefore lose the proper aspect ratio. You'd need to have the actual thumbnail images sized to the desired proportions in order to avoid stretching. There is likely code in your theme files that requests images of a specific size in order to satisfy the theme's layout, so the theme files would need to be edited to reflect the desired dimensions.

Member
Member
DahStan   2010-04-19, 23:24
#3

Thanks for this, it helps me understanding my idea was not well thought.

So I have to find another solution to resize pictures without using CSS.

Thanks

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.