Image showing in viewer with width 0px

Hi


After integrating Group Docs Viewer version 3.6.0, most of the documents like pdf are viewed correctly, but image is not rendering properly. When we checked we found that the image tag is formed with “GetResourceForHtml” having a style “<span class=“webkit-html-attribute-name” style=“min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(34, 34, 34); unicode-bidi: -webkit-isolate; font-family: Consolas, “Lucida Console”, monospace; font-size: 12px; white-space: pre-wrap;”>style<span style=“color: rgb(34, 34, 34); font-family: Consolas, “Lucida Console”, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);”>=”<span class=“webkit-html-attribute-value” style=“min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(34, 34, 34); unicode-bidi: -webkit-isolate; font-family: Consolas, “Lucida Console”, monospace; font-size: 12px; white-space: pre-wrap;”>width: 0px;<span style=“color: rgb(34, 34, 34); font-family: Consolas, “Lucida Console”, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);”>"". Can you suggest any solution for the same.?

Hi Samphu,


Thanks for sharing your issue with us.

Are you using any of the open source document viewer applications listed below? If yes, please mention the name.

  • <a rel=“nofollow” href=“https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET/tree/master/Showcases/ASP.NET_MVC_Front_End” class=“js-navigation-open” id=“6d0d3335bcedeb4e3f17f068bf4059d5-13b5263e8fcccaffb3284be021cd5789c3d275f9” title=“ASP.NET_MVC_Front_End” style=“box-sizing: border-box; background-color: rgb(255, 255, 255); color: rgb(64, 120, 192); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”; font-size: 14px; white-space: nowrap;”>ASP.NET_MVC_Front_End
  • <a rel=“nofollow” href=“https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET/tree/master/Showcases/ASP.NET_WebForm_Front_End” class=“js-navigation-open” id=“3b1c9237c5322dddadcbaffe9171d725-02aab954bb3a433347983734c1672c201ce7bb0d” title=“ASP.NET_WebForm_Front_End” style=“box-sizing: border-box; background-color: rgb(255, 255, 255); color: rgb(64, 120, 192); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”; font-size: 14px; white-space: nowrap;”>ASP.NET_WebForm_Front_End
  • <a rel=“nofollow” href=“https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET/tree/master/Showcases/New%20Front%20End” class=“js-navigation-open” id=“b7677dd475e35e1c4e46d679103109e9-a351130ba2f3a5f8fdaab4e4f65073cf8a9c70ba” title=“New Front End” style=“box-sizing: border-box; background-color: rgb(255, 255, 255); color: rgb(64, 120, 192); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”; font-size: 14px; white-space: nowrap;”>New Front End

We shall be looking forward for your response.

Warm Regards