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


  #1  
Old Jul 24, 2013, 03: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, 04:56 AM
juggledad's Avatar
juggledad
 
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:
height?
width?
fiile size?

does your server have a PHP 'upload_max_filesize' set?

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



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 11:16 PM
Using Wordpress as CSS =>Right Sidebar disappears on Static Page gnosis Sidebars & Widgets 0 Jul 2, 2010 10:00 AM
Right hand sidebar disappears in ie on home page sceneabout Atahualpa 3 Wordpress theme 7 Mar 12, 2010 04:14 PM
[SOLVED] Page title and font changes colour on refresh? norwichkaren Atahualpa 3 Wordpress theme 2 Aug 5, 2009 06:11 AM


All times are GMT -6. The time now is 12:44 AM.


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