Improve image serializer dimensions