added image url loading
fixed popup bug