You cannot have any kind of transparency with a JPEG image : JPEG doesn't support that.
You can switch to PNG images, to get either 1bit or 8bits of transparency (or GIF, which only supports 1 bit -- i.e. transparent, or not-transparent).
You can also switch to WebP which has similar mechanics to JPEG. It supports lossy/lossless compression, transparency and animations.