Installing Image Editor
This guide covers installing Image Editor with Composer, both with a license key and via the Hyvä Commerce GitLab repositories for agency and technology partners.
Installation
For prerequisites, see Hyvä Commerce Installation Page.
Installation via Hyvä Commerce Metapackage Recommended
The below steps are for installing Image Editor only. While this is supported to provide greater flexibility and control over installed features, in most cases, we recommend installing all Hyvä Commerce features using our metapackage.
-
Require the
hyva-themes/commerce-module-image-editorpackage: -
Run a setup upgrade:
-
Clear your browser cache.
Installing as an Agency or Technology Partner
If you have access to the Hyvä Commerce GitLab repositories as a Gold/Platinum Agency Partner or a Technology Partner, you can install Hyvä Commerce in development environments using SSH key authentication.
You can configure the Git repositories in your root composer.json and use them directly as Git repos beneath your vendor directory. This lets you check out tags and branches, make commits, and push contributions.
Development Environments Only
This installation method is not suited for deployments, because GitLab requires SSH key authorization and project changes can break production deployments.
-
Make sure your public SSH key is added to your account on
gitlab.hyva.io. -
Set minimum-stability to
devin the Magentocomposer.json: -
Add the Image Editor and base Hyvä Commerce module repositories to the Magento
composer.json: -
Require the
hyva-themes/commerce-module-image-editorpackage using thedev-mainbranch: -
Run a setup upgrade:
-
Clear your browser cache.
Additional Setup
Enable 'New' Media Gallery
The Image Editor only supports editing images when using the 'New' Media Gallery. Enabling the 'New' Media Gallery can be configured in the admin panel. This is also a requirement for Hyvä CMS.
Further Configuration
Large edited images can exceed the default upload limits of your web server and PHP. If saving large images fails, see Server Upload Limits.
For image quality and compression settings, see Configuration.