Free Support Forum - groupdocs.com

Embedded images in word doc will not render


#1

Hi,


I have integrated the group docs viewer (the latest version from the site 2.13.0) and everything is working as it should except for one issue.

When I use the html based engine an image within a word document is not rendered.

I am wondering if this is a known issue or if I have caused this problem on my end ?


I have attached an image of what I see when I attempt to view this document with an embedded image.

#2

This issue has been resolved. I had an error in the mapping of my web xml.


However, I have now noticed another issue with the “zoom level” header feature.

Whenever I use this feature there is a considerable amount of white space added below the iFrame.

See image below

#3
Hello John,

Thank you for your inquiry.

We glad to hear that you have resolved independently your first issue. About your second issue - seems that you just incorrectly configured the height of the Viewer widget . As you can see on the screenshot, that this widget has the height 650 px and this parameter you can configure in application.properties file as groupdocs.viewer.height=650.

If this variant will not help you , then please share with us your applications.properties file and type of your project.

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#4

Unfortunately this did not solve the issue. I thought it might because in the index servlet I altered the value of height coming in to ‘100%’ since the properties file does not allow this value.


However when I changed the height back to 650 I just got a short viewer with the same problem.



#5
Hello John,

We are sorry, that you still have the issue. Could you please share with us your index servlet file and full html code from your web page. Also will be useful if you share with us your applictaion.properties file.

We will investigate them and help you with resolving the issue.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#6

Ok, I can do that. Attached are the properties file, index servlet, and html generated by groupdocs. The html is an iFrame of the viewer appliaction url embedded in a jQuery pane layout.


#7

In addition to my previous post you can set this parameter as groupdocs.viewer.height=0, but in this case html tag “div” should contain a style with height = 100% property as you can see on this screenshot.


-------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#8

Thanks, I have already applied that alteration to the code. This next line works additionally as well but is dependent of knowing the specific size in the properties file.


viewerHandler.getViewerScript(viewerId, initialFilePath, locale).replace(“650”, “‘100%’”)

#9

Hello again ,


We glad to hear, that you have solved your issue.

If you will have more questions please feel free to contact us.

-------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#10

There might be a little confusion, that scales the viewer to full height of the iFrame, but when the zoom level is changed the extra white space is still added.


#11
Hello,

Could you please specify, did you try to configure the Viewer widget as I showed to you in my previous post ?

If not , then please delete your code (viewerHandler.getViewerScript(viewerId, initialFilePath, locale).replace("650", "'100%'")) and add my configuration.

We will wait your notification about result.

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#12

That did not work either, still getting a large area of whitespace outside the iFrame after using the zoom level.


#13
Hello,

In such case, could you please share with us your project example and describe step by step, how we can reproduce your issue in our side. Because in our servlet sample we still can't reproduce it.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#14

Unfortunately I cannot do that as it is integrated into my companies application for testing purposes. I do believe though that the issue is not on your end because when I render the viewer by itself in a new browser window (not inside the layout pane) the zoom feature works properly.


Thanks for you help.

#15

You are welcome. If you will need some help from us, then please feel free to contact us.


-------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+