Welcome to TalkGraphics.com
Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,826

    Lightbulb Use of SVG in XDA Web Exports

    Dear Xara...

    I want to maintain the highest presentational quality in my websites. With the improvements to your Xara HTML filter over the years, we now have boxes marked up as HTML DIV tags rather than raster images.

    Can you go a little further? The XDA chooses the best raster file format from JPEG and PNG, which can be overruled by the designed in Web Properties > Image > Web image type.
    Can you also now include the vector SVG format as a further choice?

    I appreciate not all browsers handle SVG; your built-in Internet Explorer previewer being a case in point.
    I currently set a suitable graphic to PNG and give it a Name, filename="<image>". I then export the graphic by copying it into a Blank Photo template (this has to change!) as <image>.svg.
    I set the original image Link to file to <image>.svg. finally, I add Placeholder code:
    Code:
    <object type="image/svg+xml" data="index_htm_files/<image>.svg">
    <img src="index_htm_files/<image>.png" />
    </object>
    This allows for a fallback to PNG if the SVG cannot be rendered. I still need to keep a copy of the PNG on the page so I usually soft-group it behind the Placeholder.

    I would like all this to be automated within the Xara HTML filter.

    Thanks.

    Acorn
    Last edited by Acorn; 28 May 2019 at 02:31 PM.
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •