Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.46 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.46 KB

Gerdemann.ImageHotspots

Latest Stable Version License

Branch For Neos-Version
main Neos 8+
v1 Neos 7

Installation

You can install the package via composer:

composer require gerdemann/imagehotspots

Demo

Disable automatic CSS and JS

prototype(Neos.Neos:Page).hotspotStyles >
prototype(Neos.Neos:Page).hotspotJavaScript >
prototype(Neos.Neos:Page).hotspotBackendJavaScript >

Hint: Then you have to add your own JavaScript and CSS, otherwise the plugin does not work.

Change icon fallback

Just overwrite the Gerdemann.ImageHotspots:Utility.IconFallback fusion prototype.

Change the rendering of the content box

Just overwrite the (renderer of the) Gerdemann.ImageHotspots:Content.HotspotContent fusion prototype.

It is also possible to create own NodeTypes that inherit from Gerdemann.ImageHotspots:Content.Hotspot. To disable unnecessary properties just disable the supertype Gerdemann.ImageHotspots:Mixin.HotspotContent in the new NodeType.

License

The MIT License (MIT). Please see License File for more information.