Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Images get an error that disappears after page refresh

Old Jul 24, 2013, 02:52 AM
12 posts · Jun 2013
i keep getting this warning that shows up above an image. i looked at the php, but i'm not sure what the error is.

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /hermes/waloraweb087/b2682/pow.paleri/htdocs/ken/artgarage/wp-includes/media.php on line 937

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /hermes/waloraweb087/b2682/pow.paleri/htdocs/ken/artgarage/wp-includes/class-wp-image-editor-gd.php on line 162
here is a screenshot:

it appears when i add an image, but disappears after i refresh. it doesn't seem to affect the look of the website except on the initial load.

i'm not sure how to fix this. any help would be most appreciated.
Old Jul 24, 2013, 03:56 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
please temporally swap to the Twenty-Twelve theme and try and image insert
1) does it work or do you get the same error?

if you get the same problem, it is not theme related and you might want to look at this thread (http://wordpress.org/support/topic/p...-not-appearing) for some suggestions

if the problem still occurs, what is the size of the image you are inserting:
fiile size?

does your server have a PHP 'upload_max_filesize' set?

Last edited by juggledad; Jul 25, 2013 at 04:47 PM.
Old Jul 25, 2013, 04:08 PM
12 posts · Jun 2013
1) i swapped out the twenty-twelve and it was fine, no error.

it only happens with montezuma. but once i refresh the page, the error is gone. other people seem to be able to see the site fine, without trouble. i tried it several times with different sites and it happens only when i post a new item, but once it's posted, the error disappears.


i read your link, and it seems to be a similar problem. i need to look into it more carefully.

the image sizes vary.

i'm not sure if the server has a 'upload_max_filesize' set. i looked on where it's hosted, but i can't seem to find that information.

i'm going to hold off on troubleshooting this, until it becomes a real problem. the site seems to work, despite the warning.

thanks so much for all your help. i wonder if this happens to anyone else and if they got it to go away.


image, montezuma theme, warning message

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
accordion image menu pictures spread over page on refresh Chuckles Forum How-To 2 Aug 11, 2011 10:16 PM
Using Wordpress as CSS =>Right Sidebar disappears on Static Page gnosis Sidebars & Widgets 0 Jul 2, 2010 09:00 AM
Right hand sidebar disappears in ie on home page sceneabout Atahualpa 3 Wordpress theme 7 Mar 12, 2010 03:14 PM
[SOLVED] Page title and font changes colour on refresh? norwichkaren Atahualpa 3 Wordpress theme 2 Aug 5, 2009 05:11 AM

All times are GMT -6. The time now is 05:25 PM.

Powered by vBulletin® Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.