Thumbnails for images saved in core data

I'm trying to look at what the best way to do thumbnails for images that are saved in core data, which are being synced across multiple devices.

I know I can save a lower quality version into core data, but I'm wondering if there's a better way of doing it.

I've come across quick look thumbnailing which looks like what I want, but I'm not sure if it can be adapted for core data as its using file paths, whereas the images are stored in a data type property in core data.

From what I can tell, I'd have to save the image locally, produce the thumbnail, then delete the local image

Thumbnails for images saved in core data
 
 
Q