ugly fixed the bug when image url starts with http