added options to imageloader