Tahnee Posted February 4, 2013 Share Posted February 4, 2013 (edited) Hi, I'm trying to upload a transparant logo in the default theme. I tried several extensions jpg, gif, png but nothing seems to work. I uploaded te image to img folder and I edited header tpl like this, but now there's no image showing and I can't get the old image back. HELP?! <!-- Header --> <div id="header" class="grid_9 alpha omega"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" "src=url(../img/logotransp.jpg) {$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> Edited February 4, 2013 by Tahnee (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 4, 2013 Share Posted February 4, 2013 <img class="logo" "src=url(../img/logotransp.jpg) {$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> structure of img tags are wrong! read more about img tag here: html img try with this code: <img class="logo" src="URL_TO_YOUR_IMAGE_WITH_HTTP" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> Link to comment Share on other sites More sharing options...
Tahnee Posted February 4, 2013 Author Share Posted February 4, 2013 The image shows like this (see picture) I can't figure out what the right url is the logo is in the /public_html/img folder and named logotransp.jpg.. I have it like this now: <img class="logo" src="logotransp.jpg" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> If I change it to <img class="logo" src="logo.jpg" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> it does show the 'your logo here' image. Link to comment Share on other sites More sharing options...
Tahnee Posted February 4, 2013 Author Share Posted February 4, 2013 Anyone? I really need this fixed Link to comment Share on other sites More sharing options...
Tahnee Posted February 4, 2013 Author Share Posted February 4, 2013 Think I solved it. I now use .tiff extension in IE and that seemes to work. In Google Chrome though it's not displayed properly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now