getImagesToSync

Retrieves a list of images from the local database that are marked for synchronization.

Return

A list of images to be synchronized.