Copyright: Icon
Image with a copyright

Image with a copyright

Introduction 

This extension does two things:

  • You can choose to require the copyright to be entered in the metadata of an image.
  • The extension adds the copyright to the frontend:

    • to the caption
    • to the alt tag
    • to the title tag

The copyright in the caption can contain multiple links to external websites.

All you have to do is insert the TypoScript template.

File: copyright is obligate

File: copyright is obligate in the case above

Copyright field: the rich-text-editor enables you to set an URL

Copyright field: the rich-text-editor enables you to set one or more URL

Users 

You have to enter a copyright in the copyright field of the image metadata, if it is obligate. That's all.

If you like to set a link, the rich-text-editor enables the link wizard. All other properties like header or a bold font won't have any effect in the frontend.

Setup 

You have nothing to do but

  • enable this extension and
  • include the typoscript template.
Configure Extension copyright

Configure Extension copyright

Configuration 

Rich-Text-Editor 

Copyright field will be extended with the Rich-Text-Editor. Users can use the link wizard. A link will be rendered in the frontend, all other HTML tags will be stripped.

Debugging 

The EXT:copyright is overwriting fluid partials of the TYPO3 API.

Like in the illustration below the partials of the EXT:copyright will be included at

lib.contentElement.partialRootPaths.21
Copied!
Position of partial template in the typoscript tree

If you don't have any effect in the frontend – if a copyright is not displayed – the cause is probably, that partials of another extension overwrite image properties.

You can check this effect, if you include the EXT:copyright with the highest element id like

lib.contentElement.partialRootPaths.21 >
lib.contentElement.partialRootPaths.9999 = EXT:copyright/Resources/Private/Partials/
Copied!

Extensions 

These extensions can be used ready-to-use with EXT: copyright:

  • EXT: org
  • EXT: start
  • EXT: xblog

Credits 

Many thanks to BÜNDNIS 90 / DIE GRÜNEN Berlin for ordering and to verdigado eG for developing the first version.

The cooperative verdigado is a central service provider for all divisions of BÜNDNIS 90 / DIE GRÜNEN.

The cooperative develops open source software. Its projects include the following extensions among others:

  • launch, launchstart, launchstartgreen
  • org
  • slick
  • start, startgreen
  • xblog
GRÜNE Berlin

GRÜNE Berlin

The verigado logo

verdigado eG