Add image dimension calculation and image alt based on post title