Title: HW Image Widget
Author: Håkan Wennerberg
Published: <strong>10. měrca 2013</strong>
Last modified: 28. apryla 2015

---

Tykace pytaś

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/hw-image-widget/assets/icon-256x256.png?rev=1082143)

# HW Image Widget

 Wót [Håkan Wennerberg](https://profiles.wordpress.org/puffythepirateboy/)

[Ześěgnuś](https://downloads.wordpress.org/plugin/hw-image-widget.4.4.zip)

 * [Drobnostki](https://dsb.wordpress.org/plugins/hw-image-widget/#description)
 * [Pógódnośenja](https://dsb.wordpress.org/plugins/hw-image-widget/#reviews)
 *  [Instalacija](https://dsb.wordpress.org/plugins/hw-image-widget/#installation)
 * [Wuwiśe](https://dsb.wordpress.org/plugins/hw-image-widget/#developers)

 [Pódpěra](https://wordpress.org/support/plugin/hw-image-widget/)

## Wopisanje

This widget requires WordPress 3.5 or newer.

Primary features of HW Image Widget:

 * Allow you to choose responsive or fixed behavior.
 * Fixed sized images allow you to define width/height with, or without kept aspect
   ratio.
 * Responsive sized images will allow you to define „fill width“ or not.
 * Uses TinyMCE for rich text editing of the image text field.
 * Allow you to create a custom widget HTML-template in the active theme to override
   the default layout.
 * Default settings can be overridden using filter.
 * Works with Carrington Build.
 * Works with the theme customizer.
 * Available in English and Swedish.

For more info, visit http://webartisan.se/hw-image-widget/

## Screenshots

 * [[
 * Back-end, using responsive behavior.
 * [[
 * Back-end, using fixed behavior.
 * [[
 * Editing image text using TinyMCE for rich text editing.
 * [[
 * Selecting an image.

## Instalacija

Use standard installation process for a plug-in:

 1. Install HW Image Widget either via the WordPress.org plugin directory, or by uploading
    the files to your server.
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress.

## FAQ

  Installation Instructions

Use standard installation process for a plug-in:

 1. Install HW Image Widget either via the WordPress.org plugin directory, or by uploading
    the files to your server.
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress.

  Can I change the way the widget is displayed?

Yes

  Can I put the title below the image instead?

Yes

  Can I change the default settings of the widget?

Yes

For more info on how to achieve all of this and more, please visit http://webartisan.
se/hw-image-widget/

## Reviews

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

### 󠀁[Great Plugin!!](https://wordpress.org/support/topic/great-plugin-24886/)󠁿

 [dloverly](https://profiles.wordpress.org/dloverly/) 24. februara 2020

This plugin works better in the widget sidebar than any other plugin I’ve used. 
Even though others say they are responsive, this one truly is! Thank you. Dee

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

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-1649/)󠁿

 [uwestoever](https://profiles.wordpress.org/uwestoever/) 3. septembra 2016

Easy to use and many options.

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

### 󠀁[Very Useful!](https://wordpress.org/support/topic/very-useful-901/)󠁿

 [swcomp](https://profiles.wordpress.org/swcomp/) 3. septembra 2016

Easy to use and works well. I really appreciate the fixed size option and also the
TinyMCE text editor which was the deciding factor on me using this plugin. The option
to override the plugin’s image HTML template ( hwim-template.php ) as explained 
on your website is also a really nice touch. It would have saved me typing if the
widget had imported the caption and alt fields for images from the Wordpress Media
library to the text and alt fields in the Widget.

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

### 󠀁[image is not uploading](https://wordpress.org/support/topic/image-is-not-uploading-2/)󠁿

 [hardikkumar1987](https://profiles.wordpress.org/hardikkumar1987/) 3. septembra
2016

It’s not working properly. I couldn’t be able to add image.

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

### 󠀁[Has always worked without bugs or whining](https://wordpress.org/support/topic/has-always-worked-without-bugs-or-whining/)󠁿

 [hatfullofpiss](https://profiles.wordpress.org/hatfullofpiss/) 3. septembra 2016

No problems at all here. Has always worked well on a busy recruiting site, so there.

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

### 󠀁[Well done and flexible](https://wordpress.org/support/topic/well-done-and-flexible/)󠁿

 [rabidgadfly](https://profiles.wordpress.org/rabidgadfly/) 3. septembra 2016

Works great out of the box and the directions to customize your own template helped
a lot. Thanks for a great plugin.

 [ Read all 14 reviews ](https://wordpress.org/support/plugin/hw-image-widget/reviews/)

## Sobustatkujuce a wuwijarje

„HW Image Widget“ jo software wótwórjonego žrědła. Slědujuce luźe su pśinosowali
k toś tomu tykacoju.

Sobustatkujuce

 *   [ Håkan Wennerberg ](https://profiles.wordpress.org/puffythepirateboy/)

[Translate “HW Image Widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/hw-image-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hw-image-widget/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/hw-image-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/hw-image-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/hw-image-widget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 4.4

 * Added option to fill width on responsive images.
 * Added filter (hwim_load_backend) to allow backend to load on custom pages.
 * Fixed several issues concerning the theme customizer.

#### 4.3

 * Added the rel-field including filter to alter its contents.
 * Made the widget fully support the theme customizer.

#### 4.2

 * Added backend link.

#### 4.1

 * Fixed notice on front-end when no image has been selected.

#### 4.0

 * Added support for WordPress 4.0.
 * Replaced custom image selection view with WordPress default „image insert“ view
   to add compatability with WordPress 4.0 while still retaining pre-WordPress 4.0
   compatability. This introduces a „Gallery“ insertion option in the view, but 
   its ignored by the HW Image Widget if used.
 * Made sure JavaScript tags are stripped from the text preview area so they do 
   not execute.
 * Widget now depends on SimpleXML PHP-extention (usually available on shared hosting)
   to strip JavaScript from previews.
 * Fixed issues with the HTML view of the TinyMCE editor.
 * Made sure TinyMCE editor opens up with a decent height.
 * Made sure TinyMCE editor opens up in visual mode.
 * Removed all cookie handling (cookies are no longer edited to set proper TinyMCE
   height for some buggy WP-versions).
 * Fixed issue that could cause height/width attributes for fixed sized images in
   admin change when multiple image widgets are used and a new image is selected.

#### 3.0

 * Adding support for using HW Image Widget in the Carrington Build plugin (widgetized
   pages).
 * Refactoring plugin initialization.
 * Minor admin UI CSS tweaks.

#### 2.7

 * Removing alt attribute from A-tag to conform with HTML standards.

#### 2.6

 * Adding title-attribute to the image tag.

#### 2.5

 * Renamed template file so its more logical for template creators to locate and
   use. It will not break compatability with previous versions.
 * Launched http://webartisan.se/hw-image-widget/ with more helpful info on widget
   usage.

#### 2.4

 * Fixed issue that could cause the TinyMCE editor to fail while in WP_DEBUG on 
   some setups.

#### 2.3.2

 * Fixed issue with text editor now opening when regular post editor was left in
   HTML-view.

#### 2.3.1

 * Minor stylefix for WordPress 3.6 RC1 (back-end field border color).

#### 2.3

 * Removed debug snippet.

#### 2.2

 * Fixed bug with the target option.

#### 2.1

 * Fixed JavaScript bug that could cause widget page JavaScrips to fail.
 * Gracefully fail on old WordPress versions.

#### 2.0

 * Implemented updated Media Library introduced in WordPress 3.5.
 * Updated text editor user interface to be more consistent with WordPress.
 * Dropped support for WordPress older then 3.5 to keep it light and wonderful.
 * Dropped usage of Twitter Bootstrap.
 * Rewrote JavaScript to be less receptive to conflicts with other plugins (could
   still happen though).
 * Fixed TinyMCE editor height when its first opened in the browser.

#### 1.6

 * Fixed image selection issue when using multiple widgets.
 * Play more nicely with other widgets using image selection tool.

#### 1.5

 * Fixed JS-issue with FireFox.

#### 1.4

 * Fixed „From URL“ image selection bug.

#### 1.3

 * Clearing image height/width attributes when removing image.
 * Fixing width/height not being set in WP 3.5+

#### 1.2

 * Some refactoring to support PHP5 < 5.3
 * Dropped loading „optimizations“ to improve overall compatability with custom 
   widget area handling plugins.

#### 1.1

 * Fixed front-end display issue.
 * Fixed media upload tab not working.

#### 1.0

 * First version. Why go beta?

## Meta

 *  Version **4.4**
 *  Last updated **9 lět**
 *  Active installations **1.000+**
 *  WordPress version ** 3.5 abo nowša **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/hw-image-widget/)
 * Tags
 * [image](https://dsb.wordpress.org/plugins/tags/image/)[image widget](https://dsb.wordpress.org/plugins/tags/image-widget/)
   [responsive](https://dsb.wordpress.org/plugins/tags/responsive/)[widget](https://dsb.wordpress.org/plugins/tags/widget/)
 *  [Rozšyrjony naglěd](https://dsb.wordpress.org/plugins/hw-image-widget/advanced/)

## Pógódnośenja

 4.4 out of 5 stars.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/hw-image-widget/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/hw-image-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hw-image-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hw-image-widget/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/hw-image-widget/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/hw-image-widget/reviews/)

## Sobustatkujuce

 *   [ Håkan Wennerberg ](https://profiles.wordpress.org/puffythepirateboy/)

## Pódpěra

Got something to say? Need help?

 [Forum pomocy pokazaś](https://wordpress.org/support/plugin/hw-image-widget/)