I would agree with Chris' sentiment. SVG shouldn't be a problem. We can always 
polyfill the lower grade browsers.


-----Original Message-----
From: Chris Snyder [mailto:[email protected]] 
Sent: Thursday, June 05, 2014 10:48 AM
To: [email protected]
Subject: EXTERNAL: Re: Logo

There are enough users with browsers that don’t properly support SVG (IE <= 8, 
Android <= 2.3) that I’d be hesitant to use it for a mainstream site.
However, for a developer-focused site I think it would be fine.

If you do want to fallback to PNG, it’s easy to accomplish with a bit of 
Javascript. Here’s what I use (I’ve started going full-SVG [for applicable 
images] for all new work:

if (! Modernizr.svg) {
 $("img[src$='.svg']").each(function() { var img = $(this); src = 
img.attr('src');  img.attr('src', src.replace('.svg', '.png')); }); }

This particular code depends on Modernizr and jQuery. Modernizr is quite light 
(I built a customized version using their site that weighs in at under 2k). The 
jQuery dependency probably wouldn’t be worth pulling in just for that; for a 
couple of images it could be done manually per-image in pure Javascript rather 
than using selectors to find all applicable images.

For images referenced in CSS (such as the header on the current site), it’s 
even easier, as Modernizr adds a CSS class to the body element to indicate that 
a feature isn’t supported:

.logo {
background: url(‘/path/to/logo.svg’);
}
.no-svg .logo {
 background: url(‘/path/to/logo.png’);
}


BTW, the new design looks amazing - great work! I’m looking forward to seeing 
it live.

-Chris



On Thu, Jun 5, 2014 at 2:57 AM, Martin Grigorov <[email protected]>
wrote:

> Hi,
>
> For a quick reference this is the logo - 
> https://issues.apache.org/jira/secure/attachment/12648416/logo.wicket.
> jpg
>
> To me it looks good!
>
> I remember some talks about using SVG instead of jpg/png but I'm not 
> sure whether it will work on IE 8/9 and whether there are ways to fallback.
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Thu, Jun 5, 2014 at 4:14 AM, Lee, Christopher 
> <[email protected]
> >
> wrote:
>
> > Greetings. I'm a new contributor and newcomer to wicket.
> >
> > As per discussion of, https://issues.apache.org/jira/browse/WICKET-3341.
> > I suggested to tweak the logo slightly to modify the wicket logo.
> >
> > The purpose of the change is to integrate it with the new flat look 
> > of
> the
> > new apache wicket website.
> >
> > I'd like to solicit feedback and see if we are able to come to a
> consensus
> > and move forward.
> >
> > Thanks!
> >
> > -       Chris Lee
> >
> >
> >
> >
>



--
Chris Snyder
Web Developer, BioLogos
616.328.5218 x203
biologos.org
  • Logo Lee, Christopher
    • Re: Logo Martin Grigorov
      • Re: Logo Chris Snyder
        • RE: EXTERNAL: Re: Logo Lee, Christopher

Reply via email to