WordPress.org

Ready to get started?Download WordPress

Forums

Duena
[resolved] Broken Images when uploaded (3 posts)

  1. admin_chris
    Member
    Posted 9 months ago #

    Hi,

    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.
    Thanks,
    Chris

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

  2. schamane
    Member
    Posted 9 months 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
    Member
    Posted 9 months 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.

    Thanks,
    Chris
    http://www.CDavies.me

Reply

You must log in to post.

About this Theme

About this Topic