Title: [Plugin: Post Gallery] Error when uploading with PG
Last modified: August 19, 2016

---

# [Plugin: Post Gallery] Error when uploading with PG

 *  Resolved [bonsak](https://wordpress.org/support/users/bonsak/)
 * (@bonsak)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-post-gallery-error-when-uploading-with-pg/)
 * Hi when uploading images with “Post Gallery” to a local WP instalation, i get
   an error when uloading:
    `PHP Warning: fopen(http://localhost/irene/wp-content/
   plugins/post-gallery/uploads/1249053706_Fiskespill_kaptein.jpg)` I can see that
   the url is wrong because its suppused to have to portnumber included: [http://localhost:8888/irene&#8230](http://localhost:8888/irene&#8230);
   Is this easy to fix?
 * Regards
    Bonsak

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [allmarkedup](https://wordpress.org/support/users/allmarkedup/)
 * (@allmarkedup)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-post-gallery-error-when-uploading-with-pg/#post-1162058)
 * Yeah, just to confirm I am having this exact problem too. Port number not included
   in localhost image lookup.
 * Nice plugin otherwise though. Just what i needed!
 *  Thread Starter [bonsak](https://wordpress.org/support/users/bonsak/)
 * (@bonsak)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-post-gallery-error-when-uploading-with-pg/#post-1162078)
 * Fixed it by changin my Mamp port number settings to “Default ports”. Remeber 
   to remove portnumbers from your blog url in the dashboard before you change your
   Mamp setting or your site will be unreachable.
 * Regards
    Bonsak
 *  [Jon Christopher](https://wordpress.org/support/users/jchristopher/)
 * (@jchristopher)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-gallery-error-when-uploading-with-pg/#post-1162182)
 * Hi everyone, just wanted to note that Post Gallery has been deprecated in favor
   of [ Attachments ](http://wordpress.org/extend/plugins/attachments/) which is
   a plugin aimed at the same goal, but uses WordPress’ built in Media Library to
   handle the assets, which should result in a much more stable plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Post Gallery] Error when uploading with PG’ is closed to new
replies.

 * 3 replies
 * 3 participants
 * Last reply from: [Jon Christopher](https://wordpress.org/support/users/jchristopher/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-gallery-error-when-uploading-with-pg/#post-1162182)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
