The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Broken Images when uploaded (3 posts)

  1. admin_chris
    Posted 2 years ago #


    I've had problems uploading images to my site cdavies.me. I've only had the site for about a week and had this problem since installing the theme. When I upload an image, the thumbnail displays a broken icon. And when I use the images, they do not work. I originally contacted my host provider about this. They said it was an issue with the them however they found some broken code and replaced it. This worked fine for a few days then stopped working. Here was their reply:

    " The error was caused by the coding of the WordPress theme that you are currently using.
    We normally do not offer coding support for our hosting clients, however one of my colleagues was able to identify the issue and correct it.
    As a result, the images are now displaying correctly and you should have no further issues with this.
    For future reference, we have replaced the code line that was referenced in the error with the following text:
    echo is_wp_error( $cat_parents = get_category_parents($cat, TRUE, '' . $delimiter . '') ) ? '' : $cat_parents; "

    I have no idea about coding but I managed to find this code in the 'Editor' and it is a written above. Any ideas? Im completely lost.

    Any help is greatly appreciated.

    [Moderator Note: Please ensure that you are embedding links correctly in your posts.]

  2. schamane
    Posted 2 years ago #

    You are using 3.7.x? Did you check if the permissions of uploaded files/images are correct? See WordPress › Support » Images uploaded to 3.7.1 all broken won't display at all for a resolution of this case.

  3. admin_chris
    Posted 2 years ago #

    Thanks for your help schamane, I went through all the list, still no dice.

    Then found this video and figured out how to do it using an FTP client. So all good and working now with a simple fix.


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic