Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Flashyx

    (@flashyx)

    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 ??

    Thread Starter Flashyx

    (@flashyx)

    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.jpg

    and 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:

    https://aidenkongas.com/

    what am i doin incorrectly? *tears*

    cheers

    Thread Starter Flashyx

    (@flashyx)

    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

    Thread Starter Flashyx

    (@flashyx)

    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.jpg

    attempt 2:
    /public_html/wp-content/themes/twentyeleven/homepage.php
    /public_html/wp-content/themes/twentyeleven/salt.php

    attempt 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.

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