load preview coordinates from database