Empty thumbnails creates warnings
ryantology opened this issue · 0 comments
ryantology commented
If you don't want to create thumbnails of your uploads (PDF, Word Docs etc..) and you pass an empty thumbsizes array (or leave the thumbsizes array out) you will get a warning notice.
This happens for both
// Verifies if the thumbsizes names is alphanumeric
and
// Create the folders for the uploads
There are two options that I see to solving this
- Create a new option that turns thumbnails on or off
- Added tests to see if the thumbnails array is empty