Skip to content

ayacoo/aws-meta

Repository files navigation

What does the extension do?

There is a hook that processes images after uploading them to TYPO3 via AWS Rekognition API and puts the data into new fields in the table sys_file_metadata.


System requirements

  • AWS account with appropriate keys
AwsMeta TYPO3 PHP Support / Development
3.x 13.x 8.2 - 8.3 features, bugfixes, security updates
2.x 12.x 8.1 - 8.3 bugfixes, security updates
1.x 11.x 7.4 - 8.0 bugfixes, security updates

AWS Information

The images are uploaded directly to Amazon. This is better performance than storing it in the S3 bucket. https://docs.aws.amazon.com/rekognition/latest/dg/images-bytes.html

Images with the file extension JPG and PNG are supported.

Of course, a command that performs this job asynchronously would be ideal.

AWS Secrets

To be able to use the API, you have to create an .aws directory in the home directory. There must be located a config and credentials file.

config

[profile USERNAME]
region=eu-central-1
output=text

credentials

[USERNAME]
aws_access_key_id=
aws_secret_access_key=

It should be noted that the same region must always be used. In the profile, but also in the image analysis. Of course, you can enter the set-up as a hook in .ddev in the Config.


Installation

  • At the beginning, a composer install must be executed.
  • In the extension settings you have to set the AWS values, e.g. the profile name.
  • You should execute the database analyzer

Disclaimer

The extension was developed with the support of the agency brandung and subsequently optimised. The extension is for demo and training purposes only.

The extension was set up with https://github.com/b13/make.


Sources

About

Add TYPO3 file metadata via AWS Rekognition API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published