Fixed adding the image as background using existing function, with scaling if the width of the picture is bigger than 1140px