Preparing images for Joomla – size, format and alt text
A photo from a smartphone is easily 4000 pixels wide and several megabytes in size. On the website it may appear 800 pixels wide, but the whole file is loaded. With a few steps before uploading, your website becomes faster and more accessible, and your photos no longer give away where they were taken.
1. The right size
First ask yourself how wide the image will appear on the website at most. A full-width header image needs about 2000 to 2500 pixels, an image in the text column 1200 to 1600 pixels, a thumbnail in a tile rarely more than 800. Some headroom for high-resolution screens makes sense, but more than twice the display width gains nothing.
As a rough guide for file size: a header image should stay below 300 KB, an image in the text below 200 KB.
You can scale images down right in Joomla. Under Content → Media you open an image for editing and find crop, resize and rotate there. This overwrites the original, so make a copy first if you need one.
2. The right format
- JPEG for photos.
- PNG for graphics with few colours, sharp edges or transparency, such as screenshots.
- WebP and AVIF are modern formats that are considerably smaller at the same quality. All current browsers display them, and Joomla's media manager accepts them out of the box.
- SVG for logos and icons that should stay sharp at any size. Joomla does not allow SVG uploads out of the box; you enable them in the Media options.
3. Remove metadata and location
Smartphone photos often contain the place where they were taken as GPS coordinates, plus device and time. This information travels to the website with the upload, and anyone can read it. For a photo from the office that may not matter, for a picture from your own garden it does. Many image programs remove the metadata on export if you choose that option.
4. A good alt text
The alt text describes the image for people who cannot see it, for example with a screen reader, and for search engines. In Joomla you find the field for the intro image and the full article image under Image Description (Alt Text).
- Describe what matters for the content: “Our team in front of the office building” rather than “photo” or “IMG_4711”.
- Keep it short. One sentence is usually enough.
- Do not start with “image of …”. The screen reader says that anyway.
- Purely decorative images get no text. For those, tick No Description in Joomla, and the screen reader skips the image.
5. Choose images through the image field
If you choose images in Joomla through the image field, Joomla remembers width and height and loads images outside the visible area only when needed. The page then does not jump while loading and appears faster. Images inserted into the text by address only often lack this information.
And the images that are already there?
On an existing website it is worth looking through the media folder: where is the alt text missing, which photos give away where they were taken, which images are far too large? With hundreds of files this is hardly possible by hand.
That is what I developed Media Organizer for. The Free version costs nothing, checks alt texts and location data and also finds images that are no longer used at all. More on that in the article Finding orphaned images in Joomla.
The Pro version scales down and compresses oversized images in one run without changing file names, and it can be undone. You enter alt texts for many images at once there, and if you wish it switches references to WebP or AVIF copies.
This article is also available in German.

Related extension
A question about this topic, or an idea for the next guide? Write to me.
Norbert Graup
Joomla bundle: all Pro versions, updates and personal support.














