Branch | For Neos-Version |
---|---|
main | Neos 8+ |
v1 | Neos 7 |
You can install the package via composer:
composer require gerdemann/imagehotspots
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.
Just overwrite the Gerdemann.ImageHotspots:Utility.IconFallback
fusion prototype.
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.
The MIT License (MIT). Please see License File for more information.