Skip to content
This repository was archived by the owner on Apr 15, 2021. It is now read-only.
This repository was archived by the owner on Apr 15, 2021. It is now read-only.

Matching full image src #72

@mihalache

Description

@mihalache

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions