Jump to content

I can't add logo image, favicon etc...


Recommended Posts

while you're adding image, you see confirmation that it was uploaded properly?

problem is related to front office only? or both to bo and fo ?

Hi Vekia,

 

Yes I see confirmation at the top that all is ok in green box, but logo is empty again.

 

I dont know what is "bo" (I am new in Prestashop), but if you refer that the problem is in website and in front office: yes.

Link to comment
Share on other sites

Hi! All,

it looks that somewhere in the bootstrap theme (PS1.6) is a flaw that is affecting the Logo feature... I tried lots of ways to fix the upload of the logos for the Front office (website front page), the pdfs, invoices and delivery-slips logos which are not loading even if you regenerate images, clean the caches or recompile, or even if you rename to just logo.jpg.

 

I was trying to solve this and more issues on the new PS1.6 without modifying core files... for weeks but no succes... So I did the following changes to the templates as I have been doing it since I switch to Prestashop in 2009... everythime there is a change or upgrade or even an update to PS my website gets uglly and falls down... furtunatellly I always have a back up of the entire root directory and all the database sitting waiting there to repair the disaster if any...

 

I must comfess that is version of PS1.6 is the most wonderfull I have ever deal with... I love it.

 

Well I did change the header.tpl along with the global.css for logo codes to fix the logo format (to a transparent image: logo.png)

(...\your_shop_name\themes\your_modified_bootstrap_theme\header.tpl)

&

(...\your_shop_name\themes\your_modified_bootstrap_theme\css\global.css)

 

on the header.tpl file there is a code that says:

 

div id="header_logo">
                                    <a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
                                        
<img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if $logo_image_width} width="{$logo_image_width}"{/if}{if $logo_image_height} height="{$logo_image_height}"{/if}/>
                                    </a>
                                </div>

 

 

I changed it to:

 

<div id="header_logo">
                                    <a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
                                        
<img class="img-logo" src="http://www.yoursite.com/your_shop/img/logo.png" alt="{$shop_name|escape:'html':'UTF-8'}"{if $logo_image_width} width="{$logo_image_width}"{/if}{if $logo_image_height} height="{$logo_image_height}"{/if}/>
                                    </a>
                                </div>

 

________________________________________________________________________________________

 

on the global.css file inside your modified theme css folder there is a code that says:

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto; }

 

I leave the above untouch and I simply added to the list the following code:

 

.img-logo {
  display: block;
  width: 125px;
  height: 99px; }

 

Save both files and Change permition if needed and upload them to the remote site...

then recompile and clean cache and in your browser reload the page by ctrl + F5 to see the real deal.

 

 

Notice that the code have some responsive image clasess that it gets called instead and that I do not like it because in my case that image replaces the logo you upload via back office and it gets an ugly zoomed square like "?" effect image and also it take sover the favicon image... mayb e that is theh grand issue that is affecting the whole logos section of the Bootstrap theme... that nasty image response code...

 

I am still having trouble seen the logo on every pdf slip, invoices and the like and i will go ahead and modify the respective Tpls... please always back up before you modify...

 

just copy and rename the original to start with like:

 

header.tpl .....to:    header_old.tpl

and work with the new copy.

 

I hpe this helps a little.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

I have this same problem where despite changing multiple browsers and multiple file names and extensions, it shows as if the images upload but then does not appear on the front office or back office.

 

Please see the attached image. I have updated to prestashop 1.6.0.6

 

See http://www.pharmacy2u.com.my

 

Any help would be appreciated.

Edited by dganeswaran (see edit history)
Link to comment
Share on other sites

I have the same problem, sometime it works sometime doesnt!

 

my site - www.prettydeal.com

 

logo not showing no matter i upload through themes/preferences or upload manually

 

HELP!!

Link to comment
Share on other sites

Solved this partially : Try to upload a new image as logo; then find it in "/img" directory, the name has been changed; rename it "logo.jpg" and il will appear on your shop's header, but not in the backend; doesn't solve my problem with the favicon, I uploaded a favicon.ico file but does not work.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Hi,

    Let me start by saying that I'm a novice and new to Prestashop. I'm having an issue...I can't seem to download my logo. It's a PNG...when I go to upload it in the themes section it shows that the changes have taken place (back office).However it isn't switched in the front office. My site is www.uniquegiftstop.com~ any assistance you could offer would be greatly appreciated.

 

Thanks

Link to comment
Share on other sites

hi i am running clean install presta 1.6.0.8 and i can successfully add the store favicon but on the browser favicon i am unable to add them i add them and they do not appear on the back end or front end. please anyone can assist ? thanks in advance

 

JT

Link to comment
Share on other sites

hi i am running clean install presta 1.6.0.8 and i can successfully add the store favicon but on the browser favicon i am unable to add them i add them and they do not appear on the back end or front end. please anyone can assist ? thanks in advance

 

JT

i resolved it by looking around some more and aparently , all i had to do was to copy my favicon image to the new theme which i installed and it will start appearing on your browser. hope this helps someone.  copy favicon image to  /theme/your new theme/img folder

Link to comment
Share on other sites

i resolved it by looking around some more and aparently , all i had to do was to copy my favicon image to the new theme which i installed and it will start appearing on your browser. hope this helps someone.  copy favicon image to  /theme/your new theme/img folder

Hello!

 

I want to delete from browser but in admin I can only replace with  other image

Link to comment
Share on other sites

  • 1 month later...

Fixed my favicon.  .ico file does not appear to be compatible anymore.  I converted my favicon to a jpg file, changed the name of the prestashop's default favicon and changed the name of my jpg favicon file to match prestashops and it worked.

  • Like 1
Link to comment
Share on other sites

Apparently prestashop also just likes gif files for the store icon as well.  I had to convert my favicon to a gif file, change the name of prestashops "logo_stores" image (just added a 1 to the end), then renamed my converted file to "logo_stores" and it worked.

 

Hope this helps.

Link to comment
Share on other sites

  • 2 months later...

I went through hell trying to figure this out, but what I did was make a favicon then FTP in with Filezilla and Add it to the directory public_html/themes/(your current theme folder)/img , add your favicon.ico file to img folder and then once its added change the .ico to .jpg . This worked perfect and my site http://www,quizzyssoftware.com now has favicon

Edited by Quizzys (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

I went through hell trying to figure this out, but what I did was make a favicon then FTP in with Filezilla and Add it to the directory public_html/themes/(your current theme folder)/img , add your favicon.ico file to img folder and then once its added change the .ico to .jpg . This worked perfect and my site http://www,quizzyssoftware.com now has favicon

This worked for me, thanks!! :)

Link to comment
Share on other sites

  • 2 weeks later...

Hello,

Thank you but it doesn't work for me :(

Could anyone tell me if you can see the favicon on my site : http://kat-de-paris.fr ?

This problem is driving me crazy !

Thanks !

 

I went through hell trying to figure this out, but what I did was make a favicon then FTP in with Filezilla and Add it to the directory public_html/themes/(your current theme folder)/img , add your favicon.ico file to img folder and then once its added change the .ico to .jpg . This worked perfect and my site http://www,quizzyssoftware.com now has favicon

Link to comment
Share on other sites

  • 3 weeks later...

I went through hell trying to figure this out, but what I did was make a favicon then FTP in with Filezilla and Add it to the directory public_html/themes/(your current theme folder)/img , add your favicon.ico file to img folder and then once its added change the .ico to .jpg . This worked perfect and my site http://www,quizzyssoftware.com now has favicon

Thank you but it doesn't work also for me :-(

 

Did you find another solution?

Link to comment
Share on other sites

  • 2 weeks later...

I solved this problem. You have to prepare your favicon for type "favicon.ico" (first in png, then in program - converter icon). If your favicon is ready you have to replace your favicon in FTP - File Zilla in Public_html / img (not in Themes)

It is ready! In backoffice it is impossible, only by FTP.

Edited by lol12 (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...