from_id = options.get('from_id', 1)
for image in Image.objects.filter(id__gte=from_id).exclude(book=None).order_by('id'):
print image.id
from_id = options.get('from_id', 1)
for image in Image.objects.filter(id__gte=from_id).exclude(book=None).order_by('id'):
print image.id