Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow creation of gallery posts#187

Open
Yorkemartin wants to merge 3 commits into
reddit:main from
Yorkemartin:gallery-posts
Open

Allow creation of gallery posts #187
Yorkemartin wants to merge 3 commits into
reddit:main from
Yorkemartin:gallery-posts

Conversation

@Yorkemartin

@Yorkemartin Yorkemartin commented Jun 17, 2025

Copy link
Copy Markdown

💸 TL;DR

Right now, devvit apps cannot create gallery posts on behalf of the user. It seems like this functionality should be available based on what ive seen, and it would be very helpful if it were - hoping this can kick off the feature.

🧪 Testing Steps / Validation

I wasn't able to get the local build running, will take another crack at it. if this is a very easy task for someone on the team though, i figured i would put this up early just incase.

awe719 reacted with hooray emoji

@awe719 awe719 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

********this was hard for me but I probably won't get it done or let's see

// Currently Devvit only supports posts with a single image
imageUrls?: [string];
// If multiple image URLs are supplied (2-20) Reddit will automatically create a gallery post.
imageUrls?: string[];

@niedzielski niedzielski Feb 2, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sadly, multiple images are unsupported on the backend:

if len(req.GetImageUrls().GetValues()) != 1 {
	return nil, status.Error(codes.Unimplemented, "only posts with a single image are allowed")
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • #### @

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers

@niedzielski niedzielski niedzielski left review comments

@awe719 awe719 awe719 approved these changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /