DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Performance issue images on mobile

 9 Replies
 1 Subscribed to this topic
 21 Subscribed to this forum
Sort:
Author
Messages
Advanced Member
Posts: 243
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
2 Engaged Reader
Engaged Reader
You are an engaged reader!

We are working on improving the performance of our website. In particular, the images on mobile need to be optimized. What options are available within DNN to optimize images for mobile in terms of performance? For example: caching, WebP?

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

webp is possible to upload. There are extensions that require to enable this extension, like EasyDNN but if you check the settings, you just activate the option.

For resizing, you can use the image handler by adding something like ?width=300&height=200&mode=crop to the image tag.

If you want to further enhance, you can use a CDN like Cloudflare. 

Advanced Member
Posts: 243
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
We are using Open Content and the build in crop function... it can't crop diferent size for desktop and mobile (like easydnn) or am I missing an option in OC?

Can we use the default DNN CDN option on portal level? We thought CDN is only for css and javascript not images?

Thanks!
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

You can add srcset in your Open Content ntemplate in combination with either the core image handler or Sacha's image handler (which is what I use).
https://github.com/sachat...n/OpenImageProcessor

Example:

<code>img srcset="{{Image.cropUrl}}?width=1000 500w, {{Image.cropUrl}}?width=1500 1500w, {{Image.cropUrl}} 2500w" src="{{Image.cropUrl}}?width=750"</code>


 

Advanced Member
Posts: 243
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
I assume it generates on the fly...
Advanced Member
Posts: 243
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
we can't get webp working:
https://jimbobsquarepants.../imageprocessor-web/
https://www.nuget.org/pac...ocessor.Plugins.WebP

maybe the wrong version of ImageProcessor.Plugins.WebP.dll

What version do you use 1.3?
Advanced Member
Posts: 243
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
i get this error: Exception Details: System.ApplicationException: Cannot load libwebp.dll
Advanced Member
Posts: 243
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
Timo can I get the right ImageProcessor.Plugins.WebP.dll form you?
Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
We are using ImageMagik, https://imagemagick.org/
This is a nice image processing solution. Here is how we use in in RocketCDS: https://github.com/Rocket...ketUtils/ImgUtils.cs
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!
Posted By willem on 2/12/2026 2:32 PM
Timo can I get the right ImageProcessor.Plugins.WebP.dll form you?

I have not used the webp plugin.

 

 

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved