# Show a pop-up when posting thread with .txt file or photos

• Suggestion
Gold Member
2022 Award
This is just a suggestion.

In the Technology or Programming sections, I have seen users upload the code or errors in the form of .txt files, or, in a significantly worse scenario, as images. In the former case, we can report the thread, and a mod will take the pain of editing the contents of the file into the OP. But in the latter case, we have to ask the OP to re-post everything as text.

It would be beneficial to write a program that displays a pop-up warning when a person creates a thread in the Programming or Technology sections that has .txt files or photos. This reminder should serve as a gentle prompt, not an error, such that it can be bypassed. This way, legitimate cases can still pass through smoothly, while still reminding users not to upload code as images or .txt files.

A similar thing can be implemented in the homework section too for images only.