No images on homepage?

Nov 11th, 2008 | By Ais | Category: Website design

If you’re following the steps in my book, Sites that Soar, but you’re still not seeing any images with your homepage posts, here’s the first thing to do:

Check which version of Branford Magazine you’re using.

If you’re using Branford Magazine 2.6, released in December 2008, the Custom Fields URLs are different from those in my book.

Instead of using a relative URL for your images, you’ll use the absolute URL.

Yes, I know that’s confusing if you’re not used to writing code.  Here’s what it means:

My book tells you to use a relative URL for images in Custom Fields.  They look like this – 2008/12/yourimage.jpg

You’ll need to change that to the absolute URL in the Custom Fields form.  That image URL will look like this – http://www.yourdomain.com/yourWPfolder/2008/12/yourimage.jpg

However…

If you’re using Branford Magazine 2.5.1 or earlier, use the following steps to resolve the image problem.

Right-click where the image should be.  Copy the image location.  Paste it into your browser to see what it looks like.

The image URL should generally look like this:

http://your domainname.com/wordpress/wp-content/uploads/2008/11/imagename.jpg

(Of course, it’ll include your domain name and file names.)

If you click on that, it should show you your image… the one that you want on your homepage.

However, does the image URL looks like this, instead?

http://yourdomain.com/subdomain//home/accountname/public_html/yourdomain.com/subdomain/wp-content/uploads/2008/11/imagename.jpg

The key to the problem is the part where the code includes a double forward slash in the middle of the URL.  In the example above, that’s //home/

That’s telling you that your database is looking in the wrong place for the images.

It’s not your problem… it’s at your hosting service.

Contact them with the exact link URL that you’re seeing when you right-click on where the image should be.

Within minutes, they can fix the problem so the URL “resolves” to the correct file.  (Tell your hosting service that the file isn’t resolving correctly.  They’ll know what that means.)

If that’s not the issue, and you’re sure that you’ve followed the Custom Fields steps in my book, read the post and the comments at this article: No images? Weird placement?

At least one of those suggestions should help.

One comment
Leave a comment »

  1. [...] And, I’m sorry, but there’s also no point in writing to me about this, either.  Your hosting service can fix the problem; I can’t. Yes, I posted about this in my previous Featured entry, No images on WordPress homepage? [...]

Leave Comment

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. Comments may be edited to make them office-safe. Spam and questionable links will be removed.