Announcement

Collapse
No announcement yet.

Using SVG images with the Image Machine

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

    Using SVG images with the Image Machine

    Not sure if this should be an MM9 or MM10 question, I'm posting in MM9 since the site hasn't updated to MM10 yet. Can SVG images be used in the Image Machine?
    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
    Originally posted by lesliekirk View Post
    Not sure if this should be an MM9 or MM10 question, I'm posting in MM9 since the site hasn't updated to MM10 yet. Can SVG images be used in the Image Machine?
    I don't think those were ever listed as being able to be uploaded. Here's what is listed in the reference documents: The supported image upload types are: gif,jpg,jpeg,jpe,xbm,png,pdf



    Kathleen Steimle-Hermes
    , owner
    Miss Kate's Creations
    [email protected]
    www.misskatescreations.com


    Handcrafted fabric covered photo albums, frames, brag books and MORE


    Comment


      #3
      Currently Merchant's image manipulation, and validation, functionality is performed using a publicly available software package LibGD, which does not have support for SVG. If the goal is simply higher quality for a lower size, you could use Cloudflare which will optimize the images into lossless or lossy WebP format on the fly, even in their Pro plan.
      David Hubbard
      CIO
      Miva
      [email protected]
      http://www.miva.com

      Comment


        #4
        Originally posted by Miss Kate View Post

        I don't think those were ever listed as being able to be uploaded. Here's what is listed in the reference documents: The supported image upload types are: gif,jpg,jpeg,jpe,xbm,png,pdf
        It's not included, but you can request that it be added. It can't be used with the Image Machine, but you can (once you have the upload type added) upload via the legacy upload fields.
        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


          #5
          Originally posted by ILoveHostasaurus View Post
          Currently Merchant's image manipulation, and validation, functionality is performed using a publicly available software package LibGD, which does not have support for SVG. If the goal is simply higher quality for a lower size, you could use Cloudflare which will optimize the images into lossless or lossy WebP format on the fly, even in their Pro plan.
          The goal is to provide a widely accepted image type that is good for line drawings (among other things). The use of a CDN such as Cloudflare has been discussed but the store owner is set on using SVG (at this time).

          I will pass your suggestion along to the store owner.
          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


            #6
            Originally posted by lesliekirk View Post

            It's not included, but you can request that it be added. It can't be used with the Image Machine, but you can (once you have the upload type added) upload via the legacy upload fields.
            That should not be done. That defeats newer features such as image reference counts, the directory hashing for performance, etc.
            David Hubbard
            CIO
            Miva
            [email protected]
            http://www.miva.com

            Comment


              #7
              Originally posted by lesliekirk View Post

              The goal is to provide a widely accepted image type that is good for line drawings (among other things). The use of a CDN such as Cloudflare has been discussed but the store owner is set on using SVG (at this time).

              I will pass your suggestion along to the store owner.
              That would be a use case that differs from why I suggested Cloudflare, so they would not be of help in this scenario. I'd make sure SVG image support is in the feature request thread with an explanation of why it's desired (something other than optimized size in this case).
              David Hubbard
              CIO
              Miva
              [email protected]
              http://www.miva.com

              Comment


                #8
                Thanks ILoveHostasaurus (aka David)!
                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

                Working...
                X