Extending XLite\View\Image to get more info about the image file
I want to be able to read the dimensions of the image so I can change the CSS class used depending if the image is landscape or portrait format.
I imagine I should extend XLite\View\Image but I can't work out what I need to do.
__________________
Core version: 5.5.xx
|