PluginProbe ʕ •ᴥ•ʔ
Image Widget / 3.3.7
Image Widget v3.3.7
trunk 1.0 2.0 2.1 2.2 2.2.1 2.2.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.2 3.2.1 3.2.10 3.2.11 3.2.2 3.2.3 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.1 4.1.1 4.1.2 4.2 4.2.1 4.2.2 4.3 4.3.1 4.4 4.4.1 4.4.11 4.4.12 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9
image-widget / readme.txt
image-widget Last commit date
lang 13 years ago resources 13 years ago views 13 years ago image-widget.php 13 years ago readme.txt 13 years ago screenshot-1.png 14 years ago screenshot-2.png 14 years ago screenshot-3.png 14 years ago
readme.txt
329 lines
1 === Image Widget ===
2 Contributors: ModernTribe, peterchester, mattwiebe
3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
4 Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize, french, german, japanese, portuguese, romanian, swedish, dutch, czech, ssl, https, widget-only
5 Requires at least: 3.0
6 Tested up to: 3.4.1
7 Stable tag: 3.3.7
8
9 == Description ==
10
11 Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
12
13 * MU Compatible
14 * Handles image resizing and alignment
15 * Link the image
16 * Title and Description
17 * Very versatile. All fields are optional.
18 * Upload, link to external image, or select an image from your media collection using the built in thickbox browser.
19 * Supports override of template so that you can override the template for your theme!
20 * Supports HTTPS/SSL image urls
21
22 Supported Languages (feel free to contribute other languages):
23
24 * Dutch
25 * French
26 * German
27 * Japanese
28 * Portuguese
29 * Romanian
30 * Swedish
31 * Czech
32
33 This plugin is actively supported and we will do our best to help you. In return we simply as 3 things:
34
35 1. Help Out. If you see a question on the forum you can help with or have a great idea and want to code it up and submit a patch, that would be just plain awesome and we will shower your with praise. Might even be a good way to get to know us and lead to some paid work if you freelance. Also, we are happy to post translations if you provide them.
36 1. Donate - if this is generating enough revenue to support our time it makes all the difference in the world
37 https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
38 1. Support us by buying our Premium plugins. In particular, check out our Events Calendar Pro http://tri.be/wordpress-events-calendar-pro/
39
40 == Installation ==
41
42 = Install =
43
44 1. In your WordPress administration, go to the Plugins page
45 1. Activate the Image Widget plugin and a subpage for the plugin will appear
46 in your Manage menu.
47 1. Go to the Appearance > Widget page and place the widget in your sidebar in the Design
48
49 If you find any bugs or have any ideas, please mail us.
50
51 Please visit the forum for questions or comments: http://wordpress.org/tags/image-widget/
52
53 = Requirements =
54
55 * PHP 5.1 or above
56 * WordPress 3.0 or above
57
58 == Documentation ==
59
60 The built in template can be overridden by files within your template.
61
62 = Default vs. Custom Templates =
63
64 The Image Widget comes with a default template for the widget output. If you would like to alter the widget display code, create a new folder called "image-widget" in your template directory and copy over the "views/widget.php" file.
65
66 Edit the new file to your hearts content. Please do not edit the one in the plugin folder as that will cause conflicts when you update the plugin to the latest release.
67
68 New in 3.2: You may now also use the "sp_template_image-widget_widget.php" filter to override the default template behavior for .php template files. Eg: if you wanted widget.php to reside in a folder called my-custom-templates/ and wanted it to be called my-custom-name.php:
69
70 `add_filter('sp_template_image-widget_widget.php', 'my_template_filter');
71 function my_template_filter($template) {
72 return get_template_directory() . '/my-custom-templates/my-custom-name.php';
73 }`
74
75 = Filters =
76
77 There are a number of filters in the code that will allow you to override data as you see fit. The best way to learn what filters are available is always by simply searching the code for 'apply_filters'. But all the same, here are a few of the more essential filters:
78
79 *widget_title*
80
81 This is actually a pretty typical filter in widgets and is applied to the widget title.
82
83 *widget_text*
84
85 Another very typical widget filter that is applied to the description body text. This filter also takes 2 additional arguments for $args and $instance so that you can learn more about the specific widget instance in the process of filtering the content.
86
87 *image_widget_image_url*
88
89 Filters the url of the image displayed in the widget.
90 Accepts additional $args and $instance arguments.
91
92 *image_widget_image_link*
93
94 Filters the url that the image links to.
95 Accepts additional $args and $instance arguments.
96
97 *image_widget_image_link_target*
98
99 Filters the link target of the image link.
100 Accepts additional $args and $instance arguments.
101
102 *image_widget_image_width*
103
104 Filters the display width of the image. Hint: override this to use this in responsive designs :)
105 Accepts additional $args and $instance arguments.
106
107 *image_widget_image_height*
108
109 Filters the display height of the image.
110 Accepts additional $args and $instance arguments.
111
112 *image_widget_image_align*
113
114 Filters the display alignment of the image.
115 Accepts additional $args and $instance arguments.
116
117 *image_widget_image_alt*
118
119 Filters the alt text of the image.
120 Accepts additional $args and $instance arguments.
121
122 == Changelog ==
123
124 = 3.3.7 =
125
126 * Add filters so that people can more easily adjust the output of the widget as per @TCBarrett's request.
127
128 = 3.3.6 =
129
130 * Czech translation courtesy of Vladislav Musilek at blogísek (http://blog.musilda.cz).
131
132 = 3.3.5 =
133
134 * Fix filtered media library inserts thanks to @miraclemaker as well as @oxyc, @BjornW and innumerable others in the support forum (http://wordpress.org/support/topic/plugin-image-widget-add-image-upload-an-image-select-insert-into-widget-no-image-is-shown)
135 * Adjusted HTTPS/SSL handling so that it's only applied in the view. ( thanks @TheFluffyDoneky and @aerobrent )
136 * Added a filter for the image url: 'image_widget_image_url'
137 * Add Dutch language translation ( thank you Carsten Alsemgeest - presis.nl )
138 * Rename all language files to lowercase image_widget to match the localization string.
139
140 = 3.3.4 =
141
142 * Fix javascript bugs in the widget admin UI. ( thanks for filing this @joo-joo )
143 * Fix notices in php error log.
144 * Add widget description filter $args and $instance ( thanks @jeffreyzinn )
145 * Fixed localization and renamed key to 'image-widget'
146
147 = 3.3.3 =
148
149 * Romanian translation courtesy of Alexander Ovsov at Web Geek Science (http://webhostinggeeks.com).
150
151 = 3.3.2 =
152
153 * Remove extra esc_attr() from the $title display. (Thank you @romaspit)
154
155 = 3.3.1 =
156
157 * Add minor security updates.
158 * Update readme, thumbnails and other minor descriptors.
159
160 = 3.3 =
161
162 * Fix to allow the widget to work in the non-async (browser) uploader. Props Bjorn Wijers
163
164 = 3.2.11 =
165
166 * Yet another minor JS fix to hopefully address issues of lightbox not working
167
168 = 3.2.10 =
169
170 * Fix JS typo.
171
172 = 3.2.9 =
173
174 * Minor JS fix to hopefully address issues of lightbox not working
175 * Use new the new [jQuery.fn.on](http://api.jquery.com/on/) method for forward compatibility.
176
177 = 3.2.8 =
178
179 * Minor bugfix courtesy of Takayuki Miyauchi (@miya0001)
180 * Polish translation courtesy of Łukasz Kliś
181
182 = 3.2.7 =
183
184 * Update javascript to work with the new version of WordPress (thanks Matt Wiebe!!! @mattwiebe)
185 * Added Japanese translation courtesy of Takayuki Miyauchi (@miya0001)
186
187 = 3.2.6 =
188
189 * Add HTTPS support courtesy of David Paul Ellenwood (DPE@SGS)
190
191 = 3.2.5 =
192
193 * Added Swedish translation courtesy of Tomas Lindhoff (@Tomas)
194
195 = 3.2.4 =
196
197 * Added javascript conflict prevention code thanks to @rcain.
198
199 = 3.2.3 =
200
201 * Added French translation courtesy of Dominique Corbex (@Domcox)
202
203 = 3.2.2 =
204
205 * Added Portuguese translation courtesy of Gustavo Machado
206
207 = 3.2.1 =
208
209 * Fix image widget public declaration bug.
210
211 = 3.2 =
212
213 * Abstract views for widget output and widget admin.
214 * Support theme override of the widget output! Now you can layout the widget however you'd like.
215 * Added filter to override template call.
216
217 = 3.1.6 =
218
219 * Fixed Wordpress 3.0 bugs. (Thanks @kenvunz)
220
221 = 3.1.5 =
222
223 Fixed PHP 5 bug. Removed 'public' declaration. http://wordpress.org/support/topic/362167 Thanks @mpwalsh8, @jleuze, @PoLaR5, @NancyA and @phoney36
224
225 = 3.1.4 =
226
227 * Added support for ALT tags. If no alt tag is entered the title is used.
228
229 = 3.1.3 =
230
231 * Added German language support (Thank you Rüdiger Weiß!!!)
232
233 = 3.1.2 =
234
235 * Fix bug: XHTML Compliance (thanks HGU for offering a patch and thanks @webmasterlistingarts for filing the bug)
236 * Replaced `<p>` with `<div>` in description to also improve XHTML compliance.
237
238 = 3.1.1 =
239
240 * Fix bug: php4 reported error: PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' (thanks @natashaelaine and @massimopaolini)
241
242 = 3.0.10 =
243
244 * Fix bug: improve tab filters.
245
246 = 3.0.9 =
247
248 * Fix bug: update tabs filter to not kill tabs if upload window is for non widget uses.
249
250 = 3.0.8 =
251
252 * Remove the "From URL" tab since it isn't supported.
253 * Replace "Insert into Post" with "Insert into Widget" in thickbox.
254
255 = 3.0.7 =
256
257 * Fix Dean's Fcuk editor conflict. (Thanks for the report Laurie @L_T_G)
258 * Fix IE8 bug (Remove extra comma from line 66 of js - thanks for the report @reface)
259 * Update functions and enqueued scripts to only trigger on widget page.
260
261 = 3.0.6 =
262
263 * Fix crash on insert into post.
264
265 = 3.0.5 =
266
267 Thank you @smurkas, @squigie and @laurie!!! Special thanks to Cameron Clark from http://prolifique.com a.k.a @capnhairdo for contributing invaluable javascript debugging skills and throwing together some great code.
268
269 * PHP4 compatibility
270 * Tighter integration with the thickbok uploader attributes including caption, description, alignment, and link
271 * Tighter image resize preview
272 * Add Image link becomes "Change Image" once image has been added
273
274 = 3.0.4 =
275
276 * Minor description changes
277
278 = 3.0.3 =
279
280 * Fixed the broken "Add Image" link (THANK YOU @SMURKAS!!!)
281
282 = 3.0.2 =
283
284 * Added PHPDoc comments
285 * Temporarily fixed install bug where no image is saved if resize is not working. (thank you Paul Kaiser from Champaign, Il for your helpful QA support)
286
287 = 3.0.1 =
288
289 * Added 'sp_image_widget' domain for language support.
290
291 = 3.0 =
292
293 * Completely remodeled the plugin to use the native WordPress uploader and be compatible with Wordpress 2.8 plugin architecture.
294 * Removed externalized widget admin.
295
296 = 2.2.2 =
297
298 * Update <li> to be $before_widget and $after_widget (Thanks again to Lois Turley)
299
300 = 2.2.1 =
301
302 * Update `<div>` to be `<li>` (Thanks to Lois Turley)
303
304 = 2.2 =
305
306 * Fixed missing DIV close tag (Thank you Jesper Goos)
307 * Updated all short tags to proper php tags (Thank you Jonathan Volks from Mannix Marketing)
308
309 = 2.1 =
310
311 * Link Target
312
313 = 2.0 =
314
315 * Multi widget support
316 * WP 2.7.1 Compatibility
317 * Class encapsulation
318
319 == Screenshots ==
320
321 1. Image Widget admin screen.
322 1. Thickbox uploader for the Image Widget
323 1. Image Widget on the front of a plain Wordpress install.
324
325 == Frequently Asked Questions ==
326
327 = Where do I go to file a bug or ask a question? =
328
329 Please visit the forum for questions or comments: http://wordpress.org/tags/image-widget/