• Hey I’ve recently moved my blog from lukekidney.co.uk/wordpress to blog.lukekidney.co.uk and tried to get it all working back on the same database. I’ve had to reinstall wordpress to get the admin working again, and then linked it back to old database and everything is working again apart from the images!

    I even tried to edit all of the links in the posts in my database but it’s still not working and pointing back to the old links. I need the blog to work because I’m a student at Bournemouth University and it shows the stages my work went through… Help!!

    Thanks, Luke.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Have you moved the directory of the images? If so, and you use absolute filepathing, the links will now be wrong.

    If you have everything else working using this should work:

    <?php bloginfo(‘template_url’); ?>/path/to/your/images/image.jpg

    obviously with your own filepath to the images in your template. (eg mine would be, <?php bloginfo(‘template_url’); ?>/images/image.jpg)

    Thread Starter interactiveluke

    (@interactiveluke)

    I think mine are at: https://blog.lukekidney.co.uk/wp-content/uploads/
    so what would I write into that?

    <?php bloginfo(‘template_url’); ?>/wp-content/uploads/image.jpg

    sorry im confused, not great at this wordpress stuff!
    where would I put that code as well?

    also now when I try to access the dashboard it’s saying: You do not have sufficient permissions to access this page.

    whats going on?! ahhh :S

    I take it you have 0 html / php knowledge?

    you would write it in the images source location <img src=”file/path/”>

    I have no idea about the permissions, I’ve never had that message before. Sounds like your not counted as admin anymore?

    Thread Starter interactiveluke

    (@interactiveluke)

    oh ive got the admin working again, yeh I know html and a bit of php.
    is that in the posts in the database that im putting that into then?
    thankyou for the help!

    Ok so having a look at your site only the images in the psots arent working (didnt realise you didnt mean everything and I only just got a minute to look ?? )

    You’d need a php widget to use what I said previously in your posts. Have you checked your posts for what src they are using? and is it the same as the current location for your site/blog?

    Thread Starter interactiveluke

    (@interactiveluke)

    I’ve just added a test post to my website, and it came up in the database but without the content in the content section? Where would that go to? because it’s working on the site! is there anyway of finding out where the content has been saved to?

    Thread Starter interactiveluke

    (@interactiveluke)

    sorry just read your post, I think that relates to mine? how would I find out what src they are using?

    Thread Starter interactiveluke

    (@interactiveluke)

    right got to go to work, be on a break in a couple of hours, cheers for the help!
    Luke

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Blog can’t find images!’ is closed to new replies.