Announcement

Collapse
No announcement yet.

JPEG 2000, JPEG XR, and WebP file types and adding the ability to upload.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    JPEG 2000, JPEG XR, and WebP file types and adding the ability to upload.

    I have a store owner that wants to start using JPEG 2000 images instead of JPEG (because Google says so). It has file types that probably are not part of the default files types. Now that the ability to add (or remove) files type for upload, what is going to be the best practices to get these extensions added?

    Also, I'd love to hear other's thoughts on moving to these other file types.

    Thanks!
    Leslie

    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    I'm curious where you read that Google suggests using jpeg 2000? As best I can tell, very few browsers support it, including no mainstream browser other than Safari, so most site visitors would see nothing but broken images. It also appears the public graphics libraries Merchant uses to validate an uploaded image is really what it claims to be, versus a php file disguised as an image, also don't support it, so Merchant would not likely support it at this point.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment


      #3
      I was a bit surprised by it too when a client called telling me he is converting all of his images to JPEG 2000 to speed up the loading of his pages. I did a little digging trying to understand where the recommendation was coming from and found this:

      Serve Images in Next-Gen Formats
      https://developers.google.com/web/to...se/audits/webp

      As we all know, if Google says to do it, we must...<snerk>

      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        The website that page links to confirms Safari is the only mainstream browser supporting jpeg 2000, so I definitely would not interpret that as a recommendation for jpeg 2000.
        David Hubbard
        CIO
        Miva
        [email protected]
        http://www.miva.com

        Comment


          #5
          If google recommended store owners jump off a bridge....

          You'd have to support 'fall back' graphics...sounds like a lot of work, i.e., money, that the store owner is going to shell out.
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment


            #6
            Originally posted by Bruce - PhosphorMedia View Post
            If google recommended store owners jump off a bridge....
            Pretty much, but yeah...

            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment


              #7
              lesliekirk I would tell them above given info and also warn about potential risk of being an early adopter ;) We all know how that often turns out...
              Sabine Sharp
              eCommerce Strategies & Solutions
              Glendale Designs
              Support Desk
              623.322.6066

              Comment


                #8
                If they are using a CDN like Cloudflare then the images can be optimized automatically based on the device and user-agent. Cloudflare uses Mirage WebP.
                http://www.alphabetsigns.com/

                Comment


                  #9
                  Early adopter - it has been 18 years since JPEG 2000 was created and only Safari supports it. Webp might be a better choice. You would have to use the <picture> element for fallback but you still have to have your images in jpg or png formats, so a lot of work when adding new photos.

                  Comment

                  Working...
                  X