Title: CDN Image Proxy
Author: Philip Newcomer
Published: <strong>16 فيبروري 2018</strong>
Last modified: 16 فيبروري 2018

---

پلگ انس ڳولھيو

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

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

# CDN Image Proxy

 کان: [Philip Newcomer](https://profiles.wordpress.org/philipnewcomer/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/cdn-image-proxy.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/cdn-image-proxy/#description)
 * [جائزو](https://snd.wordpress.org/plugins/cdn-image-proxy/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/cdn-image-proxy/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/cdn-image-proxy/#developers)

 [سھائتا](https://wordpress.org/support/plugin/cdn-image-proxy/)

## وضاحت

When developing locally, it’s common to use a database dump from a production site.
With large sites, it’s also common that the production site’s image uploads cannot
be easily copied to the local environment, because there are simply too many of 
them.

While local environments like [Pilothouse](https://github.com/Pilothouse-App/pilothouse)
allow you to easily proxy image uploads to your local environment from the production
site, that doesn’t work so well if you add or change one of the registered thumbnail
sizes in your local copy of the theme, since the new thumbnail size can’t be proxied
from production as it doesn’t exist there. You’re also not able to regenerate the
needed thumbnail sizes locally, because the original image file is not present locally.

_CDN Image Proxy_ solves this problem by using [Jetpack Image CDN](https://jetpack.com/support/photon/)(
formerly Photon) to proxy image uploads from your production site. Jetpack Image
CDN will automatically generate and serve any required thumbnail size on-the-fly,
but _CDN Image Proxy_ will tell it to look for the original image on your production
server, rather than on your local URL.

The result is that you can add or change registered image sizes locally whenever
you want, and Jetpack Image CDN will generate and provide a CDN URL for whatever
thumbnail size is required, sourced from the original image file located on the 
production site.

## انسٽاليشن

 1. Install and activate _CDN Image Proxy_ on your local site
 2. Install and activate _Jetpack_ on your local site
 3. Go to `Settings > Media` and save your production site’s URL in the field provided.

You can also define your production site’s URL as a constant in `wp-config.php`,
like so:

    ```
    define( 'CDN_IMAGE_PROXY_REMOTE_URL', 'http://example.com' );
    ```

## FAQ

  Installation Instructions

 1. Install and activate _CDN Image Proxy_ on your local site
 2. Install and activate _Jetpack_ on your local site
 3. Go to `Settings > Media` and save your production site’s URL in the field provided.

You can also define your production site’s URL as a constant in `wp-config.php`,
like so:

    ```
    define( 'CDN_IMAGE_PROXY_REMOTE_URL', 'http://example.com' );
    ```

  **I thought Jetpack Image CDN (Photon) doesn’t work on local sites, and required
a wordpress.com connection!**

That’s not a question, but _CDN Image Proxy_ will force the Jetpack Image CDN module
to be active on local sites, and will disable the wordpress.com connection requirement
for that module.

  **Are other magic image services supported besides Jetpack Image CDN (Photon)?**

Not at this time, but I’d be open to adding support for other services.

## جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

## تعاون ڪندڙ & ڊولپرز

“CDN Image Proxy” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

 *   [ Philip Newcomer ](https://profiles.wordpress.org/philipnewcomer/)

[ترجمو ڪريو “CDN Image Proxy” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/cdn-image-proxy)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/cdn-image-proxy/)، چيڪ
ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/cdn-image-proxy/)، يا رڪنيت حاصل
ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/cdn-image-proxy/) پاران
[RSS](https://plugins.trac.wordpress.org/log/cdn-image-proxy/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

#### 1.0

 * Initial Release

## ميٽا

 *  Version **1.0.0**
 *  Last updated **8 سالَ اڳ**
 *  Active installations **10 کان گھٽ**
 *  WordPress version ** 3.0 يا وڌيڪ **
 *  Tested up to **4.9.29**
 *  PHP version ** 5.4 يا وڌيڪ **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cdn-image-proxy/)
 * Tags
 * [cdn](https://snd.wordpress.org/plugins/tags/cdn/)[image](https://snd.wordpress.org/plugins/tags/image/)
   [jetpack](https://snd.wordpress.org/plugins/tags/jetpack/)[photon](https://snd.wordpress.org/plugins/tags/photon/)
   [proxy](https://snd.wordpress.org/plugins/tags/proxy/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/cdn-image-proxy/advanced/)

## درجه بندي

No reviews have been submitted yet.

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

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

## تعاون ڪندڙ

 *   [ Philip Newcomer ](https://profiles.wordpress.org/philipnewcomer/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/cdn-image-proxy/)

## عطيو

ڇا توھان ھن پلگ ان جي ترقي ۾ مدد ڪرڻ چاھيو ٿا؟

 [ هن پلگ ان ڏانھن مدد ڪريو ](https://philipnewcomer.net/donate/)