pixelfed / support

Issue tracker for installations of Pixelfed, before a bug is identified.
https://docs.pixelfed.org/running-pixelfed/troubleshooting.html
8 stars 3 forks source link

Suggestion: Add parameter embed function to determine images returned #191

Open RetroJimmyX opened 9 months ago

RetroJimmyX commented 9 months ago

When using the URL to get an iframe-embeddable HTML, the same resultant last 9 images posted are used.

I suggest it would be better to have this behaviour by default but allow a user to suffix two arguments like below

https://pixelfed.social/RetroJimmyX/embed?images=random https://pixelfed.social/RetroJimmyX/embed?images=popular

which would either return random or the most popuar (determined by community engagement) images. Random may enable users to keep the embed looking fresh and popular may enable a user to better showcase their pixelfed account.

Thanks for consideration