Title: Upload image error when using Work-a-holic theme
Last modified: August 19, 2016

---

# Upload image error when using Work-a-holic theme

 *  [lbrown77](https://wordpress.org/support/users/lbrown77/)
 * (@lbrown77)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/)
 * Hi,
    I’m using the work-a-holic theme from graph paper press and i’m experiencing
   an error when trying to upload portrait images. File sizes are fairly small, 
   they vary between 40kb – 150kb. I’ve been digging around for days trying to fix
   this.
 * The error i receive is:
    Warning: imagecreatetruecolor() [function.imagecreatetruecolor]:
   Invalid image dimensions in /wp-includes/media.php on line 1006
 * Warning: imagecopyresampled(): supplied argument is not a valid Image resource
   in /wp-includes/media.php on line 424
 * Warning: imagejpeg(): supplied argument is not a valid Image resource in /wp-
   includes/media.php on line 455
    285
 * I’ve tried a fresh install of WordPress and the theme and database – with no 
   luck.
    I followed the install [instructions](http://demo.graphpaperpress.com/wp-content/themes/workaholic/instructions.html)
   for the theme and thought leaving the image height blank could be the issue, 
   but adding a value here doesn’t help resolve this. Any help you can offer would
   be great.

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

 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025759)
 * From the theme instructions:
 * > This theme uses jQuery javascript library to do some fancy stuff. If your theme
   > looks broken, than you likely have a plugin that uses a conflicting javascript
   > library. Deactivate your plugins, one-by-one, to determine which plugin is 
   > conflicting with jQuery.
 * Have you tried doing what they suggest – i.e. deactivating all your plug-ins 
   to see if there is a conflict somewhere?
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025760)
 * It may also be a server issue, in which case you might need need to contact your
   host. See this thread about a similar error and the possible solutions:
 * [http://wordpress.org/support/topic/plugin-wp-table-reloaded-error-messages-and-images-not-appearing?replies=4](http://wordpress.org/support/topic/plugin-wp-table-reloaded-error-messages-and-images-not-appearing?replies=4)
 *  Thread Starter [lbrown77](https://wordpress.org/support/users/lbrown77/)
 * (@lbrown77)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025920)
 * I have tried deactivating all plugins, i’ve also tried a fresh install of wordpress,
   my database and the theme.
 * My host says “I confirm GD Library is present and functional and the server is
   running php5.2”
 * I would prefer not to change themes, as i’ve already spent a fair bit of time
   setting up bespoke template layouts etc.
 * I’m a little stuck on what could be causing this.
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025928)
 * At that point I would contact the theme developer directly – hopefully they are
   willing to offer some troubleshooting support. Good luck and do report back on
   how it goes.
 *  Thread Starter [lbrown77](https://wordpress.org/support/users/lbrown77/)
 * (@lbrown77)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025935)
 * Thanks, the developer says ” The errors you mentioned are not generated by the
   theme files but by WordPress core files. Another suggestion is to reinstall WordPress
   or install a fresh copy of the theme.”
 * Which i’ve tried already. I’m hoping to try another webhost shortly, where i 
   can try a fresh upload of everything and try to figure out if its the host, the
   theme or the recent wordpress update i installed.
 * Thanks for your help zoonini. I’ll post back if i get this resolved.
 * Laura
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025946)
 * What is the width of an image you get this error when trying to upload? Wondering
   if WP has a maximum image width. If you try an image of say, 500 px wide, do 
   you get an error?
 * Are your max widths set to this in the theme settings
 * thumbnails – 284
    medium – 600 large – 940
 * …with heights left blank?
 *  Thread Starter [lbrown77](https://wordpress.org/support/users/lbrown77/)
 * (@lbrown77)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025950)
 * I’ve just tried uploading an image 500 x 633 and i received the same error. I
   also just uploaded the same image but at 500 x 400 with no error. So its definitely
   the portrait images causing the trouble.
 * The images do upload however and appear in the gallery tab. The medium and large
   size selection is always inactive – which is why i thought the set-up instructions
   for leaving the height field blank was the issue! so i’ve tried both blank and
   adding a height.
 * Yes the thumbs are 284, med 600 and large 940
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2025957)
 * Have you pointed the theme maker to the other post where someone reported a very
   similar issue with the same theme? Could be a coincidence, but perhaps not… Anyway,
   good luck. 🙂
 *  [g0lem](https://wordpress.org/support/users/g0lem/)
 * (@g0lem)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2026108)
 * Did you have any luck resolving this? I’m experiencing the same problem.
 *  Thread Starter [lbrown77](https://wordpress.org/support/users/lbrown77/)
 * (@lbrown77)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2026109)
 * Hi – no i didnt resolve this, i actually had to start using a different theme.
   
   I purchased the GPP Workaholic-pro, and that worked fine for me.
 * I sent a few emails to them, and they tried to help, but didn’t think it was 
   their theme that was the problem. They got back to me reasonably quick – so i
   would advise giving them a try.
 *  [g0lem](https://wordpress.org/support/users/g0lem/)
 * (@g0lem)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2026110)
 * Ok. Thanks for responding so quickly. Much appreciated.

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

The topic ‘Upload image error when using Work-a-holic theme’ is closed to new replies.

## Tags

 * [work-a-holic](https://wordpress.org/support/topic-tag/work-a-holic/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 3 participants
 * Last reply from: [g0lem](https://wordpress.org/support/users/g0lem/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme/#post-2026110)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
