Try the same method from Windows Explorer. Find a jpg file, select it, then hit Shift and Right-Click the file. Select Open With ... pick the application, then check the "Always open with..." option. Not real sure if this will work from a web page though. Most of that is done through hyperlinks, so it will open the image in your browser.