You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
in my very old app, I have this nasty scenario: an image has a src that is something like http:/give/me/some/image/from/server and the problem is that I don't know beforehand which type of image (svg, png,...) the url will return.
So, is there a way for intercepting the loading of the image and, if it is an svg, I let library do the replacement of the with an , but, if it is another type of image I leave the old tag.
regards
The text was updated successfully, but these errors were encountered:
Hi,
in my very old app, I have this nasty scenario: an image has a src that is something like http:/give/me/some/image/from/server and the problem is that I don't know beforehand which type of image (svg, png,...) the url will return.
So, is there a way for intercepting the loading of the image and, if it is an svg, I let library do the replacement of the with an , but, if it is another type of image I leave the old tag.
regards
The text was updated successfully, but these errors were encountered: