The way .gif and other images are supported in comments has technically remained the same for a long time. You just use the .gif or .jpg or .png url somewhere in the comment text and it automatically becomes a click-to-show image. The new Add Image button just makes it easier to get these links correct and preview the image ahead of time. It automatically changes an image page url (imgflip.com/gif/abcd) to a direct image url (i.imgflip.com/abcd.gif)