[FR] More github-like Issue attachments/hosting of graphics #2698

Open
opened 2025-11-02 04:44:47 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @OutsourcedGuru on GitHub (Dec 30, 2018).

  • Gitea version (or commit ref): 1.5.0
  • Git version: git version 2.17.2 (Apple Git-113)
  • Operating system: Ubuntu 18.04 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I have perhaps seventy or so github-related repositories and I've found that I may—in each case—create a dummy issue called "Placeholder for README.md images" for the purpose of attaching screenshots of the project in question. Github then dutifully hosts the graphic as an attachment with a URL which ends in the appropriate file extension.

Example README.md on github
Example Issue on github for storing screenshots
Example MarkDown code for referencing a screenshot within that system:

![5milcamring](https://user-images.githubusercontent.com/15971213/49690366-8d9a7e80-fae4-11e8-91d1-99158f493822.png)

Request

It would be awesome if Gitea's Issues code could serve up these attachments in a similar fashion so that I could leave github.

  • Make sure that attachments are referenced in such a way that the file extension is preserved
  • Make sure that there's a URL path which may fetch that attachment
    ...

Screenshots

Originally created by @OutsourcedGuru on GitHub (Dec 30, 2018). - Gitea version (or commit ref): 1.5.0 - Git version: git version 2.17.2 (Apple Git-113) - Operating system: Ubuntu 18.04 LTS - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description I have perhaps seventy or so github-related repositories and I've found that I may—in each case—create a dummy issue called "Placeholder for README.md images" for the purpose of attaching screenshots of the project in question. Github then dutifully hosts the graphic as an attachment with a URL which ends in the appropriate file extension. [Example README.md on github](https://github.com/OutsourcedGuru/3d-files/blob/master/README.md) [Example Issue on github for storing screenshots](https://github.com/OutsourcedGuru/3d-files/issues/1) Example MarkDown code for referencing a screenshot within that system: ``` ![5milcamring](https://user-images.githubusercontent.com/15971213/49690366-8d9a7e80-fae4-11e8-91d1-99158f493822.png) ``` ## Request It would be awesome if Gitea's Issues code could serve up these attachments in a similar fashion so that I could leave github. * Make sure that attachments are referenced in such a way that the file extension is preserved * Make sure that there's a URL path which may fetch that attachment ... ## Screenshots
GiteaMirror added the type/proposal label 2025-11-02 04:44:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2698