Adds a maxImageFileSize for inlined images and rebases relative css resource paths