Jump to content

Wordpress site won't display my images after transfer to remote server


stephennoble

Recommended Posts

Hi Killersites community,

Recently i've made a wordpress site.... looks perfect, but when i FTP my site to a remote server none of the images will display.....

I followed along exactly with the tutorial series 'wordpress and dreamweaver', but instead of displaying it displays text instead....

All the images transfered over to the server but they won't evan display their thumbnails

 

Also when you transfer a wordpress site using FTP with dreamweaver when it prompts you to include dependent files should you say yes or no?

 

THANKS

Link to comment
Share on other sites

There could be three reasons:

 

1. Did you upload the images into the host server using the same directories and subdirectories as your folder and subfolder framework & names?

 

2. A conflict between lower and upper case. Your browser and WordPress may be case insensitive but your host's server is case sensitive so image.JPG is not the same as image.jpg so make sure the image filename and the img code in the HTML are the same case.

 

3. A path problem. Are the img codes relative like <img src="image.jpg" alt="Image 1" /> or absolute like <img src="http://www.your-domain.com/image.jpg" alt="Image 1" /> ? Absolute codes should work but relative codes are better so check the path, ie is it related to the C:\ drive on your computer (wrong) or are the paths to the folders and subfolders correct?

 

The text you are seeing may be the alt text which displays if the image is unavailable.

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

I am not familiar with that tutorial myself, I would also make sure that there are no file paths in your database that need to be changed. I struggled with this over the last few days as some plugins still use absolute file paths rather than relative file paths. You could have your database still pointing to images @ /localhost/content/...etc instead of /{server path}/content/...etc where your images actually are.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...