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
{{ message }}
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.
There is a problem matching the full image src attribute. The href.match(/\.(jpeg|jpg|gif|png)$/i) does not match urls with get parameters like http://domain.com/image.jpg?getParam=43251.
This is a problem especially in Drupal where a GET param is used to resize images and the url provided by Drupal has always this param at the end (see image_style_url() function).
The text was updated successfully, but these errors were encountered:
mihalache
changed the title
Matching full image
Matching full image src
Oct 20, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a problem matching the full image src attribute. The
href.match(/\.(jpeg|jpg|gif|png)$/i)
does not match urls with get parameters likehttp://domain.com/image.jpg?getParam=43251
.This is a problem especially in Drupal where a GET param is used to resize images and the url provided by Drupal has always this param at the end (see image_style_url() function).
The text was updated successfully, but these errors were encountered: