Title: Image path problems
Last modified: August 19, 2016

---

# Image path problems

 *  [msr](https://wordpress.org/support/users/msr/)
 * (@msr)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/image-path-problems/)
 * I’ve installed the raw html plugin and turned off the visual editor in my profile
   to be able to have more control over the formatting of my posts. Embedded images
   show up fine on the home page, but have path problems in the archives and comment
   pages because of the dynamic directory structure
 * I have been hard coding my image paths inside posts
    <img src=”wp-content/themes/
   black-minimalism-10/images/vd_competitive.gif” />
 * I can see that’s problematic and have found I should be using something like 
   <?php bloginfo(‘template_directory’); ?>/images/vd_competitive.gif”
 * Since I’m operating inside the raw plugin tags… <!–start_raw__><!–end_raw–> do
   I need to escape the bloginfo tag.
 * This should be simple. Do the template tags only work in the visual editor context.
   Help, this simple issue is really frustrating and I’ve found several threads 
   on much the same topic but none anticipate the raw html issue.

The topic ‘Image path problems’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [msr](https://wordpress.org/support/users/msr/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/image-path-problems/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
