WordPress.org

Ready to get started?Download WordPress

Forums

inserting <img src=" " /> (3 posts)

  1. bacollier
    Member
    Posted 6 years ago #

    Hi,

    i'm having trouble implementing a rotating picture on my website (run by wordpress). I'm trying to find out where i'm going wrong and i've found that i can't even simply put in simple html like <img src="" /> into a template? is that true?

  2. Synthspotting
    Member
    Posted 6 years ago #

    hey! would you elaborate cuz the question isn't clear i think.

    img thing can be easily insrted into php templates you have up your /theme folder, something like this:

    <img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon_readers.gif" align="absmiddle">

    and it's even easier inserting images into your posts via admin console

  3. bacollier
    Member
    Posted 6 years ago #

    hey synthspotting,

    yeh i wasn't putting in the - <?php bloginfo('stylesheet_directory'); ?>

    thanks for that!

    now i just need to get it working in a php script i have for rotating a image randomly

Topic Closed

This topic has been closed to new replies.

About this Topic