ironexdev / zoom

Lightweight (8 Kb) ES5 javascript plugin without any dependencies, compatible with desktop and mobile devices.
https://zoom.by-ironex.com
Apache License 2.0
33 stars 13 forks source link

container is zoom not image #9

Open dgillier opened 2 years ago

dgillier commented 2 years ago

Hello,

I'm wondering if I missed something, I'd like to have a fixed container and the picture within zoomed, but what I'm having is the container zoomed (x2 in size both direction).

Is there a way to use this library with having just the zoom not the container.

I'm doing this:

                    <div class="zoom max-w-full">
                        <img class="ring-gray-700 w-full ring-2" src="{{$mediaCollections['receipts']->temporaryUrl()}}" width=""/>
                    </div>

Thanks, Denis