Open Content
Docs homeNaviga web
  • Introduction
  • Overview
  • Key features
  • Meta data standards
  • Architecture
  • Open Content API
  • Headless and end-to-end CMS workflows
  • Use and explore
    • How does it work
    • Open Content Docker
    • OC REST API
    • Event logs
    • Replication
    • Open Content Notifier
    • New JSON API:s - CCA and Duppy
    • Terminology: Other backend services
    • Lab: upload
      • Curl for object upload
      • Environment
      • Lab 0: Configuration
      • Lab 1: Concept upload
      • Lab 2: Image upload
      • Lab 3: Article Upload
      • Lab 4: Search
      • Lab 5: Delete objects
      • Lab 6: Event sourcing using event log
  • Releases
    • Release documentation and admin guides
      • Open Content 2.3
    • New in OC 3.0 (draft)
      • Removed features in OC 3.0
  • XLibris Archive
    • Archive everything you ever created or published
    • Import content to XLibris
Powered by GitBook
On this page
Export as PDF
  1. Use and explore
  2. Lab: upload

Lab 2: Image upload

Image upload to Open Content calculating the correct filename for proper use when Open Content is used as the content storage for Writer Articles.

PreviousLab 1: Concept uploadNextLab 3: Article Upload

Last updated 5 years ago

This exercise shows :

  • Calculate the filename when image is used by writer

    • Using openssl

  • Create preview and thumb to be used by Open Content

  • Create xml metadata file

  • Upload of Image with preview, thumb and metadata file

For more details see the ./upload-image.sh file.

When uploading images for Digital Writer the image file needs to be upload to an internal S3 bucket and also be copied to an external S3 bucket with a calculated filename.