working on reshaping image preview output