Unfortunately this is an issue in the current version. We created this function and it worked well (at least on my linux notebook) and it went down some months ago. You can contribute to this issue
Nevertheless you can reproject any raster to EPSG 4326, translate it to jpg and embed it by hand in your webmap project.
If you needI solved this issue solvednow and it is really critical for you, approach can get the developers and prepare some timenewest version from github or moneywait until we released a tested version to the official plugin repo.