Skip to content

Fatal error: Unsupported image type [pdf] #1

@robbinjohansson

Description

@robbinjohansson

There seems to be an issue when uploading .pdf files in wp-admin while this plugin is activated.

I get the following error message when trying to access my uploaded .pdf file at http://local.wordpress.dev/img/2018/02/some_file.pdf:

Fatal error: Uncaught Intervention\Image\Exception\NotReadableException: Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files.

Is it possible to tell glide to ignore a specific filetype? (e.g .pdf, .txt)

Thanks for a great plugin!

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