Save image's content to separate table (images_data).

Addressed to #132

No functional changes