fs_image
This module provides a filesystem-based image field for Odoo models that supports automatic resizing, alt text management, and efficient storage.
Key Features
- fs_image: Provides a field to store images in filesystem storages with automatic resizing based on max_width and max_height parameters.
- fs_image: Supports verification of image resolution to prevent excessive sizes.
- fs_image: Allows setting alt text for images for accessibility purposes.
- ir.attachment: Adds an alt_text field to store alternative text for images.
- fs.image.mixin: Offers a mixin class that adds image and image_medium fields to models.
- fs.image.mixin: Automatically generates a 128x128 thumbnail as image_medium for preview purposes.
- web: Includes a widget for displaying images in form views with preview and zoom functionality.
- fs_image: Enables creation of related stored fields for different image sizes.
- fs_image: Processes images on write operations to resize them according to field constraints.