Issue in landscape image display

image.png (27.4 KB)
Kindly check the attached image showing our problem.
The problem is that when we view a landscape image it shows like this. And it’s from the library as I found.
Any recommendations?

@m.yehyashahbour,

Thank you for reaching out. To better assist you, could you please provide the following information:

  1. Which version of .NET are you currently using? (.NET Framework, .NET Standard/Core or .NET 6)
  2. Could you also specify the version of Doconut you are using?
  3. Additionally, could you please send the example file where the error occurs?

If you could send a snippet of the code you are using to open the image it would be very helpful.

Thank you!

I ran into something similar a while back! Have you checked if you’re on the latest version? Sometimes the CSS for the viewer container gets a bit wonky with landscape ratios. Also, check your .js configuration - there’s usually a FitPageWidth or AutoRotate property that might be fighting with your image dimensions.

1 Like