Title: pointless6's Replies | WordPress.org

---

# pointless6

  [  ](https://wordpress.org/support/users/pointless6/)

 *   [Profile](https://wordpress.org/support/users/pointless6/)
 *   [Topics Started](https://wordpress.org/support/users/pointless6/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pointless6/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pointless6/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pointless6/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pointless6/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pointless6/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] NextGen gallery and amazon cloudspace/S3](https://wordpress.org/support/topic/plugin-nextgen-gallery-nextgen-gallery-and-amazon-cloudspaces3/)
 *  [pointless6](https://wordpress.org/support/users/pointless6/)
 * (@pointless6)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-nextgen-gallery-and-amazon-cloudspaces3/#post-1288586)
 * If anyone is still interested, I made a very simple tweak to make this work for
   me.
 *     ```
       <br />
       Head over to wp-content > plugins > nextgen-gallery > lib<br />
       ```
   
 * Open up image.php in your favorite editor.
 * Check around line 53 for this code:
 *     ```
       <br />
       $gallery = (object) $gallery;<br />
       ```
   
 * Directly beneath it add this:
 *     ```
       <br />
       $cdnURL = "TYPE_YOUR_CDN_URL_HERE";<br />
       ```
   
 * (being sure to replace TYPE_YOUR_CDN_URL_HERE with your external URL!!)
    Now 
   scroll down to line 68 – 69. Look for this
 *     ```
       $this->imageURL	= siteurl() . '/' . $this->path . '/' . $this->filename;
       $this->thumbURL = siteurl() . '/' . $this->path . '/thumbs/thumbs_' . $this->filename;
       ```
   
 * (This is off the top of my head so i may have mistyped that.)
 * Then simply change both
 * siteurl()
 * to
 * $cdnURL
 * Hope this helps!

Viewing 1 replies (of 1 total)