Title: [Plugin: Simple Portfolio]
Last modified: August 20, 2016

---

# [Plugin: Simple Portfolio]

 *  [baszalmstra](https://wordpress.org/support/users/baszalmstra/)
 * (@baszalmstra)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-simple-portfolio/)
 * I found a bug using a wordpress network. Images can be uploaded but as soon as
   a project is uploaded you cannot reedit your project or the image will dissapear.
   I tracked it down to the fact that the image.html file could not be loaded using
   wp_remote_fopen. It always said Not Found.
 * The first problem I found was that WP_PLUGIN_URL (as used in admin-menu.php in
   the function portfolio_meta_media_html) is not correct in this context. It has
   to point to the wordpress network plugins url, not to the current sites plugins
   url (cause it doesn’t exist).
 * However when I changed it to the correct url the file could still not be loaded
   using wp_remote_fopen although I could browse to the url specified as the wp_remote_fopen
   argument.
 * In the end I solved it by removing wp_remote_fopen and using file_read_contents
   instead. I also had to use WP_PLUGIN_DIR instead of WP_PLUGIN_URL.
 * I don’t know if this is a common problem with network sites or if this is something
   that went wrong on my end. Anyway, this post is to notify the developers so that
   they may (or may not) change it in a future release. Perhaps there is a better
   solution than my quick hack? 😀
 * Cheers!
 * [http://wordpress.org/extend/plugins/simple-portfolio/](http://wordpress.org/extend/plugins/simple-portfolio/)

The topic ‘[Plugin: Simple Portfolio]’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-portfolio.svg)
 * [Simple Portfolio](https://wordpress.org/plugins/simple-portfolio/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-portfolio/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-portfolio/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-portfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-portfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-portfolio/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [baszalmstra](https://wordpress.org/support/users/baszalmstra/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-simple-portfolio/)
 * Status: not resolved