Closed LeeThompson closed 1 year ago
Nice, please make a Pull Request
and get all the fame ;-)
Nice, please make a
Pull Request
and get all the fame ;-)
I'll give it a try, haven't done one before; I'll clean up the code a bit first too.
Submitted as a PR NOTE: Needs testing.
Resubmitted the PR, additional stuff.
This won't work for the file exist check but this will apply the correct extension (as long as exif_imagetype knows it) when saving icons locally.
This has "ico" as the default extension although in reality the one it's most likely to be if it's none of the others is SVG.
The file exists check is going to have to check all the common extensions.