image loading with frames support