By clicking “Accept” you consent to our use of cookies on your device. See our privacy policy for more information.
How to process images for online use and social media

How to process images for online use and social media

Kevin Larsen
Last Updated
March 21, 2025

Using too large images on the web is expensive and takes longer to load, while most platforms also have file size limitations.
Therefore, it's nice to process or compress your images for the purpose for which they will be used - here is an overview of tools and other useful information.

Choose the right file format

  • JPEG — Best for photos and images with many colors. Provides a good balance between quality and file size.
  • WEBP — A modern format that provides good quality with low file size, ideal for web pages.
  • AVIF — A newer format that offers even better compression than WEBP, but comes at the cost of being more demanding to load and isn't as well supported yet.

In most cases, I would recommend using WebP on websites and in social media, as it is both smaller than JPG, supports transparency and often looks the same or better.
If quality is a high priority, for example for an image portfolio, then WebP also supports lossless compression, while being a bit less in size than lossless PNG.

Facebook, Instagram and Linkedin, among others, support WebP.

Compression of images

High resolution images can lead to long loading times. Compression reduces file size, often without noticeable loss of quality. Some good tools for this are:

TinyPNG

Allows you to compress images in bulk, to jpg, webp, etc.


Squoosh

The tool I like to use the most. Allows you to compare before-after, specifying in detail how the image will be processed. Processing is done locally on your machine, so you don't have to upload the images to edit them.

The tool also allows you to resize the image — so you don't have to upload the image in 4K when it doesn't have to be that big.

While WebP supports slightly smaller colors than JPEG, WebP uses a number of additional techniques to reduce artifacts.
For example, one often avoids color bands (visible transitions between colors), which would otherwise be visible in JPEG format.

This can be reduced down to 2000x2000 and quickly becomes 90% smaller

XnConvert

In cases where you have hundreds of images to be processed, preferably in the same way - I like a more advanced tool called XnConvert.
In the program, you can predefine all the settings, and run through all the images in the same thread. Here is a brief instruction manual:

  • Add photos by dragging and dropping the files into the program, select images through “add files” or a folder through “add folder”.
  • Go to “Actions”tab to add extra treatments such as:
    • Resize — Adjust the width/height of the image proportionally.
    • Pruning — Remove unwanted parts of the image.
    • Color Adjustment — Change contrast, brightness and hues.
    • Watermarking — Add a logo or text to protect your content.
I like the “resize” action with the “longest page” setting. Then the images will always be reduced down to X size, while the image format is taken into account. This can be found through Add action -> Transform -> Resize.
  • Go to “Outputs” tab and select the desired format, such as JPEG, PNG or WEBP.
Here I recommend using WebP with default settings.
In this tab, you can also choose how to name the processed images and whether to keep or delete the original ones.
  • Adjust quality and compression by changing the quality slider or using presets.
  • Click “Convert” to process the images, and they are saved in the selected folder.

Extra: problems with incorrect rotation of photos from iPhone

When taking photos with an iPhone, the rotation information is stored in The EXIF metadata instead of changing the actual pixels in the image.
This can cause images to look correct on Apple devices, but appear sideways or upside down on some websites and in social media.

How to Fix Wrong Rotation with XnConvert

You can use XnConvert to automatically correct the rotation in your photos.

  • Go to “Actions” tab and click “Add action”.
  • Select “Image” → “Rotate” → “EXIF Orientation”.
  • Go to “Outputs” tab and select the desired format (JPEG, PNG, WEBP, etc.).
  • Click “Convert” to save the corrected images.

Resize and crop

Many websites and social media sites have maximum sizes or specific requirements for image sizes and aspect ratio. In order for the images to look professional and appear optimally on various platforms, they often have to be correct size, crop and aspect ratio.

I recommend Squoosh for individual images or Xnconvert for bulk - however if you have your own image editing programs, then that's even better! You can use programs like Figma, Canva, Adobe Lightroom/Photoshop, Affinity Photo, Paint, GIMP, etc..

Image Size

When uploading photos online, they should be optimized for both visual quality and loading time. An image that is too large can make a web page slow, while an image that is too small can become pixelated and blurry.

Relevant image sizes for social media:

Plattform Størrelse for innlegg (px) Story/Reel-format (px)
Facebook 1200 x 630 (landskap) 1080 x 1920
Instagram 1080 x 1080 (kvadrat) / 1080 x 1350 (portrett) 1080 x 1920
LinkedIn 1200 x 627 -
X(Twitter) 1600 x 900 -

Aspect Ratio

Aspect ratio describes the relationship between the width and height of an image. For example, means 16:9 that the width is 16 units and the height is 9 units.

In general, you can get away with customizing the images you use to work in multiple situations. For example, an image with a 1:1 ratio and the focus object in the center of the image as well as the use of a margin of safety (air around the object), can be used for most things even if it is automatically cropped in various locations.

Common aspect ratios:

  • 1:1 (square) -- can be used on most sites, the facebook feed is often in 1:1. Profile pictures and employee photos are often good in 1:1.
  • 3:2 (photography) - often used as a standard in photography and commonly for use on websites. Provides a balanced look combined with text content.
  • 4:5 (portrait) It is also used in Facebook and Instagram feeds.
  • 16:9 (landscape) — Standard for videos and widescreen images, often suitable as the top image on front pages and in articles.
  • 9:16 (vertical format) — Ideal for short videos viewed on mobile - Stories, Reels and TikTok. Also suitable for portrait and employee photos.

artikler innen

How to process images for online use and social media
Guides

How to process images for online use and social media

Using too large images online is expensive and takes longer to load, at the same time, most platforms have file size limitations.That's why it's okay to process or compress your images

LES MER
How to Reduce Spam on Your Facebook Business Page
Guides

How to Reduce Spam on Your Facebook Business Page

Like many others, you have certainly received notifications that your accounts will be disabled, blocked, sued, and everything else.

LES MER
5 nyttige verktøy for digital markedsføring
Guides
Digital Marketing
Web Analytics
SEO

5 nyttige verktøy for digital markedsføring

Vi utforsker fem nyttige verktøy for digital markedsføring: Meta Business Suite, ChatGPT, Google Analytics, Google Search Console, og Canva

LES MER
How and why take good portrait photos?
Photography
Guides

How and why take good portrait photos?

Portrait images play a key role in corporate branding. Read our guide to the perfect portraits!

LES MER
Does SEO work? A small search engine guide
SEO
Guides

Does SEO work? A small search engine guide

SEO, or search engine optimization, is the key to being found on the internet. It is the process of improving a website's visibility for relevant searches. What makes it so important?

LES MER
Alle artikler

Gain control of your marketing

Digital marketing tailored to your needs

Grazie! Your submission has been received!
Oops! Something went wrong while submitting the form.