Hello, I love how videos are automatically embedded when I input the video URL.
I would like some help doing the same thing with image URLs with an extension of JPG, JPEG, PNG, GIJ, and TIFF.
I have searched the plugin library and I have not yet found a solution.
I attempted to create an add_filter function with str_replace and regex but I was not able to code it properly.
Could someone help me with what I need done?