jonnitto/picture

Last activity on 3 March 2020
  • 1
  • 1
  • 1138
composer require jonnitto/picture

Responsive picture for Neos CMS

2.0.1

Responsive picture for Neos CMS

Version
2.0.1
Type
neos-plugin
Release Date
25.03.2020 16:47:46
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT
  • #flow
  • #image
  • #photo
  • #neos
  • #picture
899c7fb3d1f7484d22c3a75ee7d6991cda402032

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers GitHub followers Follow Jon on Twitter

Jonnitto.Picture Package for Neos CMS

With this package you add a <picture> NodeType into Neos CMS.
Contributions are very welcome!

Installation

Most of the time you have to make small adjustments to a package (e.g. configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:

composer require jonnitto/picture --no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Et voilà! Your desired package is now installed correctly.

Lightbox support

If you want to add lightbox support you can set the super types on the Picture node type:

'Jonnitto.Picture:Picture':
  superTypes:
    'Jonnitto.Picture:Lightbox': true
    'Jonnitto.Picture:Caption': true

After that, you can install Jonnitto.PhotoSwipe via composer: composer require jonnitto/photoswipe
Et voilà: You've just included PhotoSwipe

License

Licensed under MIT, see LICENSE

The content of the readme is provided by Github
The same vendor provides 28 package(s).