Title: Responsive Image Widget
Author: benarobinson
Published: <strong>9 juli 2013</strong>
Last modified: 22 juli 2013

---

Sök tillägg

![](https://ps.w.org/responsive-image-widget/assets/banner-772x250.png?rev=738437)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/responsive-image-widget_949fa2.svg)

# Responsive Image Widget

 Av [benarobinson](https://profiles.wordpress.org/benarobinson/)

[Ladda ner](https://downloads.wordpress.org/plugin/responsive-image-widget.zip)

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

 [Support](https://wordpress.org/support/plugin/responsive-image-widget/)

## Beskrivning

A very simple widget that displays a single responsive, rationally proportional 
image in a widget area. Intended to make adding images (whose proportions are important)
to sidebar areas easier for non-technical users who would have trouble using the
text widget to insert images into the sidebar.

One of its key features is the fact that it allows proportional adjustment on the
fly, so the user can easily change the proportion of the image inside of WordPress,
instead of needing to resize the image in an editor (a problem for many users who
do not have a lot of experience resizing/cropping images.) Basically, it creates
a frame for an image rather than adding an image directly, and the frame size can
be set before the image is added, much like in Adobe inDesign, where frames can 
be laid out and then have pictures inserted into them.

It takes a title, image URL, ratio and target link URL. It outputs a rationally 
proportional div with the image set as a background. Using the CSS background-size
and background-position properties, the image always fills the whole space and remains
centered.

Note: the image _always_ fills the width of its container. If the widget/widget 
area where the image is placed is large, the image will appear large.

## Skärmdumpar

[⌊The widget controls.⌉⌊The widget controls.⌉[

The widget controls.

[⌊A vertical image frame.⌉⌊A vertical image frame.⌉[

A vertical image frame.

[⌊A square image frame.⌉⌊A square image frame.⌉[

A square image frame.

[⌊A very horizontal image frame.⌉⌊A very horizontal image frame.⌉[

A very horizontal image frame.

## Installation

 1. Upload `responsive_image_widget.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ’Plugins’ menu in WordPress
 3. Place widget(s) in your sidebar areas through ’Appearance > Widgets’ in WordPress

## Vanliga frågor

  The image is cropping badly. It is centered and I really wanted to see the top/
bottom right/left corner. Can I change how the image crops?

Yes, you can control which edge the image crops from by selecting a side in the ”
Crop From” dropdown.

  Help! The image is gigantic and/or pixelated!

The image _always_ fills 100% of the containing widget it is in. If the widget/widget
area where the image is placed is large, the image will appear large. Use an image
that is larger than the widget area you plan to use it in to avoid pixelation.

## Recensioner

![](https://secure.gravatar.com/avatar/9c1d3a0a896c7ebf2a5cc0c250737de06bfc91ea9c4a680990a57cf71825d3c6?
s=60&d=retro&r=g)

### 󠀁[1 pic](https://wordpress.org/support/topic/1-pic/)󠁿

 [Den999](https://profiles.wordpress.org/den999/) 7 februari 2017

Sorry, only one insert image by the URL, and only one picture for all pages – this
is not a plugin. I don’t know what is it.

 [ Läs alla 5 betyg ](https://wordpress.org/support/plugin/responsive-image-widget/reviews/)

## Bidragsgivare och utvecklare

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

Bidragande personer

 *   [ benarobinson ](https://profiles.wordpress.org/benarobinson/)

[Översätt ”Responsive Image Widget” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/responsive-image-widget)

### Intresserad av programutveckling?

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

## Ändringslogg

#### 1.1

 * Added ”Crop From” feature to help position image in frame.

#### 1.2

 * Added !important to CSS background property to prevent overwrite by theme styles.

#### 1.3

 * Added inline style for anchor element to display: block to make sure image displays.

#### 1.4

 * Fixed version update problem.

## Meta

 *  Version **1.4**
 *  Senast uppdaterat **13 år sedan**
 *  Aktiva installationer **400+**
 *  WordPress-version ** 3.0.1 eller senare **
 *  Testat upp till **3.5.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/responsive-image-widget/)
 * Etiketter
 * [easy](https://sv.wordpress.org/plugins/tags/easy/)[image](https://sv.wordpress.org/plugins/tags/image/)
   [responsive](https://sv.wordpress.org/plugins/tags/responsive/)[widget](https://sv.wordpress.org/plugins/tags/widget/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/responsive-image-widget/advanced/)

## Betyg

 4.2 av 5 stjärnor.

 *  [  4 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/responsive-image-widget/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/responsive-image-widget/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/responsive-image-widget/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/responsive-image-widget/reviews/?filter=2)
 *  [  1 1-stjärnig recension     ](https://wordpress.org/support/plugin/responsive-image-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/responsive-image-widget/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/responsive-image-widget/reviews/)

## Bidragande personer

 *   [ benarobinson ](https://profiles.wordpress.org/benarobinson/)

## Support

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

 [Visa supportforum](https://wordpress.org/support/plugin/responsive-image-widget/)