can get gif images correctly ordered