Welcome Guest, Not a member yet? Register   Sign In
How do you scale/fit an image?
#4

It seems it did scale it according to your settings? if you want it 200x200 then turn off maintain_ratio but it will then probably distort/stretch the image. If you want 200x200 with NO distortion than I don't think the image library can do that on its own. You'd need one step more and take the 146x200, create a new blank 200x200 image and center the 146x200 within that and save it.

Why does it have to be exactly 200x200? Can't you just create a 200x200px div and center the image in that? Basically same end result but don't need to process the image further.
Reply


Messages In This Thread
How do you scale/fit an image? - by rakibtg - 06-22-2015, 02:56 PM
RE: How do you scale/fit an image? - by CroNiX - 06-22-2015, 03:00 PM
RE: How do you scale/fit an image? - by rakibtg - 06-22-2015, 03:18 PM
RE: How do you scale/fit an image? - by CroNiX - 06-22-2015, 03:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB