View Full Version : how to...
Cologne
06-02-2009, 09:32 AM
Hi,
how can I create a CROP from a simple IMAGE?
I dont want that stupid white BOX where the image is in. Just to CROP the image 100x100.
How does that work???
Denis
Ray Borduin
06-02-2009, 10:51 AM
You could write code in php to crop and image. That functionality is included in the GD library, so if you are familiar with writing php it should be possible.
Cologne
06-03-2009, 08:22 AM
So, its no in DFP2? what are those two nearly same things. Fix and BOX? They gonna do the same. cut the image and put it into a white box.
what is the use for that???
Denis
Ray Borduin
06-03-2009, 08:35 AM
Not a white box, but a box with the background color of your choosing... and the background is only added in the fit to box scenario. If you only set a width or height then it would resize the image dimensions so that there is no need for a white background.
Cologne
06-03-2009, 11:54 AM
so, i thougth it was the crop. but it wasnt. I entered 100x100 and it works just like, max width or height. hmmmmmm.
will there be a crop function someday, cause this is very usefull.
denis
info321189
06-04-2009, 05:55 AM
Hello, you can workaround without php code... simply create a div and center horizontally and vertically the background image.
Fabio
Cologne
06-08-2009, 10:52 AM
How does that workaround work?
Do you mean, I say, taht the DIV only shows 100x100 pixel?
info321189
06-17-2009, 11:03 AM
Hello, yes you can show only a portion of the pic.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.