correct image and link order