The Apijs module for OpenMage
Contents (v6.9.6)
Don't forget that the present documentation is only about the latest version of the module.
Don't forget to read this page entirely.
🌟🌟🌟🌟🌟 by Aurélie,
on 01/04/2020 This module isn't premium, isn't ultimate, isn't pro, it doesn't contain a spyware or a nice ad, and it won't increase by 165% your ROI. It's just better than anything else you've seen anywhere else. It's a revolution!
Module presentation
Description
Integrates apijs JavaScript library into OpenMage.
For more information about the library, go to luigifab.fr/apijs.
This module allows:
- to display a photo gallery with a slideshow on the frontend
- to remove cached images when removing an image, a product, a category
- to simplify the management of products images in the backend (with thumbnails and a slideshow)
- to generate resized images for wysiwyg and categories images
- to keep the animation of GIF/PNG/WEBP images thanks to Pillow
- to cache generated image urls
- all multithreaded (image generation)
It is important to note that this module uses external programs to work (see details later).
Access and configuration
Configuration available in System » Configuration » Tools » Dialogs boxes.
Available anywhere, especially in the products photo gallery, but also in Tools » Media Storage.
Installation and uninstallation
Nothing simpler with composer (or by decompressing the module archive).
To get the key, don't stop reading :) ...
The following programs are necessary for the proper functioning of the module:
python-pil
python-scour
python3, find -delete, nproc, command -v, ps aux | grep, du -hs | cut -f1
Debian/Ubuntu → sudo apt install python3-pil python3-scour
Fedora → sudo dnf install python3-pillow python3-scour
Mac → python3 -m pip install --upgrade pip pillow scour
For uninstallation, having uninstalled the module, all that remains is to erase the configuration:
sqlDELETE FROM core_config_data WHERE path LIKE "apijs/%";
DELETE FROM core_resource WHERE code = "apijs_setup";
Module download
Installation with composer: composer require luigifab/openmage-apijs
Download of the latest version: openmage-apijs-6.9.6.tar.gz
See also: github - composer - geany - phpstorm
- Current version: 6.9.6 (01/01/2024)
- Compatibility: OpenMage 19.x / 20.x / 21.x, PHP 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 / 8.3 (with exec), Python 3.3+
- Client compatibility: Firefox 36+, Chrome 32+, Opera 19+, Edge 16+, Safari 9+
- Animated PNG compatibility: Firefox 3+, Chrome 59+, Opera 46+, Edge 79+, Safari 8+, Pillow 7.1.0+
- Animated WEBP compatibility: Firefox 65+, Chrome 32+, Opera 19+, Edge 18+, Safari 14+, Pillow 5.0.0+
- Translations: English (en), French (fr-FR/fr-CA), German (de), Italian (it), Portuguese (pt-PT/pt-BR), Spanish (es) / Chinese (zh), Czech (cs), Dutch (nl), Greek (el), Hungarian (hu), Japanese (ja), Polish (pl), Romanian (ro), Russian (ru), Slovak (sk), Turkish (tr), Ukrainian (uk)
- License: GNU GPL 2.0+
- Read absolutely: the README file
- 6.9.6
- Tested with Firefox 36/114, Chrome 32/109, Edge 109, Opera 19/95 on OpenMage 21.3.0 with PHP 7.2 - 8.3 and MariaDB 10.11.
If you like this module, take some of your time to improve the translations.