• Since changing to the Contrast Premium theme, I am having major problems uploading images to my site. I get a lot of error messages (“An error occurred in the upload. Please try again later.”) The image is in my library, although it shows as an image icon rather than the image, and contains no data (those rare files that do upload shows: File name, File type, Uploaded on, File size and dimensions). All image files I upload are jpgs and no bigger than 2000px along the longest side. This happens if I use the bulk uploader or upload files one by one. Any advice please (but please keep it simple)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The size of the file is just as important as the pixel dimensions. I generally recommend that images be no larger than 800px on the longest side (unless used for a header, for example), and the file be no larger than about 100k.

    If your images are larger than that, you should try reducing both the dimensions and the quality. Try the RIOT image optimizer to resize your images before you upload.

    Thread Starter Yohan1960

    (@yohan1960)

    The error message is

    “Fatal error: Out of memory (allocated 33554432) (tried to allocate 4576 bytes) in /homepages/36/d68802725/htdocs/yohan./wp-includes/media.php on line 2053”

    All my images have been reduced for the web (via photoshop) – max size on longest side is 1500px (which is considerably smaller than when I used to post images using a previous template). (I have tried reducing the size to 800px and that has no impact either, although that is too small for my site anyway).

    I have deleted all files not being used on my site (both in the library and then using an ftp client to ensure they have been removed from the server).

    I have changed a line in the wp-config.php file from 526mb to 1026mb and that also has had no impact.

    Any advice (please keep it simple though) would be greatly appreciated, thanks

    Here is an article with things I have tried to increase the max file size: https://wordpress.mcdspot.com/2012/03/20/ways-to-increase-max-file-upload-size-and-execution-time/

    Thread Starter Yohan1960

    (@yohan1960)

    Thanks Mac, but I’m not sure it’s an image size issue. With both of my old themes I could upload images of over 2MB. Since I’ve changed to a “premium” theme (and WordPress updated to 4.00) it does not seem to matter what size the image is. It won’t load. Or actually, it does load, but does not show the image in the library, just an icon. The image contains no data. I’m just tearing my hair out

    Does the error go away if you change back to one of the Twenty XX themes, Twenty Fourteen for example?

    Thread Starter Yohan1960

    (@yohan1960)

    That’s something I haven’t tried. Will give that a go, thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems with images – Contrast Theme’ is closed to new replies.