gerdemann/imagehotspots

Neos CMS Package for image hotspots

Installs: 274

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

Language:JavaScript

Type:neos-plugin

2.0.0 2023-02-21 13:42 UTC

This package is auto-updated.

Last update: 2024-04-21 16:44:24 UTC


README

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.