loading

Gif Preview Before upload and Picture taking.?

Is there any way to preview the gif before it uploads? Also, I cannot figure out how to do the same thing with gifs, but with individual pictures. It explains how to make the camera module take pic using the terminal, but how do you write code to make the button take a pic?