add loading.gif for add images, upated css for images
updated flash messages