• Resolved pavlos1982

    (@pavlos1982)


    im having some issue adding a picture to my page , i dont want to do it via the wordpress control panel, is there a template tag i can used to include an email i already tried <img src=”<?php bloginfo(‘template_url’); ?>/image/bg.jpg” id=”background” alt=”” title =”” />, but did nt work

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pavlos1982

    (@pavlos1982)

    i meant image not email

    Where’s the image?

    When writing your post, there’s a button above to insert an image. Click that and look closely at the top of the resulting dialog. The default is the uploader tab, but there’s also a tab to allow you to add an image from URL. Go to that tab, enter the URL of the image’s location and you’re good to go.

    …I’ve uploaded several images but I don’t think they’re sized correctly…they look good, but squeezed-in…is there an ideal size for images? Mine are pretty much 4×6 portraits or 6×4 landscape views…

    <img src=”<?php bloginfo(‘template_directory‘); ?>/images/bg.jpg” id=”background” alt=”” title =”” />

    This should work. you also wrote image. and normaly the folder is called images.

    Thread Starter pavlos1982

    (@pavlos1982)

    thanks all of you , i did try that <img src=”<?php bloginfo(‘template_directory’); ?>/images/bg.jpg” id=”background” alt=”” title =”” />

    zero did nt know but what i got a plug in called exec-php which then allows you to put php code into your post or pages and that is working now ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘including a picture in page/post’ is closed to new replies.