One of my channels allow users to upload images. Two problems:
- I've defined a max width and height in the file upload preferences (and my channel field uploads to that). However, I am able to upload images beyond the max width and height.
- When I am displaying this image to the browser, how do I get the image's width and height? The following doesn't work:
<img src="{banner_image}" width="{width}" height="{height}" alt="{alternate_text}"></img>