Title: img src=&quot; not working??
Last modified: August 21, 2016

---

# img src=" not working??

 *  [lirys](https://wordpress.org/support/users/lirys/)
 * (@lirys)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/)
 * Hi i use the code
    =”<?php bloginfo(‘template_url’); ?> to grab images. it works
   fine when i tested the site on my old host. Now when i am trying it out where
   its suposed to be it dosent work.
 * here it works
    [http://www.kreativadesign.net/roomofbeauty/](http://www.kreativadesign.net/roomofbeauty/)
 * here it do not work
    [http://www.extensionsbymarina.se/](http://www.extensionsbymarina.se/)
 * i cant not figure out what i have done wrong please please help??

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5041971)
 * It might help if you actually posted a sample of the code that you have been 
   using.
 *  Thread Starter [lirys](https://wordpress.org/support/users/lirys/)
 * (@lirys)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5041972)
 * sorry i had it in the headline..
 * <div class=”main”>
    <div id=”link1″> <img src=”<?php bloginfo(‘template_url’);?
   >/images/link1.jpg” alt=”” />
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5042001)
 * please enable DEBUG to see if you get any error mesages; [http://codex.wordpress.org/Debugging_in_WordPress](http://codex.wordpress.org/Debugging_in_WordPress)
 * the output of your site seems to end suddenly …
 * where exactly are you adding the posted code section?
 * I can see this in the html of your linked site:
 *     ```
       <div class="main">
       	<div id="link1">
       	<img src="http://www.extensionsbymarina.se/wp-content/themes/room/images/link1.jpg" alt="" />
       ```
   
 * which indicates that your code is executed properly; the image is simply not 
   where the url points to;
    where do you have the image stored?
 *  Thread Starter [lirys](https://wordpress.org/support/users/lirys/)
 * (@lirys)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5042003)
 * i have it stored in a folder named image in a theme folder named room so the 
   link looks right to me… what do you mean by the out put seems to end suddenly??
   
   i am so lost here i am not sure where to put the debug code? should it be in 
   the config.php ?? thanks for helping out
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5042014)
 * please double check the location of the image.
 * there is definitively no image at [http://www.extensionsbymarina.se/wp-content/themes/room/images/link1.jpg](http://www.extensionsbymarina.se/wp-content/themes/room/images/link1.jpg)
 * this is how your site’s html ends:
 *     ```
       <p>Bäckvägen 118</p><p>
       129 33 Hägersten</p>
   
       </div>
       </
       ```
   
 * so something is broken in your theme.
 * btw:
 * > here it works
   >  [http://www.kreativadesign.net/roomofbeauty/](http://www.kreativadesign.net/roomofbeauty/)
 * not really – the same problem at the end of the html output. although, the images
   seem to show.
 *  Thread Starter [lirys](https://wordpress.org/support/users/lirys/)
 * (@lirys)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5042018)
 * ahhh thank you
 *  Thread Starter [lirys](https://wordpress.org/support/users/lirys/)
 * (@lirys)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5042032)
 * Hmm i can not figure out where the </ comes from ????
    i have taken down the 
   page from where its suposed to be so now its only at [http://www.kreativadesign.net/roomofbeauty/&#8230](http://www.kreativadesign.net/roomofbeauty/&#8230);
   thank you for helping me out i have not done this in a loooong time and not very
   good on wordpress
 *  Thread Starter [lirys](https://wordpress.org/support/users/lirys/)
 * (@lirys)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5042075)
 * I tried to make a new post about the output problem since that is something new
   to me.. but it was closed so i guess i have to hope someone will help me with
   that part here as i guess that may be the root to my problem..
    its night in 
   sweden so i have to get to bed but i hope i get something during my sleep to 
   work with in the morning…. thanks and have a great day or night depending on 
   where you are

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

The topic ‘img src=" not working??’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [lirys](https://wordpress.org/support/users/lirys/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/img-src-not-working-2/#post-5042075)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
