align footer to the bottom; show image preview