integrate imageflip to gallery