Title: Enhanced Responsive Images
Author: WordPress Performance Team
Published: <strong>19 januari 2024</strong>
Last modified: 19 maj 2026

---

Sök tillägg

![](https://ps.w.org/auto-sizes/assets/banner-772x250.png?rev=3098222)

![](https://ps.w.org/auto-sizes/assets/icon.svg?rev=3098222)

# Enhanced Responsive Images

 Av [WordPress Performance Team](https://profiles.wordpress.org/performanceteam/)

[Ladda ner](https://downloads.wordpress.org/plugin/auto-sizes.1.7.0.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/auto-sizes/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/auto-sizes/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/auto-sizes/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/auto-sizes/#developers)

 [Support](https://wordpress.org/support/plugin/auto-sizes/)

## Beskrivning

This plugin implements enhancements for the responsive images functionality in WordPress.
Currently, this includes:

 1. Improvements to the accuracy of the `sizes` attribute by using layout information
    available in [block themes](https://wordpress.org/documentation/article/block-themes/).
    This enhancement is not available to classic themes.
 2. Implementation of the new HTML spec for adding `sizes="auto"` to lazy-loaded images.
    This enhancement was [merged](https://make.wordpress.org/core/2024/10/18/auto-sizes-for-lazy-loaded-images-in-wordpress-6-7/)
    into WordPress 6.7.

See also the complimentary [Image Prioritizer](https://wordpress.org/plugins/image-prioritizer/)
plugin which detects which images are outside the viewport, and then adds `loading
=lazy` and `sizes=auto` to them.

There are currently **no settings** and no user interface for this plugin since 
it is designed to work without any configuration.

## Installation

#### Installation inifrån WordPress

 1. Besök **Tillägg > Lägg till nytt**.
 2. Search for **Enhanced Responsive Images**.
 3. Install and activate the **Enhanced Responsive Images** plugin.

#### Manuell installation

 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
 2. Besök **Tillägg**.
 3. Activate the **Enhanced Responsive Images** plugin.

## Vanliga frågor

### Var kan jag skicka in min återkoppling om tillägget?

Återkoppling uppmuntras och uppskattas mycket, särskilt eftersom detta tillägg kan
innehålla framtida funktioner för WordPress-kärnan. Om du har förslag eller önskemål
om nya funktioner kan du [skicka in dem som ett ärenden i GitHub-filförvaret för WordPress Performance Team](https://github.com/WordPress/performance/issues/new/choose).
Om du behöver hjälp med felsökning eller har en fråga om tillägget, [skapa ett nytt ämne på vårt supportforum](https://wordpress.org/support/plugin/auto-sizes/#new-topic-0).

### Var kan jag rapportera säkerhetsproblem?

Performance-teamet och WordPress-communityn tar säkerhetsfel på allvar. Vi uppskattar
dina ansträngningar att ansvarsfullt rapportera dina upptäckter och kommer att göra
allt vi kan för att erkänna dina bidrag.

För att rapportera ett säkerhetsproblem, besök [WordPress HackerOne](https://hackerone.com/wordpress)-
programmet.

### Hur kan jag bidra till tillägget?

Bidrag är alltid välkomna! Läs mer om hur du kan engagera dig i [Handboken för Core Performance-team](https://make.wordpress.org/performance/handbook/get-involved/).

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Enhanced Responsive Images” är programvara med öppen källkod. Följande personer
har bidragit till detta tillägg.

Bidragande personer

 *   [ WordPress Performance Team ](https://profiles.wordpress.org/performanceteam/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

”Enhanced Responsive Images” har översatts till 12 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/auto-sizes/contributors)
för deras bidrag.

[Översätt ”Enhanced Responsive Images” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/auto-sizes)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/auto-sizes/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/auto-sizes/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/auto-sizes/) via [RSS](https://plugins.trac.wordpress.org/log/auto-sizes/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.7.0

**Enhancements**

 * Remove `sizes=auto` as the functionality is now available in WordPress core. (
   [2146](https://github.com/WordPress/performance/pull/2146))

**Bug Fixes**

 * Fix: Moved `column_count` context from `column` block to `columns` block to ensure
   it is available to ancestor blocks. ([2138](https://github.com/WordPress/performance/pull/2138))

**Documentation**

 * Update Enhanced Responsive Images plugin description. ([2145](https://github.com/WordPress/performance/pull/2145))

#### 1.6.0

**Features**

 * Accurate sizes: Add support for `core/post-featured-image` block. ([2084](https://github.com/WordPress/performance/pull/2084))

**Enhancements**

 * Remove experimental from Enhanced Responsive Images readme.txt. ([2077](https://github.com/WordPress/performance/pull/2077))

#### 1.5.0

**Enhancements**

 * Accurate sizes: Add ancestor block context for image and cover block that help
   in sizes calculate. ([1795](https://github.com/WordPress/performance/pull/1795))
 * Accurate sizes: Calculate sizes base on ancestor block context. ([1818](https://github.com/WordPress/performance/pull/1818))

#### 1.4.0

**Features**

 * Accurate Sizes: Incorporate layout constraints in image sizes calculations. (
   [1738](https://github.com/WordPress/performance/pull/1738))

**Enhancements**

 * Accurate sizes: Pass parent alignment context to images. ([1701](https://github.com/WordPress/performance/pull/1701))
 * Accurate sizes: Reorganize file structure by feature. ([1699](https://github.com/WordPress/performance/pull/1699))
 * Accurate sizes: Support relative alignment widths. ([1737](https://github.com/WordPress/performance/pull/1737))
 * Remove `auto_sizes_get_layout_settings()`. ([1743](https://github.com/WordPress/performance/pull/1743))

**Bug Fixes**

 * Accurate sizes: Disable layout calculations for classic themes. ([1744](https://github.com/WordPress/performance/pull/1744))

#### 1.3.0

**Enhancements**

 * Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. (
   [1476](https://github.com/WordPress/performance/pull/1476))
 * Update auto sizes logic in Enhanced Responsive Images plugin to no longer load
   if already in Core. ([1547](https://github.com/WordPress/performance/pull/1547))

#### 1.2.0

**Enhancements**

 * Harden logic to add `auto` keyword to `sizes` attribute to prevent duplicate 
   keyword. ([1445](https://github.com/WordPress/performance/pull/1445))
 * Use more robust HTML Tag Processor for auto sizes injection. ([1471](https://github.com/WordPress/performance/pull/1471))

**Bug Fixes**

 * Remove sizes attribute when responsive images are disabled. ([1399](https://github.com/WordPress/performance/pull/1399))

#### 1.1.0

**Features**

 * Initial implementation of improved image `sizes` algorithm. ([1250](https://github.com/WordPress/performance/pull/1250))

**Enhancements**

 * Improved image `sizes` for left/right/center alignment. ([1290](https://github.com/WordPress/performance/pull/1290))
 * Integrate Auto Sizes with Image Prioritizer to ensure correct sizes=auto. ([1322](https://github.com/WordPress/performance/pull/1322))
 * Update `Auto-sizes for Lazy-loaded Images` plugin name to `Enhanced Responsive
   Images`. ([1335](https://github.com/WordPress/performance/pull/1335))
 * Use correct sizes for small images. ([1252](https://github.com/WordPress/performance/pull/1252))

**Documentation**

 * Update the plugin description for Enhanced Responsive Images. ([1339](https://github.com/WordPress/performance/pull/1339))
 * Update the plugin header description. ([1344](https://github.com/WordPress/performance/pull/1344))

#### 1.0.2

 * Improve overall code quality with stricter static analysis checks. ([775](https://github.com/WordPress/performance/issues/775))
 * Bump minimum PHP requirement to 7.2. ([1130](https://github.com/WordPress/performance/pull/1130))

#### 1.0.1

 * Add auto-sizes generator tag. ([1105](https://github.com/WordPress/performance/pull/1105))
 * Höj den minsta WP-versionen som krävs till 6.4. ([1062](https://github.com/WordPress/performance/pull/1062))
 * Uppdatera den testade WordPress-versionen till 6.5. ([1027](https://github.com/WordPress/performance/pull/1027))

#### 1.0.0

 * Första utgåvan av tillägget ”Auto-sizes for Lazy-loaded Images” som ett fristående
   tillägg. ([904](https://github.com/WordPress/performance/pull/904))

## Ideellt tillägg

Detta tillägg är utvecklat och stöds av en community. [Bidra till detta tillägg](https://github.com/WordPress/performance)

## Meta

 *  Version **1.7.0**
 *  Senast uppdaterat **2 veckor sedan**
 *  Aktiva installationer **50 000+**
 *  WordPress-version ** 6.8 eller senare **
 *  Testat upp till **7.0**
 *  PHP-version ** 7.2 eller senare **
 *  Språk
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/auto-sizes/), [Danish](https://da.wordpress.org/plugins/auto-sizes/),
   [English (US)](https://wordpress.org/plugins/auto-sizes/), [French (France)](https://fr.wordpress.org/plugins/auto-sizes/),
   [German](https://de.wordpress.org/plugins/auto-sizes/), [Persian](https://fa.wordpress.org/plugins/auto-sizes/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/auto-sizes/), [Portuguese (Portugal)](https://pt.wordpress.org/plugins/auto-sizes/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/auto-sizes/), [Spanish (Spain)](https://es.wordpress.org/plugins/auto-sizes/),
   [Swedish](https://sv.wordpress.org/plugins/auto-sizes/), [Turkish](https://tr.wordpress.org/plugins/auto-sizes/)
   och [Vietnamese](https://vi.wordpress.org/plugins/auto-sizes/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/auto-sizes)
 * Etiketter
 * [auto-sizes](https://sv.wordpress.org/plugins/tags/auto-sizes/)[images](https://sv.wordpress.org/plugins/tags/images/)
   [performance](https://sv.wordpress.org/plugins/tags/performance/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/auto-sizes/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/auto-sizes/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/auto-sizes/reviews/)

## Bidragande personer

 *   [ WordPress Performance Team ](https://profiles.wordpress.org/performanceteam/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/auto-sizes/)