Dummyimage.com Can Calculate Ratios Now
Thanks to Duncan Stephen’s blog post about dummy images, I was inspired to add a new feature.
All of the customisation options have got us excited, but I can think of a few more features that would improve it even further.
The ability to set a width and an aspect ratio, for those times when you know you need a 16:9 image but just can’t be bothered to get the calculator out.
What a great idea! It took me an hour or two to thoroughly test the new feature to my satisfaction and push it live. I’ve also updated the documentation and source code for anyone who wants to take a look to see how it’s done.
You can use aspect ratios with the width like so:
or with the height
http://dummyimage.com/16:9×1080
I enjoy adding new features that make a designer/developers life a bit easier. If you have something that you would like to see dummyimage.com do, let me know!
Hi,
Man, I sure wish dummyimage would support multiple lines of text, as in text=this+is+line1\n+this+is+line2
or whatever for a new-line indicator.