I am customizing my own photoblog theme using custom Single Post Templates to define layouts for landscape and portrait orientation. In each template, I am using a small amount of inline CSS to define the templates' unique parameters, specifically the width/height of the page and wrapper divs.
My question: is there a way to set up a query for these values for each image and insert them into the CSS dynamically (so that the container divs size accordingly)? Or do I need to set up custom fields for this and enter the width/height manually for each post?
Also, I am using PhotoQ (if that helps).
BTW: I've Googled like mad, but I'm totally at the novice level with the vernacular so if anyone has any ideas, they would be among the first. Thanks!