Jump to content

Retina Logo


bigdaveygeorge

Recommended Posts

Posted

Is there a way to upload a high resolution logo, when I view the forum on my phone the logo looks blurry as the image is uploaded at desktop size and not doubled for high dpi displays?

Also what is the 'sharer image'?

Posted

Unfortunately, no retina logo is available out of the box.

The "sharer" logo is the image that is presented to social media sites when sharing.

Posted
11 hours ago, bigdaveygeorge said:

Is there a way to upload a high resolution logo, when I view the forum on my phone the logo looks blurry as the image is uploaded at desktop size and not doubled for high dpi displays?

Also what is the 'sharer image'?

Easiest way is to simply replace all of the template in core \ front \ global \ logo with something like this which serves the retina and non-retina logos in the same way as the retina emoticons:

<a href='{setting="base_url"}' id='elLogo' accesskey='1'><img src="https://www.yoursite.com/logo_210x72.png" srcset="https://www.yoursite.com/logo_210x72@2x.png 2x" alt=''></a>

I do something similar on my site with a .svg logo.

  • 1 year later...
Posted

I know this is old but was just looking at how to achieve this and this works thanks. I do wonder though is there any benefit in using an .svg over png?

Posted
4 minutes ago, gavpedz said:

 I do wonder though is there any benefit in using an .svg over png?

Not necessarily. The advantage of SVG is that it can scale to any size. For a logo with a fixed/maximum size there might not be much to gain from that. 

Posted
Just now, opentype said:

Not necessarily. The advantage of SVG is that it can scale to any size. For a logo with a fixed/maximum size there might not be much to gain from that. 

Thanks for clarify that. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...