
It is not possible to add that functionality back to that software, Windows Photo Gallery was deprecated in 2012 and no newer versions or updates are avaialble to make it compatible with Windows 11, to view an image in a browser, you should be able to either drag the image onto a browser's desktop icon or drag it into a browser window.