Skip to content

Loading…

getImageURIString skips images that have query string parameters #32

Closed
sripathikrishnan opened this Issue · 0 comments

1 participant

@sripathikrishnan

Some background images have query parameters in them, like this -

background-image : url('/path/to/image.png?width=64&height=64')

In such cases, the method getImageURIString(..) computes the file extension as png?width=64&height=64, and goes on to assume the URL is NOT an image.

@sripathikrishnan sripathikrishnan added a commit to sripathikrishnan/cssembed that referenced this issue
@sripathikrishnan sripathikrishnan Issue #32 : Fixes getImageURIString to handle images with query param…
…eters
493501d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.