I had the same problem and never found a way to solve it. Although I think it may very well be the fact that JPEGs contain more than one image... perhaps because of EXIF?