Skip to content

Feature: display artwork directly without adding it to the database #17

Description

@jvolker

There is currently no way to push artwork directly and temporarily to the frame without adding artwork to the database. The following is a workaround (creating, pushing, deleting) which requires a short delay before deleting the artwork again:

OF.artwork.create(artwork).then((result) => {
    let artworkId = result.id         
    OF.frames.updateCurrentArtwork(frameId, artworkId).then(() => {
        setTimeout(() => {
            OF.artwork.delete(artworkId)
        }, 500) // wait to make sure the artwork gets passed to the frame before deleting the artwork
    })

Would be great if this was implemented more cleanly into the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions