Title: Permissions problem [function.imagepng]
Last modified: August 20, 2016

---

# Permissions problem [function.imagepng]

 *  [safor](https://wordpress.org/support/users/safor/)
 * (@safor)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/permissions-problem-functionimagepng/)
 * I am getting this error:
 * >  Warning: imagepng() [function.imagepng]: Unable to open *//wp-content/uploads/
   > 2012/03/434_Slider-292093_95x54.png’ for writing: Permission denied in *\wp-
   > includes\media.php on line 461
 * For all of the photos on my site. The line referenced is: `if ( !imagepng( $newimage,
   $destfilename ) )`
 * I have confirmed that the correct permissions are set for ALL wp-content/uploads
   folders. I have tried disabling all plugins. I’m stumped! Help please…

The topic ‘Permissions problem [function.imagepng]’ is closed to new replies.

## Tags

 * [permissions](https://wordpress.org/support/topic-tag/permissions/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [safor](https://wordpress.org/support/users/safor/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/permissions-problem-functionimagepng/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
