Allow user to collapse image within issue/MR discussion

When images are huge, it would be great to have the ability to collapse them like we already have collapsing of files in MRs. It could be similar to Slack:

collapse

Or we could allow the collapse of an entire note in a discussion