public Image GetImage(int imageId, ImageResizeDetails resizeDetails)
        {
            if (resizeDetails == null) throw new ArgumentNullException("resizeDetails");

            // Retrieve the image data from the database
            LayersCmsImage imageData = _imageReads.GetById(imageId);

            // If an image is found by that id, get the resized image, otherwise return null
            return imageData != null ? GetImage(imageData, resizeDetails) : null;
        }
 public abstract Image GetImage(LayersCmsImage imageData, ImageResizeDetails resizeDetails);