As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [dianoga]

Questions relating to Dianoga - an image optimisation extension for Sitecore. It is used to reduce the weight of pages served by automatically using appropriate compression on JPG, PNG and SVG images served from Sitecore's media library.

Filter by
Sorted by
Tagged with
2 votes
1 answer
93 views

SVGs files are not getting converted to WEBP format using Dianoga

We have added Dianoga to our Sitecore which should convert JPEG, ONG, and SVG to Webp format but can someone explain to me why my SVG files are not getting converted? I have no error in logs, the ...
DiveshS's user avatar
  • 21
0 votes
0 answers
146 views

Getting Dianoga 6 to work with Sitecore 10.2 Docker Containers, JSS with NextJS and SXA

We are on Sitecore 10.2 Docker Containers + JSS with NextJS + SXA and attempting to configure Dianoga 6.0. We have updated the web transform file (Web.config.xdt) for sitecorejss_media.ashx handler. ...
Maria's user avatar
  • 1
1 vote
0 answers
134 views

Dianoga errors in the logs for temporary file paths

Getting the below errors related to Dianoga in log files related to temporary file paths. Dianoga version used is 5.4.1 ERROR Dianoga: Unable to optimize {Image path} due to a processing error! It ...
Swathi's user avatar
  • 11
1 vote
3 answers
466 views

Webp Image not generating when azure CDN enabled

With Dianoga.WebP.config enabled, I replaced JSS media handler in web.config: with custom one: using MediaRequestHandler = Sitecore.JavaScriptServices.Media.MediaRequestHandler; public class ...
user11720's user avatar
0 votes
2 answers
183 views

Dianoga image optimization error for few of the images

Getting the below error in Dianoga logs. The version used is 5.4.1 - ERROR Dianoga: Could not resize image as it was larger than the maximum size allowed for memory processing Also, the load time of ...
Swathi's user avatar
  • 11
0 votes
1 answer
199 views

Getting Dianoga to work with the jssmedia urls

I've been at it a couple of days now and gotten Dianoga working, converting all of our "old media" images to shiny new webp format images. It works great for the standard ~/media url ...
mezmo's user avatar
  • 103
0 votes
1 answer
342 views

Dianoga v5 with WebP, CDN and Sitecore HTML Cache

As part of a Sitecore upgrade to v10 we also upgraded to Dianoga V5.4.1. This site uses output/HTML cache extensively. We need to support browsers with and without webp support. The WebP CDN config ...
Jeroen's user avatar
  • 1,194
1 vote
2 answers
146 views

Dianoga not writing to logs

Has anyone come across Dianoga for dotnet (v5.4.1.0) not writing to its logs under IIS? The files are created when you restart IIS but they always remain empty. This is IIS 10 on Windows Server 2016 ...
Mark D's user avatar
  • 11
0 votes
2 answers
81 views

Dianoga SVGO Additional Tool Arguments Syntax

I am using Dianoga for SVGs. I would like to disable removeViewBox. What is the syntax for adding additional arguments to SVGO? Here is what I have (that does not work): <dianogaOptimizeSvg> ...
Ethan Schofer's user avatar
2 votes
1 answer
311 views

MediaRequestProtection: An invalid/missing hash value was encountered with Dianoga

I am working on a project with sitecore 9.2 and JSS. I installed Dianoga 4.0.0 for image optimization in development environment. Some images are getting optimized properly, but for other images I ...
NewbieHere's user avatar
6 votes
2 answers
766 views

WebP format support with backward compatibility (support in IE, Safari)

I am using Dianoga module (Thanks to Kam Figy) to optimize the images. At present looking to enable WebP format with backward compatibility (serving default image format for un-supported browsers) ...
Gopikrishna Gujjula's user avatar
1 vote
1 answer
134 views

Calculating dianoga's optimized image size?

Is there a way to programmatically get the Sitecore media files' size which is being optimized by Dianoga? We need to show the image size on the site. MediaItem.Size property is getting us the ...
Durga Bose's user avatar
5 votes
1 answer
404 views

Deployment of dianoga or dianoga.imagemagic to Test environment

How to deploy dianoga or dianoga.imagemagic with sitecore to test environment? I am using buildmaster to deploy the web application to test environment. By the normal build it's not deployed to test ...
SumitK's user avatar
  • 721
0 votes
1 answer
438 views

Dianoga implementation issue on the Azure Paas

I have implemented the Dianoga in my dev environment, while the final solution is deployed on azure paas. Could not resolve type name: Dianoga.Invokers.MediaCacheAsync.Pipelines.Initialize....
Sitecore Sam's user avatar
  • 1,164
9 votes
1 answer
474 views

Is it possible to run Dianoga in an Azure Web App?

A very simple question I'm looking to get confirmed. Can you run Dianoga module in Sitecore within an Azure Web App context? My main concern is that it requires .exe files for compression as ...
TomT's user avatar
  • 1,079
10 votes
3 answers
5k views

Improve image compression using Dianoga

We are exploring using Dianoga for dynamic image compression of assets in the media library. After installing the NuGet package and running some simple tests (comparing MediaCache image sizes with and ...
Dan Sinclair's user avatar
  • 5,245
6 votes
1 answer
165 views

Dianoga - JPEGTrans locking resource during deployment

Seem to be suffering an inconsistent issue whereby jpegtrans is not completing / locking a resource during deployments despite the application being shut down. Any help would be appreciated. Thanks ...
Nat's user avatar
  • 63
3 votes
1 answer
875 views

Clarification sitecore Dianoga Module

I'm working on performance tuning the sitecore media images. Noticed Dianoga module. Appreciate if some one can help clarify below: Does this module optimize the image parameter such as w,h etc. ...
Nil Pun's user avatar
  • 2,263