Using svg background images in Trigger.io and android 4.4 - css

svg background images are not displayed in android 4.4.
This is only a problem when trying to load them from as local recourse. svgs are displayed when loaded from a remote url.

check out your css file and make sure you are calling backgound-size AFTER background.
More information is found here: http://developer.android.com/guide/webapps/migrating.html#BackgroundSize

Related

Coloring png files in IE11

I am looking for a way to color png icons in css. I need compatibility with Citrix in IE11 mode Edge, and .svg files are blocked by citrix. Therefore, I need to use .png icons. However, I cannot use css filters to recolor the icons in IE11 - therefore I need another solution.

What are the allowed (supported) background image extensions in CSS3?

I'm making a module using Php for generating image transforms for background images from an uploaded image in a CMS.
First step is checking the extension to see if the image is even allowed to be used for a background image. However I couldn't find information about this online.
background: url('image.extension');
Does anyone know if there are any?

Using an .SVG image background doesn't display?

i have tried using an svg image as a background image in css on windows, but the image doesent appear and when i open the image in a separate tab it downloads the file instead of displaying it. Is there some other code needed to display svg files, or will they not display on a local site?
Any feedback welcome..
You are not serving the image with the right mime-type. How you set that depends on what web server you're using, look up setting mime types in the help for it. You want the svg image to be served as image/svg+xml

CSS background image from network path

I am working on a custom solution in SharePoint.
I have a requirement to display images from a shared network path because these images are also shared with multiple MS applications i.e Dynamics AX
I am setting background image for my div as: background-image:url(file://{server-name}/{shared-location}/filename.ext
It works in IE. But not in Chrome! How can I make it work in other browsers as well?
file://{server-name}/{shared-location}/filename.ext renders the image when put to chrome url bar. But the same line dont works when set as background image for a div
I could create a virtual path for it, but I fear i might not able to do that in production. Please suggest! Thank you
Try with:
background: url("file://{server-name}/{shared-location}/filename.ext");
Be sure that {server-name} and {shared-location} haven't spaces and if they include slashes use forward slashes.

Images in svg file doesn't show up in Qt

I'm trying to display a svg image with Qt and it works well except that any image (.gif, .bmp, ...) in the svg image doesn't show up (lines, circles, texts works OK).
If I open the svg in firefox the image displays correctly.
I have put qgif4.dll in a folder imageformats and QtSvg4.dll besides the executable but to no avail.
I'm displaying the svg with the help of svgview.h/.cpp and I'm running on a WinXP machine (Qt version 4.7.2).
Any help greatly appreciated!
If you are loading it via a QIcon, it should work without assistance.
If you are trying to load it using a QPixmap or QImage - you can't. You have to use QSvgRenderer (or the related classes) in the svg module to rasterise the data.

Resources