Title: TEMPLATEPATH question &#8230;
Last modified: August 18, 2016

---

# TEMPLATEPATH question …

 *  [thornomad](https://wordpress.org/support/users/thornomad/)
 * (@thornomad)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/templatepath-question/)
 * Hi,
 * I wanted to move the images that my templates reference (not in the CSS file,
   but in the template files) to the “images” folder in the theme so when I make
   global upgrades, I can just upload a single package. I make changes on my local
   machine which is running a mirror of the blog that is online.
 * Currently, all my image references point to http:// sources not on my local machine.
   What I wanted to do was use the TEMPLATEPATH function so that while I was on 
   my local machine, it would find the pictures, and when I uploaded my new theme
   version, it would also find the pictures.
 * However, I don’t think I am using TEMPLATEPATH correctly. How do I point a `<
   img src=` to my theme directories images folder ?
 * Thanks.
 * Damon

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/templatepath-question/#post-341935)
 * In template files I use this:
    `<img src="<?php bloginfo('stylesheet_directory');?
   >/images/mypic.jpg" width="100" height="200" />`
 *  Thread Starter [thornomad](https://wordpress.org/support/users/thornomad/)
 * (@thornomad)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/templatepath-question/#post-342010)
 * Thanks – I will give that ringer a try.

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

The topic ‘TEMPLATEPATH question …’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [thornomad](https://wordpress.org/support/users/thornomad/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/templatepath-question/#post-342010)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
