Results 1 to 13 of 13

Thread: Image Stretching

  1. #1
    Senior Member Cary's Avatar
    Join Date
    Sep 2007
    Location
    NJ
    Posts
    1,985

    Image Stretching

    I know I've brought this up for the image galleries before, but I've recently noticed the same thing happens in the forums. Is there any way to prevent images under 800px, 818px or whatever the magic number is, from being stretched upwards to around 818px? Obviously, you'd still want the images over that size to be scaled down so it wouldn't break the site template, but is there any reason against just leaving smaller images alone? All the 750px photos I post here look like garbage because they're getting scaled up to around 818px
    General Photography - Website | Instagram
    PlaneCaptures - Website | Instagram

  2. #2
    Senior Member gonzalu's Avatar
    Join Date
    May 2009
    Location
    The Bronx, New York
    Posts
    6,028
    Hmmm, you sure they look like garbage because of the stretch?

    OK OK... seriously. I think the number is 800px ... but I had no idea upscaling was happening too ...

    Manny Gonzalez
    Thrust Images | General Photography | R.I.P. Matt Molnar 1979-2013
    BRING BACK THE KJFK/KLGA OBSERVATION DECKS

  3. #3
    Senior Member gonzalu's Avatar
    Join Date
    May 2009
    Location
    The Bronx, New York
    Posts
    6,028
    Nope, I can't make it scale... does it look scaled to you? This is a 400px image
    Manny Gonzalez
    Thrust Images | General Photography | R.I.P. Matt Molnar 1979-2013
    BRING BACK THE KJFK/KLGA OBSERVATION DECKS

  4. #4
    Senior Member Cary's Avatar
    Join Date
    Sep 2007
    Location
    NJ
    Posts
    1,985
    Quote Originally Posted by gonzalu View Post
    Hmmm, you sure they look like garbage because of the stretch?
    No, it's mostly because of my yellow tint. Your 400px image seems to stay the same. So it might be a certain range that gets scaled up. Being the half-diligent web developer I am, I looked at the code, but the only thing I see wouldn't cause it to scale up (max-width: 800px;). If it was min-width: 800px, it would scale upwards.
    Last edited by Cary; 2012-07-12 at 12:41 AM.
    General Photography - Website | Instagram
    PlaneCaptures - Website | Instagram

  5. #5
    Senior Member gonzalu's Avatar
    Join Date
    May 2009
    Location
    The Bronx, New York
    Posts
    6,028
    On this board, the IMG tag size controls have been disabled so you can't force scaling some more test images...

    Original Size 400px wide


    Original Size 512px wide


    Original Size 576px wide


    Original Size 640px wide
    Manny Gonzalez
    Thrust Images | General Photography | R.I.P. Matt Molnar 1979-2013
    BRING BACK THE KJFK/KLGA OBSERVATION DECKS

  6. #6
    Senior Member Cary's Avatar
    Join Date
    Sep 2007
    Location
    NJ
    Posts
    1,985
    Hah, that's what I was going to do :)



    General Photography - Website | Instagram
    PlaneCaptures - Website | Instagram

  7. #7
    Senior Member Cary's Avatar
    Join Date
    Sep 2007
    Location
    NJ
    Posts
    1,985
    Oh wait, your 400px did scale, up to 435px. It was just less noticeable. Looks like everything that's smaller than a certain amount gets scaled up a little bit(?)
    General Photography - Website | Instagram
    PlaneCaptures - Website | Instagram

  8. #8
    Moderator Matt Molnar's Avatar
    Join Date
    Apr 2005
    Location
    New York
    Posts
    9,302
    Hmmm. I've never noticed any upscaling, Cary, and there shouldn't be any code that causes it to upscale. As you mention, the only sizing in the css is max-width: 800px.

    Which browser are you using?
    Ladies and gentlemen, this is your captain speaking. We have a small problem.
    All four engines have stopped. We are doing our damnedest to get them under control.
    I trust you are not in too much distress. —Captain Eric Moody, British Airways Flight 9

  9. #9
    Senior Member gonzalu's Avatar
    Join Date
    May 2009
    Location
    The Bronx, New York
    Posts
    6,028
    Cary, go get the Add-On "Measure It" available for Firefox, Chrome and Safari http://www.frayd.us/extensions/measureit/

    Then, use it to see if it may be a browser-side effect.

    Here is a shot of what it looks like for me on my end: [you can click on the images below for a full size version]



    Manny Gonzalez
    Thrust Images | General Photography | R.I.P. Matt Molnar 1979-2013
    BRING BACK THE KJFK/KLGA OBSERVATION DECKS

  10. #10
    Senior Member Cary's Avatar
    Join Date
    Sep 2007
    Location
    NJ
    Posts
    1,985
    Oh gosh, I'm a flipping idiot I'm using FF, and I accidentally zoomed in a step by apparently hitting Ctrl ++ sometime recently. And instead of just increasing text size, it literally increases everything. Sorry about that - feel free to delete this thread, or just leave it up so I can be publicly mocked :P In my defense, I'm pretty sure the photos in the gallery really did scale up via the code in the past :)

    Edit: Actually, now that I think about it, while NYCA had the images zoomed, they displayed fine in the other forum I posted them in. So either the zoom is a per-domain feature, or it depends on the way the site is coded.
    Last edited by Cary; 2012-07-12 at 05:55 PM.
    General Photography - Website | Instagram
    PlaneCaptures - Website | Instagram

  11. #11
    Senior Member gonzalu's Avatar
    Join Date
    May 2009
    Location
    The Bronx, New York
    Posts
    6,028
    Cary, look for the Developer add-on (if installed) and see if anything has been set that you should disable :-) Don;t feel bad, things keep getting more and more complicated. Remember the days of Gopher and WAIS? Those were the days :P
    Manny Gonzalez
    Thrust Images | General Photography | R.I.P. Matt Molnar 1979-2013
    BRING BACK THE KJFK/KLGA OBSERVATION DECKS

  12. #12
    Senior Member moose135's Avatar
    Join Date
    Apr 2005
    Location
    Long Island, NY
    Posts
    8,067
    Quote Originally Posted by Cary View Post
    Actually, now that I think about it, while NYCA had the images zoomed, they displayed fine in the other forum I posted them in. So either the zoom is a per-domain feature, or it depends on the way the site is coded.
    I don't know for a fact, but based on my observations, the zoom is limited to the domain. To check, with a couple of NYCA pages open in tabs, plus a couple of other sites, I zoomed in on this thread, then switched between tabs. All of the NYCA pages were zoomed in, but none of the others were.

  13. #13
    Administrator PhilDernerJr's Avatar
    Join Date
    Apr 2005
    Location
    Queens, NY
    Posts
    12,470
    I'm adding this to the list of items for when we revamp the forums. Posting photos and such should be as non-complex as possible and the photos shouldn't need to be effed with in any way.
    Email me anytime at [email protected].

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •