Site icon Catch Themes

Default link to media file when inserting images or gallery

Hello, I know it's hardly ever the theme question, but.. Maybe WP-superhero @skandha can give an advice. When I insert single image (or gallery) in new block Gutenberg editor by default it has no link. But I want it always be "mediafile". Classic editor used to have ways set this default to "mediafile" so onclick the image, using lightbox/colorbox/whatever, image could be zoomed in. I mean I want any image be <a href="image.jpg"><img src="image.jpg"></a> automatically, without selecting it, clicking "link", choosing "mediafile" for every single pic I insert in my post Any ideas? Please! If it can be done for extra money or so - I agree! I can't find working solution, there are opened issues but no news for very long time * WP 5.4.2
Exit mobile version