module_wide, fix for no image

When there was no image with jem_wide then it would result in an alt
message, but this has been fixed by replacing the code and adding some
more lines.