sinanspd
sinanspd

Reputation: 2734

Image doesn't fit bootstrap jumbotron, wraps around

I am pretty sure this a common problem but I couldn't find any thing on this. Maybe I am not searching for the right thing.

So basically my problem is I place an image inside a jumbotron div and as the image is not wide enough, it wraps around and starts repeating itself. I tried to make the image wider in Photoshop however it reduces the quality. Is there an easy solution to this ?

Upvotes: 0

Views: 414

Answers (1)

TheLawrence
TheLawrence

Reputation: 347

Unfortunately, if the image is a certain size and that size is too small for what you need it for, there's no way to increase the size without distorting the resolution.

The general rule is that images can be made smaller, but quality goes down the larger you stretch it from it's original size.

Upvotes: 1

Related Questions