ioctocat icon indicating copy to clipboard operation
ioctocat copied to clipboard

Issues: Image attachments

Open chipe88 opened this issue 11 years ago • 4 comments

Would be good to attach images to issues when creating them.

chipe88 avatar Jan 17 '13 23:01 chipe88

Thanks, neat idea :)

I looked at the API docs, unfortunately this isn't supported right now, but I'll talk to GitHub about it. For now I marked the feature request as on hold, which means we'll have to wait for the API to support this. But it's definitely something that would be very nice to have!

dennisreimann avatar Jan 18 '13 09:01 dennisreimann

Would indeed be cool to add images to your comments through the Github API but you're going to need markdown support for showing the images anyways. On github the image gets saved and a markdown formatted link is placed in your comments with a link to the image that was uploaded somewhere by Github.

I think if they're going to add this to the API all they're going to send back is a direct link to the image which you would then have to append by the ioctocat app as a markdown link to the comment. This is a only theory of course :)

driesvints avatar Jan 25 '13 18:01 driesvints

This would be really fantastic. Being able to append screenshot images to an issue is really essential for mobile app development and testing. Hope that GitHub will accommodate at some point! At a minimum, it would be great if they could enable emailing images in response to an issue notice email.

tnewbold avatar May 16 '14 08:05 tnewbold

Other way to attach images could be encoding the imagens on a base64 hash, so you wouldn't be uploading a binary file of an image, but would be embed an image in your issue.

On your UI you should could look for the image base64 and present in a way that isn't the hash itself, like a label or a image, or even an reference to an image that later on (on the publish phase) would be hashed and sent as base64 string.

BTW sorry by my bad english.

ooredroxoo avatar Aug 27 '14 16:08 ooredroxoo