General Question

pleiades's avatar

Tumblr/Website Design Gurus: What is the code that allows me to post only certain size images?

Asked by pleiades (6617points) December 15th, 2013

For instance, I’m wanting a max height and width per horizontal and vertical image that I post. How do I keep the scale/ratio the same but insert a code that will allow only a max height and width?

Currently I have an image that is posted at 960 × 1051 but I want to essentially cut that in half. I believe the 960 × 1051 is the original upload size and is displayed on my website that way but looking for that code that will automatically scale and keep ratios the same, while keeping the website scroll flow proportion equal.

Observing members: 0 Composing members: 0

1 Answer

johnpowell's avatar

Any chance that you could link me to the tumblr account? You can send it in a PM if you don’t want to post it here. I can probably cook up a few lines off CSS that will do this for you.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther