# Is it possible to insert a code by default?

**URL:** https://meta.discourse.org/t/is-it-possible-to-insert-a-code-by-default/219682
**Category:** Support
**Created:** [March 1, 2022, 8:34am UTC](https://meta.discourse.org/t/is-it-possible-to-insert-a-code-by-default/219682 "2022-03-01T08:34:25Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)
#### Post date: [March 1, 2022, 9:06am UTC](https://meta.discourse.org/t/is-it-possible-to-insert-a-code-by-default/219682/8 "2022-03-01T09:06:38Z")

</div>

But why can’t I add automatic code to the links? (And when I use the copy image, there is always an automatic code in the link, there is no way to do the same?) exemple:

[https://i.gyazo.com/1dafc9d66a55948f34902751709994b3.mp4](https://i.gyazo.com/1dafc9d66a55948f34902751709994b3.mp4)

```plaintext
![Moderador|120x120](upload://eqY4BNsVC9zAbuPy8ZJ4zCMBmHc.gif)

```

![5155](https://global.discourse-cdn.com/meta/optimized/3X/0/c/0c1b28585aa3573dedfacaffd901dadcaecb0a82_2_345x25.png)

I commented on it here

> [@Is it possible to paste images as their source address?](https://meta.discourse.org/t/is-it-possible-to-paste-images-as-their-source-address/218554):
>
> When I right-click on an image and go to “copy image” and paste it somewhere, a formatting like How do I make it paste only the image link and not this formatting? I know that if I right-click and click “Copy link address” or “Copy image address” only the image link will be pasted, but I want this to be possible in “Copy image” I want to remove this automatic formatting I want only the link to appear

There was a moderator who opened a topic, but they still haven’t responded

> [@Allow pasting of GIFs into composer](https://meta.discourse.org/t/allow-pasting-of-gifs-into-composer/218720):
>
> Continuing the discussion from [Is it possible to paste images as their source address?](https://meta.discourse.org/t/is-it-possible-to-paste-images-as-their-source-address/218554): If you right click and select “Copy Image” on a GIF you found on the internet with your browser, your clipboard will be populated with two elements: A static PNG image of the GIF as image/png An HTML img tag with the GIF source as text/html For most use cases, it’s a far better user experience to pick the option 1 in the clipboard and upload that image right away in the composer, so that is what we alwa…

I already tried this option that you gave me, it didn’t work, I’m having a serious problem in my forum of embedding gifs, I even commented here

> [@Imgur GIF link is no longer embedding](https://meta.discourse.org/t/imgur-gif-link-is-no-longer-embedding/218132/8):
>
> please if you find any solution let me know, my forum members are driving me crazy, and i don’t know what to do! How do I not update the discourse automatically? [image]

The only solution I think is if the code that I said in each link is automatically added .gif .mp4 .png .jpeg, because with these codes the extensions are incorporated or is there any way to reset all the discouse configuration? or do a new reinstallation, without affecting the users or the content of the forum?

or is there another solution?

I already talked with IMGUR, and with my server they said that everything is ok with them, that the error may be another

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-insert-a-code-by-default/219682)._
