Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 12 total |
SVG file not displaying |
Fri, Aug 28 2015 1:12 PM | Permanent Link |
Trinione | Since the 2.01 update I have lost the ability to view svg files.
Previously setting TImage component URL property showed the SVG at run time. Example, img.URL := 'images/close.svg'; That worked before. |
Fri, Aug 28 2015 1:57 PM | Permanent Link |
Uli Becker | I tried this one:
https://demosthenes.info/assets/images/thumbnails/homer-simpson.svg and it's displayed as expected. Uli |
Fri, Aug 28 2015 2:35 PM | Permanent Link |
Trinione | << https://demosthenes.info/assets/images/thumbnails/homer-simpson.svg >>
Would it work if you entered 'images/thumbnails/homer-simpson.svg'? Assuming that the svg is located in a sub-folder under the location from which the app is being run. app.html | --- images | ---- close.svg |
Fri, Aug 28 2015 2:49 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Trinione,
<< Since the 2.01 update I have lost the ability to view svg files. Previously setting TImage component URL property showed the SVG at run time. >> Are you sure that the SVG is located where you think its located ? Are you running from the IDE, or via an external browser ? Tim Young Elevate Software www.elevatesoft.com |
Fri, Aug 28 2015 4:41 PM | Permanent Link |
Trinione | Tim:
<< Are you sure that the SVG is located where you think its located ? >> Yes the files are located exactly where they should be. Are you running from the IDE, or via an external browser ? I have checked in both. Both from the IDE and via a web browser. I can see the file via the browser via the address: http://localhost:8090/images/close.svg To be clear, in the TImage component I have set the URL property to 'images/close.svg'. That's it. And, that worked before. |
Fri, Aug 28 2015 4:47 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Trinione,
<< To be clear, in the TImage component I have set the URL property to 'images/close.svg'. That's it. And, that worked before. >> Did you see the release notes statement about the ContentLayout breaking change ? It's possible that you've got a messed-up layout for the image content, and *that* is preventing the image from displaying. Tim Young Elevate Software www.elevatesoft.com |
Fri, Aug 28 2015 5:11 PM | Permanent Link |
Trinione | << Did you see the release notes statement about the ContentLayout breaking change ? It's possible that you've got a messed-up layout for the image content, and *that* is preventing the image from displaying. >>
Hi Tim, These are the steps I have taken: (1) Placed a TImage component on the form (2) Set: URL to 'images/close.svg' (3) Cleared the 'Background | Image | Name' property to empty (4) Set: ContentLayout | height to 30 ... width to 30 ... Position to cpCenterCenter ... Size to csSpecified And, close.svg file is located in the 'output' folder and can be seen via the http://localhost:8090/images/close.svg from the browser. |
Fri, Aug 28 2015 5:26 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << These are the steps I have taken:
(1) Placed a TImage component on the form (2) Set: URL to 'images/close.svg' (3) Cleared the 'Background | Image | Name' property to empty (4) Set: ContentLayout | height to 30 ... width to 30 ... Position to cpCenterCenter ... Size to csSpecified >> Does the above work with something like a PNG ? I just tried that here with a different image and it works fine. Can you post the SVG that you're using, so that I can test with the actual image. I'm wondering if there's a rendering issue because of the size. Tim Young Elevate Software www.elevatesoft.com |
Fri, Aug 28 2015 5:32 PM | Permanent Link |
Trinione | << Does the above work with something like a PNG ? >>
PNG is not showing either via the URL. However, when I use the Background | Image property, it is fine. << Can you post the SVG that you're using, so that I can test with the actual image. I'm wondering if there's a rendering issue because of the size. >> Attached it. Attachments: close-black.svg |
Fri, Aug 28 2015 6:08 PM | Permanent Link |
Trinione | Tim:
The SVG images suddenly appeared after I reset the ewbsrvr to the same project having changed it to another project for a test of the SVG images. And, it did not work on the test project either. However... it suddenly appeared when I reset to my main project. It's Fridayevening... I am outta here with that one! |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Monday, April 29, 2024 at 05:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |