replaced invalid percentage width for image by actual pixel value