janit / ezplatform-migrate-image-asset
Copy eZ Platform image field contents to image asset field type
Installs: 217
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.3
- ezsystems/ezplatform-kernel: ^1.0
- symfony/config: ^5.0
- symfony/console: ^5.0
- symfony/dependency-injection: ^5.0
- symfony/http-kernel: ^5.0
- symfony/var-dumper: ^5.0
- symfony/yaml: ^5.0
This package is auto-updated.
Last update: 2024-11-08 06:03:38 UTC
README
This repository contains an eZ Platform 3.x compatible Symfony command that migrates data from the image field type to the image asset field type.
This script does not do any content type modification, it simply copies and links image data to make moving from image fields to image asset fields easier.
Install the bundle using Composer:
composer req janit/ezplatform-migrate-image-asset
Once installed you can run the command as follows:
./bin/console janit:migrate_image_to_asset success_story screenshot screenshot_asset 9372
Required arguments are:
type_identifier
: Content type identifier to be modifiedsource_field
: Field identifier of source image fieldtarget_field
: Field identifier of target image asset fieldtarget_location
: Location id of location where created images are to be placed
More information in the blog post: Converting image fields to use the image asset field type in eZ Platform
eZ Platform is now Ibexa DXP
Going forward from version 3.2 eZ Platform (Enterprise Edition) will be known as the Ibexa DXP technology that is the base for three products: Ibexa Content, Ibexa Experience and Ibexa Commerce. Instructions in this code should be relevant since Ibexa DXP is an evolution of eZ Platform, not a revolution. Learn more from the Ibexa DXP v3.2 launch post and the Ibexa developer portal.