Anyone know how to control the display size of an image?

Discussion in 'Photography Talk' started by LunarSea, Jan 31, 2024.

  1. LunarSea

    LunarSea Front Garden Curator

    Joined:
    Jan 29, 2024
    Messages:
    107
    Gender:
    Male
    Occupation:
    Retired
    Location:
    Peak District foothills
    Ratings:
    +551
    I posted this elsewhere but thought someone here might know the answer ....


    I tried an experiment today. I uploaded an image that I'd saved at three different sizes - 800 pixels wide, 1000 & 1600. But they all displayed in the message at the same width, with various degrees of compression.

    With my SLR camera I shoot RAW files which are pretty big (~25Mb) and use Photoshop Elements to convert them to JPEGs and to resize (usually to 1000 pixel width) which usually reduces the actual file size to between 500 - 1000kb.

    The reason I'm asking about controlling the display size is that there's little point in carefully reducing images to 1000 pixels wide if the forum software then displays them at an unknown size (but considerably bigger than that) and adds a load of 'noise' in the process.

    I've looked at the HTML (or Javascript) behind an image (using right-click then Inspect) but can't find the display size anywhere, plus I'm really struggling to understand the code.
     
    • Informative Informative x 1
    • Loofah

      Loofah Admin Staff Member

      Joined:
      Feb 20, 2008
      Messages:
      12,710
      Gender:
      Male
      Location:
      Guildford
      Ratings:
      +21,988
      The forum software automatically sizes the images. Simpler the the vast majority just uploading a jpeg
       
      • Agree Agree x 2
      • Informative Informative x 1
      • pete

        pete Growing a bit of this and a bit of that....

        Joined:
        Jan 9, 2005
        Messages:
        48,399
        Gender:
        Male
        Occupation:
        Retired
        Location:
        Mid Kent
        Ratings:
        +86,557
        I just post Jpegs as already stated, but then I dont mess around with pictures in anyway, what you see is what it was.:biggrin:
         
        • Like Like x 1
        • Informative Informative x 1
        • Sheal

          Sheal Total Gardener

          Joined:
          Feb 2, 2011
          Messages:
          35,656
          Gender:
          Female
          Location:
          Beauly, Inverness-shire. Zone 9a
          Ratings:
          +52,716
          I've found if the images are much too big then the forum will reject them.
           
          • Agree Agree x 2
          • Informative Informative x 1
          • Balc

            Balc Total Gardener

            Joined:
            Mar 6, 2022
            Messages:
            2,440
            Gender:
            Male
            Occupation:
            Retired
            Location:
            Huntingdon, Cambs
            Ratings:
            +9,679
            I've seldom had problems with my photos that I've uploaded. The only problem I see from time to time is that the file names are sometimes too long & I have to shorten them before they can be uploaded!
            .
             
          • LunarSea

            LunarSea Front Garden Curator

            Joined:
            Jan 29, 2024
            Messages:
            107
            Gender:
            Male
            Occupation:
            Retired
            Location:
            Peak District foothills
            Ratings:
            +551
            Just me being a perfectionist. Typical camera nerd :th scifD36:
             
            • Funny Funny x 2
            • wiseowl

              wiseowl FRIENDLY ADMIN Staff Member

              Joined:
              Oct 29, 2006
              Messages:
              44,288
              Gender:
              Male
              Occupation:
              Philosophy of people
              Location:
              In a barn somewhere in North Kent
              Ratings:
              +90,068
              Have no fear of perfection - you'll never reach it;)

              @LunarSea why not shoot both RAW and JPEG simultaneously on your DSLR camera. its called RAW+JPEG mode. When you shoot in RAW+JPEG mode, your camera will save two copies of each image: one in the RAW format and one in the JPEG format. You can use the RAW file for editing and the JPEG file for sharing, that way you have the best of both worlds its what I do;)
               
              • Like Like x 2
              • JWK

                JWK Gardener Staff Member

                Joined:
                Jun 3, 2008
                Messages:
                30,956
                Gender:
                Male
                Location:
                Surrey
                Ratings:
                +46,372
                Like a lot of people I use a phone to view the forum so any image over 300 dpi is wasted
                 
              • LunarSea

                LunarSea Front Garden Curator

                Joined:
                Jan 29, 2024
                Messages:
                107
                Gender:
                Male
                Occupation:
                Retired
                Location:
                Peak District foothills
                Ratings:
                +551
                Because the JPEG only needs to be the size needed for on-line display and it's easier to just create bespoke ones when the need arises. The smallest JPEG that the camera creates is 2592 pixels wide & 2MB in size, whereas I usually create one no bigger than 1000 pixels wide and therefore within the usual forum file-size restrictions. I think of the RAW file as the digital negative from which I then make 'prints' according to requirements. To be honest I enjoy doing the conversion manually plus any required adjustments. Once you have an established 'workflow', it can be done in less than 1 minute.

                See ..... told you I was a nerd :)
                 
                • Funny Funny x 1
                • Informative Informative x 1
                • wiseowl

                  wiseowl FRIENDLY ADMIN Staff Member

                  Joined:
                  Oct 29, 2006
                  Messages:
                  44,288
                  Gender:
                  Male
                  Occupation:
                  Philosophy of people
                  Location:
                  In a barn somewhere in North Kent
                  Ratings:
                  +90,068
                  Good morning @LunarSea it seems to me that you have somewhere in your original question provided the answer yourself:smile:

                  Anything you do to a RAW file causes it to lose quality, at least in theory. But, a RAW file is not usable without further processing. JPEG is a lossy format with 8 bits per channel. 'Lossy' means it throws information away to reduce file size.


                  Have you tried Going to 'File' and choosing 'Save As' and select from the list '. jpg' (it might appear as JPEG). Choose a compression between 90-100%, otherwise this leads to loss of quality. Compression also reduces the file size.

                  You could of course to improve JPG image quality, you can use AI image upscalers like Upscale. media. By uploading your JPG image to Upscale. media, the advanced AI algorithms will enhance the resolution and visual quality, resulting in a higher-quality image with improved details and sharpness.
                   
                • NigelJ

                  NigelJ Total Gardener

                  Joined:
                  Jan 31, 2012
                  Messages:
                  6,169
                  Gender:
                  Male
                  Occupation:
                  Mad Scientist
                  Location:
                  Paignton Devon
                  Ratings:
                  +21,450
                  When I first joined this forum I had a few problems and was advised to resize to 800 x 600 pixel and that I have done since then and had no further problems. There have been changes to the forum software/setup since then. So do I still need to, no idea. However that size works well for me here and on other forums and media. I can always crop to highlight the flower and then resize. If someone wanted a bigger image then they could ask and I could email the original, never happened though.
                   
                  • Agree Agree x 2
                  • shiney

                    shiney President, Grumpy Old Men's Club Staff Member

                    Joined:
                    Jul 3, 2006
                    Messages:
                    61,486
                    Gender:
                    Male
                    Occupation:
                    Retired - Last Century!!!
                    Location:
                    Herts/Essex border. Zone 8b
                    Ratings:
                    +118,842
                    Yes, the previous forum software used to be fairly restrictive on size but this software tends to cope with, and convert, larger sizes - up to a limit.
                     
                    • Like Like x 1
                    • JWK

                      JWK Gardener Staff Member

                      Joined:
                      Jun 3, 2008
                      Messages:
                      30,956
                      Gender:
                      Male
                      Location:
                      Surrey
                      Ratings:
                      +46,372
                      Depends which raw format, my explorer and browser handle and display all my raw formats without further processing. My photo manager, Lightroom, also is just fine.
                       
                      • Creative Creative x 1
                      • wiseowl

                        wiseowl FRIENDLY ADMIN Staff Member

                        Joined:
                        Oct 29, 2006
                        Messages:
                        44,288
                        Gender:
                        Male
                        Occupation:
                        Philosophy of people
                        Location:
                        In a barn somewhere in North Kent
                        Ratings:
                        +90,068
                        A RAW file is lossless, meaning it captures uncompressed data from your camera sensor. Sometimes referred to as a digital negative, you can think of a RAW file as the raw “ingredients” of a photo that will need to be processed in order to bring out the picture's full potential.;)
                         
                      • shiney

                        shiney President, Grumpy Old Men's Club Staff Member

                        Joined:
                        Jul 3, 2006
                        Messages:
                        61,486
                        Gender:
                        Male
                        Occupation:
                        Retired - Last Century!!!
                        Location:
                        Herts/Essex border. Zone 8b
                        Ratings:
                        +118,842
                        I'm pleased I only aim and snap! :heehee:
                         
                        • Funny Funny x 1
                        Loading...

                        Share This Page

                        1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
                          By continuing to use this site, you are consenting to our use of cookies.
                          Dismiss Notice