Flashyx
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Where to upload images?not to worry, i figured it out, its always a typo, doh!!
missed out on the quotation marks :/
should be:
<img src=”<?php bloginfo(‘template_directory’); ?>/images/salt.jpg” width=”470″ height=”331″ />thanks for all your help cassihl ??
Forum: Themes and Templates
In reply to: Where to upload images?ok, its back online..
still no luck ??
I have my files set in the themes folder here as follows:
/public_html/wp-content/themes/twentyeleven/homepage.php
/public_html/wp-content/themes/twentyeleven/images/salt.jpgand this is the code i used in my homepage.php file:
<img src=”<?php bloginfo(‘template_directory’); ?>/images/salt.jpg width=”470″ height=”331″ />my website example is here:
what am i doin incorrectly? *tears*
cheers
Forum: Themes and Templates
In reply to: Where to upload images?Hi again Cassihl,
sorry i havnt gotten back to you sooner, been chaos at work at the moment.
so the line should be:
<img src=”<?php bloginfo(‘template_directory’); ?>/images/salt.jpg width=”470″ height=”331″ />im attempting it now but my ISP is conveniently down at the moment so ill have to wait ??
cheers
Forum: Themes and Templates
In reply to: Where to upload images?Hi cassihl,
thanks so much for your help. Im still stuck though ?? im using ftp to upload my images and templates.
ive tried uploading both my homepage.php and salt.jpg to the following areas but the image still doesnt show but the homepage.php does :/
attempt 1:
/public_html/wp-content/themes/twentyeleven/homepage.php
/public_html/wp-content/themes/twentyeleven/images/salt.jpgattempt 2:
/public_html/wp-content/themes/twentyeleven/homepage.php
/public_html/wp-content/themes/twentyeleven/salt.phpattempt 3:
/public_html/wp-content/themes/twentyeleven/homepage.php
/public_html/wp-content/themes/twentyeleven/salt.php
with….
<img src=”<?php bloginfo(‘/public_html/wp-content/themes/twentyeleven’); ?>/images/filename.jpg”/>no luck. any other suggestions? is that the syntax you meant for the src?
thanks again.