Could this be related to the -nopreviews option?
Not sure as we have the same plugin on Mac Desktop as well as server. There too it is working properly. This has suddenly popped out three weeks back and we are just not sure why it is happening.
I found the reason of my problem but not the solution. I resize the frame before getting the geometry of the inside image. Somehow the image within the frame is also getting resized and thus i am not getting the correct geometry information of the image. I used IGeometry->SetPathBoundingBox();
Though I am just giving the Box coordinates it resizes the child too along with it. I don't want this to happen. How can I restrict this? Please help.
Never use setters for document changes. Read the SDK documentation why there are commands.