overwrite new 'style' attribute on img tags when multi photos