• I recently downloaded a new theme. It came with a picture already on it that I would like to change. I found that link (code – whatever you would call it) and its from flickr it looks like. Since I am not very tech savvy and do not have a flickr account i was wondering if there is an easy way to replace this picture. I guess in essence I was wonder how you turn a picture into a html coded link so i can plug it in where the old link was and have the new picture show up. Hope this makes sense. Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You didn’t get a theme with a hotlinked image, did you? The image is on your server I hope? In either case it’s not too difficult to change if your own image is the same size. Read this.

    Thread Starter asmiller

    (@asmiller)

    What if it is not a header – do the same instructions still apply? Here is the site – andythesalescoach.com – its the color bottles picture that i would like to change. what is a hotlinked image?

    Okay, you’ve got a slightly complex theme, but not impossible to work with. Here’s your image:

    <div id=”sidebar”>
    <div id=”adbox”><!– Remove this box for pure 3-columns –>
    <!– Insert large 336×280 Adsense unit here –>
    <img src=”http://farm4.static.flickr.com/3225/2684819307_11eae8f46e_o.jpg&#8221; width=”336″ height=”252″ alt=”Color Bottles” />
    </div><!– /Remove this box for pure 3-columns –>

    I think you have a sidebar.php, a l_sidebar.php and a r_sidebar.php. The image is in the sidebar.php. The image is indeed “hotlinked”, which means that it is not on your own server. In other words: you display somebody else’s image (I hate it when people do that, especially when (s)he is a theme designer), which also means that if that somebody else, deletes the image, you will get a big white spot on your website.

    The easiest thing to do is to download the image (right click, save as), edit it so that you have your own image at the exact same size, upload that new image to your server and edit the img src="http://farm4.static.flickr.com/3225/2684819307_11eae8f46e_o.jpg" width="336" height="252" alt="Color Bottles" /> to something like <img src="http://andythesalescoach/images/yourimage.jpg", etc. The tag is in your sidebar.php I expect.

    Thread Starter asmiller

    (@asmiller)

    Okay I will try that. Thank you for the help!

    Thread Starter asmiller

    (@asmiller)

    I got it to work but i do not think i did it the right way. How do I make a picture into a http:// type file? Right now i have it as a picture in my docs the I opened with internet explorer and i feel like this cant be right. for example the name of my picture looks like C:\Documents and Settings\Sarah Burris\My Documents\award.jpg
    I uploaded the picture to filezilla in wp-content – uploads folder but where can i find it on my wp admin site. Thank you for the help i am very new to all this.
    Sarah

    Theme images should not be in wp-content/upload.

    Almost all the themes have an /images/ folder. Put your theme images there.

    Then you link to them either with normal <img src=...> html tags or via your style.css – depending on your theme. And Gangleri gave you the code!

    It was not as easy as that. In IE6 your sidebars are no longer next to eachother. That seems like a CSS thing, but I know even less about that than about php.

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

The topic ‘Changing a Picture in a Theme’ is closed to new replies.