Skip to content

Conversation

@maxfrerichs
Copy link

Some content types in TYPO3 (e.g. uploads / file links) have the option to enable thumbnails. This works for most file types for images and PDFs, but not for Microsoft-related file types (e.g. .docx). When using this extension on a site that has content elements (e.g file links with enabled thumbnails) with file types like mentioned above, an exception will occur, as there is no image to be processed.

Simply disabling deferred image processing for this unsupported file types should prevent the exception.

Some CTypes (e.g. uploads) have the option to enable thumbnails. This works for most file types for images and PDFs,
but not for Microsoft-related file types (e.g. .docx). When using this extension on a site that has content elements
(e.g file links with enabled thumbnails)  with file types like mentioned above, an exception will occur, as there
is no image to be processed.

Simply disabling deferred image processing for this unsupported file types should fix this.
Some CTypes (e.g. uploads) have the option to enable thumbnails. This works for most file types for images and PDFs,
but not for Microsoft-related file types (e.g. .docx). When using this extension on a site that has content elements
(e.g file links with enabled thumbnails)  with file types like mentioned above, an exception will occur, as there
is no image to be processed.

Simply disabling deferred image processing for this unsupported file types should fix this.
@thommyhh
Copy link
Contributor

Thanks for the PR. I'll drop this in favour of #19 which only allows image and PDF files. Could you test the version in #19 and provide feedback, if it works as expected?

@thommyhh thommyhh closed this Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants