The correct use of WordPress Media Library and the secret of Alt text
When you upload a new product or blog article to your website, the most obvious step is to immediately drag an image taken with your phone or camera into WordPress. The system accepts without a word, the photo is beautifully displayed, so everything seems to be fine.
However, in the background, this is one of the most common reasons why a website gets heavy in a few months, loads slowly on mobile, and gets full of storage space. A single raw 4-6 megabytes phone photo alone can boost page load times by seconds. Let's see how to use professionally the Media library, and what to look out for when uploading each image!
Step by step: Upload and set images correctly in the Media Library
- Prepare the image before uploading. Before uploading anything, check the size and filename of the image.
- Size: For a full-width cover image, a maximum of 1920 pixels width, and for a photo inserted in an article or product 1000 to 1200 pixels It is also more than enough. Keep the file size as much as possible 150-250 KB below (for this, free online compressors such as TinyPNG or a Squoosh help in no time).
- File name: No
IMG_20261202_1432.jpgupload it under the name! Rename it to an eloquent name without accents or spaces, separated by hyphens (e.g.wine-full-boot-black.jpg). Google loves that too.[Screenshot location: Comparison of a raw multi-megabyte phone photo and an optimized renamed ~150 KB file]
- Open the Media Library. In the black admin menu on the left side of WordPress, click Media library (Media) menu item, then at the top Add a new media file (Add New) button.[Screenshot location: The menu bar on the left, highlighting Media Library and the “Add New Media File” button]
- Upload the file. Drag the image from your computer to the area marked with the dotted line, or click Select files button. The upload will run in a few seconds and the image will appear in the Media Library grid.[Screenshot location: Media library upload interface with “Draw files here” box]
- Fill in the Alt text. This step is what most people skip, even though it’s worth gold in terms of SEO and accessibility. Click on the newly uploaded image! In the datasheet on the right, find the Alternative text (Alt Text) field and describe in a short, precise sentence what is visible in the image (e.g. "Black leather winter children's boots with Velcro").
- Why is it important? Google’s robots don’t “see” images like humans do—this text tells them what’s in the photo so you can show up in Google Image Search. In addition, reading software for visually impaired users reads this text.[Screenshot location: Data sheet of the image in the Media Library, highlighting the “Alternative text” field with a red border]
- Paste into page or post The Media Library automatically saves Alt text, so you don't have to search for a separate Save button. Then, on any page, blog article or WooCommerce product, the Image by adding a block, the Media library Select to paste the photo with one click.
💡 Common Mistakes and Pro Tip
- Don't upload the same picture five times. If you want to use a logo or product image on multiple pages, don’t re-upload it from your machine – simply select the existing one from the Media Library. Thus, it does not take up unnecessarily space on the storage space.
- Pro Tip (Modern formats): If you can, use WebP format instead of traditional JPG or PNG. With the same sharp image quality, up to 30-50%gives you a smaller file size, which WordPress already supports by default.
Is your Media Library already full of huge images or is your storage space full?
If you’ve uploaded a lot of large photos before and now feel your page is slow, you don’t have to redo everything one by one. With automated image optimization tools, most existing images can be safely compressed and converted to WebP format afterwards.
If you need help fixing the Media Library or your storage space is full, open a ticket in the peterteszary.com Ticket Manager (Support Genix) and optimize your images without damaging any of your photos!

