host134 Posted December 30, 2012 Share Posted December 30, 2012 I have searched all over for an answer to this, but cannot find anything. I am trying to place an animated gif as the logo and it changes the gif back to a jpg. This is what I did.... In Preferences, I have "Use PNG only if the base image is in PNG format" checked. I also saw some postings that the .tpl files control this, particularly /thems/default/header.tpl Someone said to go into this file and change the reference from jpg to gif. There is no mention of either in this file. See below... ******************** <!-- 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="{$logo_url}" 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> <div id="header_right" class="grid_6 omega"> ******************** I am at a loss. I did a grep to find any mention of the logo-1.jpg that seems to be rolled out, but cannot find it. Any help is appreciated. Link to comment Share on other sites More sharing options...
Site Posted December 31, 2012 Share Posted December 31, 2012 Hi, Have you tried uploading the gif to /img/ folder and changing line 80 in header.tpl from <img class="logo" src="{$logo_url}" 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} /> to <img class="logo" src="http://www.yourshopdomain/img/logo.gif" 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} /> You may need to set the width and height Link to comment Share on other sites More sharing options...
Site Posted December 31, 2012 Share Posted December 31, 2012 Just tried it here and it worked ok <img class="logo" src="http://www.yourshopdomain/img/logo.gif" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="200px"{/if} {if $logo_image_height}height="100px" {/if} /> I had to set the width and height px for it to look right Link to comment Share on other sites More sharing options...
host134 Posted December 31, 2012 Author Share Posted December 31, 2012 Thank you all sooo much. That did the trick. Stupidly, I did that earlier, but left the { } in the quotes so of course it didn't work. BTW, first time using Prestashop and it hands down blows away oscommerce (which unfortunately have been using for years). Link to comment Share on other sites More sharing options...
Site Posted December 31, 2012 Share Posted December 31, 2012 Great news You may edit the post and mark it as [solved] so others know how to change the logo to gif too - also you may like one of my posts above Link to comment Share on other sites More sharing options...
Recommended Posts