search
top

Calculating the ratio of my Portfolio items

I want to take screenshots of my work, and post them on the portfolio page of my site.

The template that I’m using is one that I found for free from smashingmagazine.com, and has such has it’s own custom way or showing my portfolio.

What I’ve quickly realised is that I need to take my screenshots at the correct ratio, or they get squashed/stretched, as opposed to just showing the top left of the image, unstretched.

Each portfolio item is required to have an image to fit in the ‘polaroid’ styled div, that is 290(w) by 230(h). This being the case, all my images need to be of the ratio 1.261:1.

To calculate the right height, I do the following:

w / r = height

example:

1024 / 1.261 = 812

Simple, but important :)

One Response to “Calculating the ratio of my Portfolio items”

  1. Nataliya says:

    I think you to listen your heart

Leave a Reply

top