Image won't work if it is in any folder

uninstall the snap version, and try .deb or appimage version, go to the link:

scroll down and you can see the Linux category, download either Deb or AppImage, good luck