My DNN site is .09.10.02. I added the webp to the valid file format line.
https://doc.dnngo.com/min...-in-the-minis-theme/
If I replace a jpg with a webp, I will get this message: File type webp is invalid in this context. Valid file types include: bmp,gif,ico,jpeg,jpg,jpe,png,svg.
When I worked with the PHP Laravel site, I changed several files to make it work. I am a newbie. Please direct me to which files I should change.
Posted By Sam Mah on 9/15/2023 6:21 AM Thank you for your answer. I will add the mime type in the config file. That's it?
If you want to also be able to upload and see the webp files in DNN, you'll also want to update the Allowable Files setting.
webp
Go to the persona bar while logged in as a superuser. Then go to Settings > Security > More > More Security Settings.
Add the webp file extension to the Allowable File Types field, and save the change.
Posted By Will Strohl on 9/15/2023 6:49 PM Posted By Sam Mah on 9/15/2023 6:21 AM Thank you for your answer. I will add the mime type in the config file. That's it? If you want to also be able to upload and see the webp files in DNN, you'll also want to update the Allowable Files setting. Go to the persona bar while logged in as a superuser. Then go to Settings > Security > More > More Security Settings. Add the webp file extension to the Allowable File Types field, and save the change.
I added the WebP to those locations. I have no problem uploading the WebP in the image directory, but the CK editor gives me an issue that says this file is invalid. I don't know which setting in the CK editor I troubleshooted.
Ah, well... in that case, I'd recommend not using the HTML module for anything beyond simple text. Everything else that requires more should use any of the structured content solutions out there so that you can perform nearly any content action without worrying about whether or not a third-party HTML editor is going to allow it. It will be a much better investment of time. :)
(Especially since the two most popular options are free and open-source.) ;)
If you decide to try out 2sxc for structured content, there are some great features built-in for modern image handling. See https://2sxc.org/dnn-tuto...azor/tut/img-picture for more information.
Posted By Sam Mah on 9/18/2023 2:03 PM Yeah, it has been frustrated for me. The WebP came out so many years ago, and those third party things don't keep with the trend.
Agreed... But with any open-source solution out there, updates depend on either passionate volunteers to implement updates, and/or sponsors (companies) to sponsor new work by folks that are less passionate about the pending updates that need to be made.
It's a good idea for any company running any open-source software to either have a company on retainer for these kinds of things, or to sponsor a company whenever they need something implemented.
In short, if your company depends on an open-source app, support it and it will support you. 💪🏽😎🤙🏽
Posted By Will Strohl on 2/23/2024 12:20 PM Posted By Sam Mah on 9/18/2023 2:03 PM Yeah, it has been frustrated for me. The WebP came out so many years ago, and those third party things don't keep with the trend. Agreed... But with any open-source solution out there, updates depend on either passionate volunteers to implement updates, and/or sponsors (companies) to sponsor new work by folks that are less passionate about the pending updates that need to be made. It's a good idea for any company running any open-source software to either have a company on retainer for these kinds of things, or to sponsor a company whenever they need something implemented. In short, if your company depends on an open-source app, support it and it will support you. 💪🏽😎🤙🏽
Instead of a "thumbs up", I'd really, really, really, like to "LOVE" this comment. It is so true Will. Thank you for making this point.
#opensource #ftw
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.