Title: img not loading from permalink
Last modified: August 18, 2016

---

# img not loading from permalink

 *  Resolved [daschan](https://wordpress.org/support/users/daschan/)
 * (@daschan)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/)
 * Until I opted for permalink structure, my image was loading perfectly fine from
   the post URI, but after I created permalinks and then created the .htaccess file
   and inserted the code as prompted, and finally changed permissions, yes my posts
   loaded nicely from the new permalink URIs, but WITHOUT THE IMAGE! However, if
   I go to the main blog URI and scroll down to the particular post, the image does
   show up. It’s only when following the permalink that the image doesn’t show. 
   Instead, the alt text shows up.
 * HELP! I’m new at this.
 * What do I need to do to get the image to show up when post is accessed from its
   specific permalink?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301386)
 * We need a link to your site.
 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301387)
 * As podz said, we need a link to your site.
 * And also how are you placing the images in your post?
 * The most probable reason that your images are not showing up is because of the
   img src that you have. When you are using mod_rewrite based permalinks, then 
   the img src need to be specified appropriately as well, otherwise you will have
   nonsense img src links like “[http://www.domain.com/permalink-structure-all-here/image-filename&#8221](http://www.domain.com/permalink-structure-all-here/image-filename&#8221);
   obviously since there exist no physical folders like this, the image doesn’t 
   show up.
 * Use absolute URI’s to the img src whenever possible. 🙂
 *  Thread Starter [daschan](https://wordpress.org/support/users/daschan/)
 * (@daschan)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301389)
 * Wow! Didn’t expect such a fast reply. Here is the link to the post with the image:
   
   [http://www.harekrishnamalaysia.com/krsnablog/2005/12/17/hare-krishna-malaysia](http://www.harekrishnamalaysia.com/krsnablog/2005/12/17/hare-krishna-malaysia).
 * The link to the image is <img src=”wp-images/hkmlogo.gif” alt=”logo”/>.
 * So should I change to link image to <img src=”[http://www.harekrishnamalaysia.com/krsnablog/wp-images/hkmlogo.gif&#8221](http://www.harekrishnamalaysia.com/krsnablog/wp-images/hkmlogo.gif&#8221);?
 * Thanks a lot!
 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301390)
 * Yeap, you are right with the image link you should change.
 * Right now this:
    <img src=”wp-images/hkmlogo.gif” alt=”logo”/> Translates to:
   [http://www.harekrishnamalaysia.com/krsnablog/2005/12/17/wp-images/hkmlogo.gif](http://www.harekrishnamalaysia.com/krsnablog/2005/12/17/wp-images/hkmlogo.gif)
 * Which is wrong.
 * This would be correct link to your image:
    [http://www.harekrishnamalaysia.com/krsnablog/wp-images/hkmlogo.gif](http://www.harekrishnamalaysia.com/krsnablog/wp-images/hkmlogo.gif)
 * So if you try using absolute URL’s to the images when you create the post you
   should be fine with the images in the posts.
 * Hope that helps.
 *  Thread Starter [daschan](https://wordpress.org/support/users/daschan/)
 * (@daschan)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301391)
 * YES!! That solved the problem entirely. Thank you so very much. Now that I’ve
   got the hang of that, let me see what else I can try out and get hopelessly stuck.
   Bye–D.Chan
 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301396)
 * Excellent 🙂
 *  [write2kill](https://wordpress.org/support/users/write2kill/)
 * (@write2kill)
 * [20 years ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301714)
 * I just saw this: [http://wordpress.org/support/topic/4881?replies=3](http://wordpress.org/support/topic/4881?replies=3)
 * So on that case, one need not add the full path to the image? Just adding a slash
   would solve the problem? For a big site it can be painful. And secondly, on teh
   remote server it is fine. But when testing out of the box then the images won’t
   show if you are offline for some reason.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘img not loading from permalink’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [write2kill](https://wordpress.org/support/users/write2kill/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/img-not-loading-from-permalink/#post-301714)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
