Image Zoom

Field allows you to magnify images on the spot.

It is often necessary to view the image in more detail on the same page - and the original image is pasted into a table.

image_zoom preview

Example


use agoalofalife\Orchid\Fields\ImageZoom; // title - title before the field // value - path to the image // zoomPercent - zoom of the image in percents // widthPercent - width of the image in percent ImageZoom::make('image') ->value('https://orchid.software/img/next/unbox.svg') ->zoomPercent(100) ->widthPercent(20),

Field Source