title: Newly created image not showing in gallery
body: <p>I am creating an image (some sort of copy of another gallery image) using API, and the image is not being shown in the gallery.</p>
  
  <p>I know the new file is there because I can see it using adb shell, and it's placed in the same folder as the original one.</p>
  
  <p>I may be wrong, but I recall reading about specifying the type of file you are creating at creation time, but I cannot find it anymore.</p>
  
  <p>Thanks in advance</p>