Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

Warning dans certains cas où l’image source n’existe pas #17

Description

@marcimat

La fonction processImgTag peut recevoir une balise img tel que <img src="IMG/logo/rubon611.jpg" class="spip_logo" alt=""/>.

Si cette image n’existe pas, $this->imgAdaptiveMarkup(...) est appelé avec le paramètre $extension qui est alors indéfini.

Warning: Undefined variable $extension in AdaptiveImages.php on line 789

https://github.com/nursit/AdaptiveImages/blob/master/AdaptiveImages.php#L789

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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