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: provide slideshow media for images #1108

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

mgogoulos
Copy link
Contributor

@mgogoulos mgogoulos commented Nov 7, 2024

Description

This is required for #1106

provides the following structure in the API for media, if media_type is image

"slideshow_items": [
        {
            "poster_url": "/media/original/thumbnails/user/admin/5033538082024d149e72df9bfe89e995.DSC07897.JPG_yvDV18F.jpg",
            "url": "/view?m=RFMfIrCEp",
            "thumbnail_url": "/media/original/thumbnails/user/admin/5033538082024d149e72df9bfe89e995.DSC07897.JPG.jpg",
            "title": "title x "
        },
        {
            "poster_url": "/media/original/thumbnails/user/admin/35d1d110f3f246c28c5c61c8fa4192be.DSC07896.JPG_GvqGmSY.jpg",
            "url": "/view?m=iuOtTFJNx",
            "thumbnail_url": "/media/original/thumbnails/user/admin/35d1d110f3f246c28c5c61c8fa4192be.DSC07896.JPG.jpg",
            "title": "title xy"
        },
    ],

If media_type is not "image", then this is []

@aleensd aleensd linked an issue Nov 12, 2024 that may be closed by this pull request
3 tasks
@aleensd aleensd removed a link to an issue Nov 12, 2024
3 tasks
@mgogoulos mgogoulos merged commit 27d1660 into main Nov 14, 2024
2 of 3 checks passed
@mgogoulos mgogoulos deleted the feat-slideshow-api branch November 14, 2024 10:22
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