Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image-storage update & image metadata #1

Merged
merged 2 commits into from
Oct 29, 2019
Merged

image-storage update & image metadata #1

merged 2 commits into from
Oct 29, 2019

Conversation

tg666
Copy link
Collaborator

@tg666 tg666 commented Oct 29, 2019

  • updated 68publishers/image-storage to version ^0.2
  • added basic image matadata - width, height and mime. Data are saved on Image entity during upload

- updated composer dependency `68publishers/image-storage` to version `0.2`
- added configuration option `image_managers.{x}.thumbnail.preset` instead of `image_managers.{x}.thumbnail_preset`
- added configuration option `image_managers.{x}.thumbnail.descriptor`
- added method `ImageManagerControl::setThumbnailOptions()` instead of method `ImageManagerControl::setThumbnailPreset()`
- modified component's template
- added interface `IResourceMetadataFactory` and default implementor `ResourceMetadataFactory`
- added static (enum) class `MetadataName`
- added configuration option `resource_metadata_factory`
- added methods `IImage::{getMetadata(), setMetadata()}`
- added methods `SaveManipulatorOptions::{setCustomMetadata(), getCustomMetadata()}`
- metadata are created and saved on Image entity in method `SaveManipulator::save()`
@tg666 tg666 merged commit f868460 into master Oct 29, 2019
@tg666 tg666 deleted the v0.2 branch October 29, 2019 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant