Skip to content

Zoom Window Size Causes Buggy Window Position #119

@angable

Description

@angable

I found that certain sizes will sometimes cause the zoomWindowPosition to not properly work.

For Example, I can easily use

$('img.formFillingPreview').ezPlus({
            zoomWindowWidth: 500,
            zoomWindowHeight: 300,
            zoomWindowPosition: 10,
            minZoomLevel: 1.2,
            borderColour: '#888',
            borderSize: 1,
        });

And it will work fine. The zoom magnify window shows up in the 10 position, it seems about the correct size and looks good.

However, if I change the sizing to this

$('img.formFillingPreview').ezPlus({
            zoomWindowWidth: 350,
            zoomWindowHeight: 200,
            zoomWindowPosition: 10,
            minZoomLevel: 1.2,
            borderColour: '#888',
            borderSize: 1,
       });

Suddenly the zoom magnify window is inside the image that is being zoomed into (img.formFillingPreview).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions