Title: Dynamic Image Resizer
Author: Samuel Wood (Otto)
Published: <strong>ئاب 4, 2011</strong>
Last modified: نیسان 30, 2012

---

گەڕان لە پێوەکراوەکان

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://s.w.org/plugins/geopattern-icon/dynamic-image-resizer.svg)

# Dynamic Image Resizer

 لەلایەن [Samuel Wood (Otto)](https://profiles.wordpress.org/otto42/)

[داگرتن](https://downloads.wordpress.org/plugin/dynamic-image-resizer.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/dynamic-image-resizer/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/dynamic-image-resizer/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/dynamic-image-resizer/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/dynamic-image-resizer/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/dynamic-image-resizer/)

## وەسف

Normally when you upload an image to a WordPress site, it creates several differently
sized versions of the image automatically. Themes can define custom image sizes 
as well, increasing the amount of images generated on your server.

This plugin changes the way WordPress creates images to make it generate the images
only when they are actually used somewhere, on the fly. Images created thusly will
be saved in the normal upload directories, for later fast sending by the webserver.
The result is that space is saved (since images are only created when needed), and
uploading images is much faster (since it’s not generating the images on upload 
anymore).

“Pretty” permalinks must be enabled for this plugin to function.

Note: This plugin does not work on multisite setups, due to the way WordPress handles
file serving in such situations (with ms-files.php).

Want regular updates? Become a fan of my sites on Facebook!
 http://www.facebook.
com/apps/application.php?id=116002660893 http://www.facebook.com/ottopress

Or follow my sites on Twitter!
 http://twitter.com/ottodestruct

## دامەزراندن

 1. Upload plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. There is no configuration screen.

## پهد

  How does this work?

This plugin does two main things.

First, it sidesteps the part of WordPress that causes the resized images to be generated,
and simply tells the WordPress functions that the images already were generated.

Secondly, it hooks into the normal WordPress 404 handler. When a request is made
for an image that is not on the server, the normal WordPress permalink rules will
apply and WordPress will be triggered into action. It would normally serve up a 
404 page, however the plugin intercepts that and checks to see if a call for an 
image is being made. If so, and it can find the original image, then it resizes 
the image, saves it, and serves it back to the browser instead of the 404 page.

In order to do this, it changes the image naming system a little bit. Resized images
are normally renamed using a style of “image-123×456.jpg”, where the numbers are
the width and the height. This remains the case, however a new option is added. 
For cropped images, the plugin denotes this with the letter “c” at the end of the
image filename. This allows the plugin to determine the width, height, and whether
to use cropping or not just from the filename, and to create the proper image size.

  I changed themes, but my images stayed the same size.

This plugin doesn’t automagically adjust to new themes and new sizing. The image
sizes are specified in the filenames, so all the images in your posts content will
still be sized at the same sizes they were before.

However, if new sizes are defined by the new theme, and those filenames get generated
and requested by that theme, the plugin will generate the new sizes as they are 
retrieved. So while it can’t correct all cases, it can correct some of them.

  What about old images lying around?

The plugin doesn’t clean up old images. If old image sizes are left behind and unused
after changes, you’ll have to manually clean them up. One way is simply to delete
all the resized images (not the originals) and let images get regenerated when they
get used the next time.

## پێداچوونەوەکان

هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.

## بەشداربووان و گەشەپێدەران

“Dynamic Image Resizer” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان
تێدا کردووە.

بەشداربووان

 *   [ Samuel Wood (Otto) ](https://profiles.wordpress.org/otto42/)

[“Dynamic Image Resizer” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/dynamic-image-resizer)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/dynamic-image-resizer/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/dynamic-image-resizer/)
بکە، یان بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/dynamic-image-resizer/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/dynamic-image-resizer/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

#### 1.0

 * Initial Release

## مێتا

 *  وەشان **1.0**
 *  دوایین بەڕۆژکردنەوە **14 ساڵ لەمەوبەر**
 *  دامەزراندنی چالاک **200+**
 *  وەشانی وۆردپرێس ** 3.2 یان بەرزتر **
 *  تاقیکراوەتەوە تا **3.2.1**
 *  زمان
 * [English (US)](https://wordpress.org/plugins/dynamic-image-resizer/)
 * تاگەکان
 * [Dynamic](https://ku.wordpress.org/plugins/tags/dynamic/)[image](https://ku.wordpress.org/plugins/tags/image/)
   [jpg](https://ku.wordpress.org/plugins/tags/jpg/)[resizer](https://ku.wordpress.org/plugins/tags/resizer/)
   [uploader](https://ku.wordpress.org/plugins/tags/uploader/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/dynamic-image-resizer/advanced/)

## هەڵسەنگاندنەکان

 5 out of 5 stars.

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

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

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

## بەشداربووان

 *   [ Samuel Wood (Otto) ](https://profiles.wordpress.org/otto42/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/dynamic-image-resizer/)

## ببەخشە

دەتەوێت پشتگیریی بەرەوپێشچوونی ئەم پێوەکراوە بکەیت؟

 [ ببەخشە بەم پێوەکراوە ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=otto%40ottodestruct%2ecom)