Cake PHP Image cannot be smaller : I am making card design in cakephp, 
but when it comes to show longer image than 600px width, 

It extended insanely!!!

I am using placeholder or dummyimage but it has no problem.

Why this is happening? What should I do to show smaller images?

html inline width height constraint did not work.

```
<div class="cards">
    <div class="image">
        <img src="https://dummyimage.com/600x150/000/fff" >
    </div>
</div>
``` 



[![300x300img][1]][1]
[![enter image description here][2]][2]

[1]: https://i.stack.imgur.com/aQPRc.png
[2]: https://i.stack.imgur.com/ZoXqn.png