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

feat: Upload images to AEM #435

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

ManasMaji
Copy link
Member

@ManasMaji ManasMaji commented Nov 18, 2024

Jira: SITES-26481

Idea:

  • In the helix-importer, we will have the .md file containing the image urls.
  • Take the .md file as the source for getting all the images (either before or after helix-md2jcr processing).
  • Download all the images locally.
  • Use aem-upload to upload the images to target AEM (public url and folderName to be provided by user).

TODO:

  • Handling for images with other content-types - do we want to convert to .png?
  • Decide on the conflict resolution strategy - should we allow users to select or go with a default (replace | create version)?

Below is the sample of the content structure created for the following image URLs

Screenshot 2024-11-18 at 7 01 05 PM

@ManasMaji ManasMaji marked this pull request as draft November 18, 2024 13:38
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.

1 participant