Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Images get an error that disappears after page refresh


  #1  
Old Jul 24, 2013, 02:52 AM
eddiefrankie
 
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.

Quote:
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.
  #2  
Old Jul 24, 2013, 03:56 AM
juggledad's Avatar
juggledad
 
23,628 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:
height?
width?
fiile size?

does your server have a PHP 'upload_max_filesize' set?

Last edited by juggledad; Jul 25, 2013 at 04:47 PM.
  #3  
Old Jul 25, 2013, 04:08 PM
eddiefrankie
 
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.

http://www.silverlakeartgarage.com/

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.

Bookmarks

Tags
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 09:44 PM.


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