Enhance Volto text blocks to automatically append file size and mimetype to internal links
Project description
collective.volto.enhancedlinks
Enhance Volto slate blocks to automatically append file size and mimetype to internal links.
Features
When you link a content in slate block, if the linked object has volto.enhanced_links_enabled behavior enabled, an extra data will be appended to the block with its size and mimetype.
By default the behavior is enabled for:
File
Image
Installation
Install collective.volto.enhancedlinks by adding it to your buildout:
[buildout] ... eggs = collective.volto.enhancedlinks
and then running bin/buildout
Contribute
Compatibility
This product has been tested on:
Plone 6
License
The project is licensed under the GPLv2.
Credits
Developed with the support of:
Regione Emilia-Romagna supports the PloneGov initiative.
1.1.0 (2024-03-18)
Add tool to manage infos, removed memoize machinery [mamico]
1.0.1 (2024-01-30)
Add some default metadata in summary serializer. [cekk]
Return getObjSize and mime_type in summary serializer for brains and contents with enhancedlinks behavior. [cekk]
1.0.0 (2024-01-26)
Initial release. [cekk]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.volto.enhancedlinks-1.1.0.tar.gz
.
File metadata
- Download URL: collective.volto.enhancedlinks-1.1.0.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6fc62c3d4a8c76ffb4d5db4e54bfe4827333bd770dbf2ff72d073d08129479 |
|
MD5 | 00c4be3937bbdf1b98d012c06bd02853 |
|
BLAKE2b-256 | 03072269ae11b64d3d52f22c9849a7dce9bdd937b6d1d9526c3c965d08d19b94 |