{"id":1460,"date":"2026-10-03T12:15:00","date_gmt":"2026-10-03T12:15:00","guid":{"rendered":"https:\/\/netloria.com\/blog\/working-with-media-files-wordpress-en\/"},"modified":"2026-10-03T12:15:00","modified_gmt":"2026-10-03T12:15:00","slug":"working-with-media-files-wordpress-en","status":"publish","type":"post","link":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/","title":{"rendered":"Working with Media Files in WordPress: Uploading, Optimization, Alt Text"},"content":{"rendered":"<p>\u26a1<strong> Quick answer:<\/strong> Every image, video, and document on a site is stored in one shared &#8220;Media Library&#8221; \u2014 regardless of which post or page it&#8217;s attached to. The main things worth keeping an eye on when uploading: file size (large photos directly slow down the site), alt text (a description of the image for accessibility and search engines), and which specific size version you actually insert into the content. In practice, most &#8220;slow site&#8221; complaints turn out to be a problem with heavy, unoptimized images specifically.<\/p>\n<p>The Media Library is one of those admin sections people check less often than the post editor, but it&#8217;s exactly where problems quietly pile up that hurt a site&#8217;s speed and accessibility. Let&#8217;s go through how it&#8217;s organized and what to watch for.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-library-grid.webp\" alt=\"WordPress Media Library grid view with uploaded images\" width=\"1440\" height=\"900\" style=\"max-width:100%;height:auto;border-radius:8px;\" loading=\"lazy\" \/><\/p>\n<h2>Where the media library lives and what it stores<\/h2>\n<p>The &#8220;Media&#8221; menu item opens a grid (or list) of every image, PDF document, and sometimes video uploaded to the site \u2014 regardless of which post or page actually uses it. It&#8217;s a single shared store for the whole site: upload an image once, and you can reuse it across several different posts without uploading it again.<\/p>\n<p>Clicking any image opens an &#8220;Attachment details&#8221; modal with several fields: file name, URL, and three text fields people often confuse:<\/p>\n<ul>\n<li><strong>Alt text<\/strong> \u2014 a description of what&#8217;s shown, for screen readers and for search engines. This is the single most important field from an accessibility and SEO standpoint.<\/li>\n<li><strong>Caption<\/strong> \u2014 text that may display visually under the image on the page, if the theme supports it.<\/li>\n<li><strong>Description<\/strong> \u2014 a freeform internal note, mostly for organizing your own media library; it usually doesn&#8217;t show up on the site itself.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-attachment-details.webp\" alt=\"Image attachment details modal with Alt Text, Caption and Description fields\" width=\"1440\" height=\"900\" style=\"max-width:100%;height:auto;border-radius:8px;\" loading=\"lazy\" \/><\/p>\n<h2>Why alt text matters even though &#8220;nobody sees it&#8221;<\/h2>\n<p>Alt text really is invisible to the average site visitor \u2014 but it&#8217;s critically important in three situations: for people using screen readers due to a visual impairment, for search engines, which don&#8217;t &#8220;see&#8221; an image the way a person does and read the alt text to understand it, and for cases where an image fails to load for some reason \u2014 the browser shows the placeholder text instead of the picture.<\/p>\n<p>Good alt text describes the image&#8217;s content specifically, not in vague terms: not &#8220;photo 1,&#8221; but &#8220;development team discussing a website layout in the office.&#8221; If an image is purely decorative (a background texture, a divider), it&#8217;s fine to leave the alt text empty \u2014 that&#8217;s actually the correct choice too; it explicitly tells assistive technology to skip the element.<\/p>\n<h2>Image sizes: why WordPress creates several copies of one file<\/h2>\n<p>When you upload a single image, WordPress automatically creates several copies of it at different sizes (e.g., thumbnail, medium, large, full size) \u2014 this is needed so a page listing articles loads a small version (fast), not the full-resolution original (slow). When inserting an image into content, the editor lets you choose a specific size \u2014 by default, aim for a size that roughly matches how the image will actually display on the page, rather than always picking &#8220;Full Size.&#8221;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-insert-dialog.webp\" alt=\"Image insertion dialog in the editor with size selection before adding to content\" width=\"1380\" height=\"840\" style=\"max-width:100%;height:auto;border-radius:8px;\" loading=\"lazy\" \/><\/p>\n<h2>File weight: the most common technical speed problem<\/h2>\n<p>A photo taken on a modern phone, or downloaded straight from a stock site, often weighs 3-8 megabytes \u2014 tens of times more than a web page actually needs. Before uploading, it&#8217;s worth compressing images with one of the free online tools (TinyPNG or Squoosh, for example) or converting to WebP, which at the same visual quality weighs noticeably less than JPEG or PNG.<\/p>\n<p>A rough practical threshold: for an image taking up a significant share of the page width, 150-400 KB is usually enough for good quality; figures in the several-megabyte range almost always mean no compression was done at all.<\/p>\n<h2>File formats: which one to use when<\/h2>\n<ul>\n<li><strong>JPEG<\/strong> \u2014 for photographs and complex images with many colors and gradients.<\/li>\n<li><strong>PNG<\/strong> \u2014 for images with a transparent background or simple graphics with sharp edges (logos, icons).<\/li>\n<li><strong>WebP<\/strong> \u2014 a modern format that often gives a smaller file size for the same visual result compared to both JPEG and PNG; most modern browsers support it without issue.<\/li>\n<li><strong>SVG<\/strong> \u2014 for vector graphics (logos, simple illustrations) that stay crisp at any screen size without losing quality.<\/li>\n<\/ul>\n<h2>Table: image formats in practice<\/h2>\n<table>\n<tbody>\n<tr>\n<th>Format<\/th>\n<th>When to use it<\/th>\n<th>Typical file weight<\/th>\n<\/tr>\n<tr>\n<td>JPEG<\/td>\n<td>Photographs, complex images with gradients<\/td>\n<td>Medium-high if uncompressed<\/td>\n<\/tr>\n<tr>\n<td>PNG<\/td>\n<td>Logos, graphics with a transparent background<\/td>\n<td>High for photos, low for simple graphics<\/td>\n<\/tr>\n<tr>\n<td>WebP<\/td>\n<td>Universal replacement for JPEG\/PNG on the web<\/td>\n<td>25-35% smaller than JPEG at equal quality<\/td>\n<\/tr>\n<tr>\n<td>SVG<\/td>\n<td>Icons, simple vector illustrations, logos<\/td>\n<td>Very low, independent of display size<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Bulk actions in the media library: selecting and deleting several files at once<\/h2>\n<p>In list view (the &#8220;List&#8221; toggle next to &#8220;Grid&#8221; at the top of the media library), you can tick checkboxes on several files and apply a bulk action \u2014 deleting a group of unused images at once, say, instead of opening and deleting each one individually. For large libraries (hundreds of files), filtering by file type (image, audio, document) and by date at the top speeds up finding what you need significantly.<\/p>\n<h2>Featured Image vs. images inside the content: these are different things<\/h2>\n<p>It&#8217;s worth distinguishing two different ways of using an image on a page: the &#8220;Featured Image&#8221; in the editor sidebar \u2014 one cover image for the whole piece, shown in previews and social media; and images inserted directly into the text via the &#8220;Image&#8221; or &#8220;Gallery&#8221; block \u2014 they appear exactly where inserted, within the body of the article itself. The same image from the media library can be used as both the Featured Image and inserted again in the text \u2014 this doesn&#8217;t create a duplicate file; both places point to the same single file in the library.<\/p>\n<h2>Replacing an image without changing links across the site<\/h2>\n<p>If you need to replace an image already used on the site (an updated logo, say), you don&#8217;t necessarily have to manually re-insert it into every post. Some plugins add a &#8220;Replace Image&#8221; feature right in the media library&#8217;s attachment details \u2014 the new version of the file is automatically substituted everywhere the old image was used, no manual hunting through every page required. If no such feature is available, the most reliable method is uploading the new image under the exact same filename via FTP or the hosting file manager, after first backing up the original.<\/p>\n<h2>&#8220;Orphaned&#8221; images: files that take up space but are used nowhere<\/h2>\n<p>Over time, the media library accumulates images uploaded &#8220;just in case&#8221; or left behind after the post that used them was deleted \u2014 they stay in the library, taking up hosting space, even though they no longer appear anywhere on the site. The WordPress media library itself doesn&#8217;t show which files are actually in use and which aren&#8217;t; separate plugins exist specifically to check for unused media files. Periodically cleaning up this kind of clutter is good practice for tidiness, though unused files don&#8217;t directly affect site speed (only the ones actually inserted into pages get loaded).<\/p>\n<h2>Common mistakes when working with media files<\/h2>\n<ul>\n<li><strong>Uploading the camera or phone original without compression.<\/strong> The most common cause of slow page loads.<\/li>\n<li><strong>Empty alt text on meaningful (non-decorative) images.<\/strong> A missed opportunity for accessibility and search visibility.<\/li>\n<li><strong>Identical filenames like &#8220;image.jpg&#8221; or &#8220;IMG_2024.png.&#8221;<\/strong> A descriptive filename (e.g., &#8220;development-team-office.jpg&#8221;) also helps search engines understand the content somewhat, unlike a meaningless string of digits from a camera.<\/li>\n<li><strong>Inserting an image at full size where it displays in a small block.<\/strong> The browser still loads the full heavy file regardless, even if CSS visually shrinks it on screen.<\/li>\n<\/ul>\n<p>Image optimization is just one of several components of site speed; we covered the other technical factors in more detail in our piece on <a href=\"https:\/\/netloria.com\/en\/blog-en\/yak-pryskoryty-sajt-na-wordpress-praktychnyj-plan-dij-en\/\">speeding up a WordPress site<\/a>.<\/p>\n<h2>Alt text and accessibility requirements: not just good practice<\/h2>\n<p>In some jurisdictions (within the European Union, for instance), digital accessibility requirements for websites \u2014 including alt text for images \u2014 are set in law, not just offered as a recommendation. For businesses serving a European audience, this is no longer a &#8220;nice to have&#8221; question but a compliance one. We covered exactly which requirements apply and to whom in our piece on <a href=\"https:\/\/netloria.com\/en\/blog-en\/website-accessibility-european-accessibility-act-en\/\">website accessibility and the European Accessibility Act<\/a>.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>Can I upload video files directly to the WordPress media library?<\/h3>\n<p>Technically yes, but for large video files this is poor practice \u2014 they place a significant load on hosting and slow down backups considerably. For video, it&#8217;s almost always better to use YouTube or Vimeo and embed a link or player instead.<\/p>\n<h3>What should I do if an image looks blurry after uploading?<\/h3>\n<p>The most common cause is inserting an image at a size larger than its actual resolution (a small photo stretched across the full page width, for instance). Either upload a higher-resolution version, or reduce the display block&#8217;s size on the page.<\/p>\n<h3>Is it worth deleting old, unused images from the media library?<\/h3>\n<p>Yes, if they&#8217;re genuinely unused \u2014 it frees up hosting space. Before a mass deletion, it&#8217;s worth checking with an unused-media plugin to see exactly what isn&#8217;t attached to any post, so you don&#8217;t accidentally delete something still active.<\/p>\n<h3>Does the WebP format affect compatibility with older browsers?<\/h3>\n<p>Current versions of all major browsers support WebP without issue. As a safety net, some themes and plugins automatically show a JPEG\/PNG fallback for very old browsers that still don&#8217;t support it.<\/p>\n<h3>Do I still need to compress images if an optimization plugin is already installed?<\/h3>\n<p>Optimization plugins (automatic WebP conversion on upload, for example) take care of part of the work, but they don&#8217;t fully replace pre-upload compression \u2014 especially if the original file weighs several megabytes. Combining &#8220;compress before uploading&#8221; with &#8220;plugin optimization afterward&#8221; gives the best result.<\/p>\n<h3>Is there a way to track how much hosting space the media library takes up?<\/h3>\n<p>The overall media library size is usually visible in the hosting control panel (the files or disk-usage section), not directly in the WordPress admin. Some media-optimization plugins also show summary statistics: how many files, total weight, how much was saved through compression.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WordPress media library: why alt text matters, which image format to use when, and why heavy photos are the most common cause of a slow site.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_opengraph-title":"","_yoast_wpseo_opengraph-description":"","_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","_wpml_set_language":"","_wpml_translation_of":0,"footnotes":""},"categories":[45],"tags":[14],"class_list":["post-1460","post","type-post","status-publish","format-standard","hentry","category-blog-en","tag-rozrobka"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Working with Media Files in WordPress | Netloria<\/title>\n<meta name=\"description\" content=\"How to work with the WordPress media library: alt text, image formats, file compression, and common mistakes that slow down a site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Working with Media Files in WordPress | Netloria\" \/>\n<meta property=\"og:description\" content=\"How to work with the WordPress media library: alt text, image formats, file compression, and common mistakes that slow down a site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/\" \/>\n<meta property=\"og:site_name\" content=\"NetLoria - \u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0441\u0430\u0439\u0442\u0456\u0432 \u043f\u0456\u0434 \u043a\u043b\u044e\u0447\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-03T12:15:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-library-grid.webp\" \/>\n<meta name=\"author\" content=\"\u0412\u0430\u0434\u0438\u043c \u0411\u0430\u0433\u0440\u0456\u0439\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0412\u0430\u0434\u0438\u043c \u0411\u0430\u0433\u0440\u0456\u0439\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/\"},\"author\":{\"name\":\"\u0412\u0430\u0434\u0438\u043c \u0411\u0430\u0433\u0440\u0456\u0439\",\"@id\":\"https:\\\/\\\/netloria.com\\\/#\\\/schema\\\/person\\\/09fa31b32e780b5362ae5e2908a2b094\"},\"headline\":\"Working with Media Files in WordPress: Uploading, Optimization, Alt Text\",\"datePublished\":\"2026-10-03T12:15:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/\"},\"wordCount\":1717,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/media-library-grid.webp\",\"keywords\":[\"\u0420\u043e\u0437\u0440\u043e\u0431\u043a\u0430\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/\",\"url\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/\",\"name\":\"Working with Media Files in WordPress | Netloria\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/media-library-grid.webp\",\"datePublished\":\"2026-10-03T12:15:00+00:00\",\"description\":\"How to work with the WordPress media library: alt text, image formats, file compression, and common mistakes that slow down a site.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#primaryimage\",\"url\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/media-library-grid.webp\",\"contentUrl\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/media-library-grid.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/netloria.com\\\/en\\\/blog-en\\\/working-with-media-files-wordpress-en\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/netloria.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/netloria.com\\\/en\\\/category\\\/blog-en\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Working with Media Files in WordPress: Uploading, Optimization, Alt Text\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/netloria.com\\\/#website\",\"url\":\"https:\\\/\\\/netloria.com\\\/\",\"name\":\"NetLoria - \u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0441\u0430\u0439\u0442\u0456\u0432 \u043f\u0456\u0434 \u043a\u043b\u044e\u0447\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/netloria.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/netloria.com\\\/#organization\",\"name\":\"Netloria\",\"url\":\"https:\\\/\\\/netloria.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/netloria.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/cropped-logo.png\",\"contentUrl\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/cropped-logo.png\",\"width\":512,\"height\":512,\"caption\":\"Netloria\"},\"image\":{\"@id\":\"https:\\\/\\\/netloria.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/net.loria\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vadim-bahrii-6736991a1\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/netloria.com\\\/#\\\/schema\\\/person\\\/09fa31b32e780b5362ae5e2908a2b094\",\"name\":\"Vadym Bahrii\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/img_1262-photoroom-picsart-aiimageenhancer-2-150x150.webp\",\"url\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/img_1262-photoroom-picsart-aiimageenhancer-2-150x150.webp\",\"contentUrl\":\"https:\\\/\\\/netloria.com\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/img_1262-photoroom-picsart-aiimageenhancer-2-150x150.webp\",\"caption\":\"Vadym Bahrii\"},\"description\":\"Vadym Bahrii is a full-stack developer and co-founder of the Netloria web studio, with over 6 years of experience building fast, responsive, and scalable websites and digital products for businesses in Ukraine and abroad.\\n\\nHe works across every stage of development \u2014 from architecture and back-end logic to the final front-end. He specializes in custom WordPress development using ACF, PHP, JavaScript, HTML, and CSS, as well as building functionality tailored to a client's specific business needs \u2014 from simple landing pages to complex web applications.\\n\\nHe has hands-on experience integrating WooCommerce for e-commerce projects, connecting payment systems, building subscriptions, LMS platforms (LearnDash), CRM systems, REST APIs, and third-party services. He's comfortable working with databases, server-side logic, AJAX, performance optimization (Core Web Vitals), and complex front-end logic for interactive interfaces.\\n\\nDuring his time at Netloria, he's worked on the full cycle of turnkey website development for startups, e-commerce projects, and corporate clients from the Netherlands, the US, and the UK \u2014 from the technical spec and architecture through launch and support. He writes original articles about web development, design, and digital marketing on the Netloria blog.\\n\\nHis main focus isn't just clean code \u2014 it's comprehensive technical solutions that combine a reliable back end, a smooth UX\\\/UI, and real business results for the client.\",\"url\":\"https:\\\/\\\/netloria.com\\\/en\\\/author\\\/bahrii\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Working with Media Files in WordPress | Netloria","description":"How to work with the WordPress media library: alt text, image formats, file compression, and common mistakes that slow down a site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Working with Media Files in WordPress | Netloria","og_description":"How to work with the WordPress media library: alt text, image formats, file compression, and common mistakes that slow down a site.","og_url":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/","og_site_name":"NetLoria - \u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0441\u0430\u0439\u0442\u0456\u0432 \u043f\u0456\u0434 \u043a\u043b\u044e\u0447","article_published_time":"2026-10-03T12:15:00+00:00","og_image":[{"url":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-library-grid.webp","type":"","width":"","height":""}],"author":"\u0412\u0430\u0434\u0438\u043c \u0411\u0430\u0433\u0440\u0456\u0439","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u0412\u0430\u0434\u0438\u043c \u0411\u0430\u0433\u0440\u0456\u0439","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#article","isPartOf":{"@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/"},"author":{"name":"\u0412\u0430\u0434\u0438\u043c \u0411\u0430\u0433\u0440\u0456\u0439","@id":"https:\/\/netloria.com\/#\/schema\/person\/09fa31b32e780b5362ae5e2908a2b094"},"headline":"Working with Media Files in WordPress: Uploading, Optimization, Alt Text","datePublished":"2026-10-03T12:15:00+00:00","mainEntityOfPage":{"@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/"},"wordCount":1717,"commentCount":0,"publisher":{"@id":"https:\/\/netloria.com\/#organization"},"image":{"@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#primaryimage"},"thumbnailUrl":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-library-grid.webp","keywords":["\u0420\u043e\u0437\u0440\u043e\u0431\u043a\u0430"],"articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/","url":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/","name":"Working with Media Files in WordPress | Netloria","isPartOf":{"@id":"https:\/\/netloria.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#primaryimage"},"image":{"@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#primaryimage"},"thumbnailUrl":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-library-grid.webp","datePublished":"2026-10-03T12:15:00+00:00","description":"How to work with the WordPress media library: alt text, image formats, file compression, and common mistakes that slow down a site.","breadcrumb":{"@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#primaryimage","url":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-library-grid.webp","contentUrl":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/10\/media-library-grid.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/netloria.com\/en\/blog-en\/working-with-media-files-wordpress-en\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/netloria.com\/en\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/netloria.com\/en\/category\/blog-en\/"},{"@type":"ListItem","position":3,"name":"Working with Media Files in WordPress: Uploading, Optimization, Alt Text"}]},{"@type":"WebSite","@id":"https:\/\/netloria.com\/#website","url":"https:\/\/netloria.com\/","name":"NetLoria - \u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0441\u0430\u0439\u0442\u0456\u0432 \u043f\u0456\u0434 \u043a\u043b\u044e\u0447","description":"","publisher":{"@id":"https:\/\/netloria.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/netloria.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/netloria.com\/#organization","name":"Netloria","url":"https:\/\/netloria.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/netloria.com\/#\/schema\/logo\/image\/","url":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/03\/cropped-logo.png","contentUrl":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/03\/cropped-logo.png","width":512,"height":512,"caption":"Netloria"},"image":{"@id":"https:\/\/netloria.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/net.loria","https:\/\/www.linkedin.com\/in\/vadim-bahrii-6736991a1\/"]},{"@type":"Person","@id":"https:\/\/netloria.com\/#\/schema\/person\/09fa31b32e780b5362ae5e2908a2b094","name":"Vadym Bahrii","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/02\/img_1262-photoroom-picsart-aiimageenhancer-2-150x150.webp","url":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/02\/img_1262-photoroom-picsart-aiimageenhancer-2-150x150.webp","contentUrl":"https:\/\/netloria.com\/wp-content\/uploads\/2026\/02\/img_1262-photoroom-picsart-aiimageenhancer-2-150x150.webp","caption":"Vadym Bahrii"},"description":"Vadym Bahrii is a full-stack developer and co-founder of the Netloria web studio, with over 6 years of experience building fast, responsive, and scalable websites and digital products for businesses in Ukraine and abroad.\n\nHe works across every stage of development \u2014 from architecture and back-end logic to the final front-end. He specializes in custom WordPress development using ACF, PHP, JavaScript, HTML, and CSS, as well as building functionality tailored to a client's specific business needs \u2014 from simple landing pages to complex web applications.\n\nHe has hands-on experience integrating WooCommerce for e-commerce projects, connecting payment systems, building subscriptions, LMS platforms (LearnDash), CRM systems, REST APIs, and third-party services. He's comfortable working with databases, server-side logic, AJAX, performance optimization (Core Web Vitals), and complex front-end logic for interactive interfaces.\n\nDuring his time at Netloria, he's worked on the full cycle of turnkey website development for startups, e-commerce projects, and corporate clients from the Netherlands, the US, and the UK \u2014 from the technical spec and architecture through launch and support. He writes original articles about web development, design, and digital marketing on the Netloria blog.\n\nHis main focus isn't just clean code \u2014 it's comprehensive technical solutions that combine a reliable back end, a smooth UX\/UI, and real business results for the client.","url":"https:\/\/netloria.com\/en\/author\/bahrii\/"}]}},"_links":{"self":[{"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/posts\/1460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/comments?post=1460"}],"version-history":[{"count":2,"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/posts\/1460\/revisions"}],"predecessor-version":[{"id":1484,"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/posts\/1460\/revisions\/1484"}],"wp:attachment":[{"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/media?parent=1460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/categories?post=1460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netloria.com\/en\/wp-json\/wp\/v2\/tags?post=1460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}