Trying to figure out the best way to handle this situation - I need to call a static image from an API server that requires height and width parameters for generating the image size. My website is CSS dynamic, adapting to different screen sizes including mobile browsers. How can I determine the appropriate height and width values? One thought is to use JavaScript to calculate dimensions from a comparable div element on the page. Any other suggestions?