suggestion - Forum should scale avatar images proportionally

Posts   
 
    
mkamoski avatar
mkamoski
User
Posts: 116
Joined: 06-Dec-2005
# Posted on: 19-Apr-2006 17:09:25   

All--

This is just a suggestion, for your "spare time".

The Forum should scale avatar images proportionally.

Having a ImageWidthMax and an ImageHeightMax is fine and understandable. However, the adjustument to max should be made and then the other dimension should be adjusted proportionally, to keep the proper image aspect.

That way, it is true that not all images would scale to a square; but, all images would scale within tolerances.

Just a small thought.

:-)

Thank you.

--Mark Kamoski

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 19-Apr-2006 19:20:14   

mkamoski wrote:

All--

This is just a suggestion, for your "spare time".

haha, you're funny wink

The Forum should scale avatar images proportionally.

Having a ImageWidthMax and an ImageHeightMax is fine and understandable. However, the adjustument to max should be made and then the other dimension should be adjusted proportionally, to keep the proper image aspect.

I can write my way out of a wet HTML bag, but what exactly are you proposing because I'm not following you flushed

Should the forum adjust based on the size of the image? that requires the forum first to retrieve the image on the server side, something I'll never ever do.

That way, it is true that not all images would scale to a square; but, all images would scale within tolerances.

Just a small thought. :-) --Mark Kamoski

True, though I think some other issues should be addressed first wink

THis forum will be rewritten with LLBLGen Pro v2 (it's now running llblgen pro v1) and asp.net 2.0 and will be provided as a sample application for v2, with sourcecode. I'll take it into account simple_smile

Frans Bouma | Lead developer LLBLGen Pro
mkamoski avatar
mkamoski
User
Posts: 116
Joined: 06-Dec-2005
# Posted on: 21-Apr-2006 18:29:21   

Otis...

Regarding this...

Otis wrote:

...I can write my way out of a wet HTML bag, but what exactly are you proposing because I'm not following you...

...it turns out that my point is a bit moot because I did not notice the requirement that "Only 60x60 .jpg and .gif are accepted" in the >Profile, >User Icon, section.

However, for the record, what I was saying is that having a fixed size and shaped for the user icon (RequiredHeight x RequiredWidth) is a bit too restrictive, IMHO.

It would be more flexible to enforce bounds (RequiredHeightMax x RequiredWidthMax) instead because it is unlikely that every source image is square.

For example, as it is now with the 60x60 fixed size requirement, I have to scale my image to fit that right. Well, suppose that one has a source image that is not square. Suppose it is a rectange, such as 196x79. In this case, one can scale down proportionally to 50x41 or 60x50 but if one tries to scale that rectangle down to 60x60 it cannot be done proportonally and the resulting image will be skewed. And so on.

Anyway, this is just a small point and I think I have wasted enough time.

Thank you.

--Mark Kamoski

C4 avatar
C4
User
Posts: 32
Joined: 12-Nov-2005
# Posted on: 22-Apr-2006 03:28:33   

mkamoski wrote:

For example, as it is now with the 60x60 fixed size requirement, I have to scale my image to fit that right. Well, suppose that one has a source image that is not square. Suppose it is a rectange, such as 196x79. In this case, one can scale down proportionally to 50x41 or 60x50 but if one tries to scale that rectangle down to 60x60 it cannot be done proportonally and the resulting image will be skewed. And so on.

Thank GOD for Photoshop sunglasses and LLBLGenPro (v2) stuck_out_tongue_winking_eye