I have a custom block, which extends from \Magento\Catalog\Block\Product\View\AbstractView
.
Within this block I would like to retrieve the base image.
I've tried in this way
$this->getImage($this->getProduct(), 'product_page_image_small');
but what I get is the thumbnail instead of the base image. Should I extend from some other class?