In the US and many other countries (I can confirm this is true for Japan), pharmacies are also convenience stores, and sell many other things besides drugs.
https://www.cvs.com/
For instance, here's a US pharmacy chain – notice it mentions photos on the home page.