FileField Sources JSON API
Categories
Component ID
2919028
Component name
FileField Sources JSON API
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
114
Component created
Component changed
Component body
The module defines 'JSON API remote URL' file field source (based on the Filefield sources 'Remote' plugin). You can setup JSON API host URL, query params to get remote (image/file) URLs in the modal browser. There is an option to set up sorting and searching configuring via JSON API filters and define default alt, title attributes for image fields and description for file fields.
Usage/features
- Define JSON API sources - with JSON API params (filters, includes etc).
- Set credentials in settings.php
- Attache defined JSON API sources to file/image filed via widget settings.
- You can attache multiple JSON API sources to file/image field.
- You can set image style to transform remote images before saving it (e.g. to reduce file size).
Requirements
FileField Sources module.
Restrictions
- Widget/browser doesn't support multiple selecting. This means: You can set the field cardinality to more than 1, but you can select remote images by one.
Planned features/todos
maximum upload size)