Skip to content

JPEG mime registration generates warning when used as a gem #5

@pixeltrix

Description

@pixeltrix

When using fleximage as a gem a warning is generated by the registration of the image/jpeg mime type and its alias image/pjpeg. I think this warning is also generated when installed as a plugin but its swallowed during the initial plugin loading. Also looking at the code for register_alias it's the wrong method - it should be registered as a mime type synonym. My fault since I added it in the first place.

Anyway a fix for this can be found in this commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions