View Single Post
  #1  
Old 02-18-2016, 09:59 AM
 
xgarb xgarb is offline
 

eXpert
  
Join Date: Jul 2004
Location: UK
Posts: 263
 

Default 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
Reply With Quote