class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Hi, i love the new features in 0.24. image_ratio_fill is great! Thanks.
However, I have a problem with the image_ratio_fill function. I have set the background color to '#FFFFFF', but it seems the script ignores this because it fills the image with black.
This is only a quick fix, which may or may not work (let me know!). A proper fix for this bug will be in the next release, that I will publish in a few days if everything goes well.Reply
However, I have a problem with the image_ratio_fill function. I have set the background color to '#FFFFFF', but it seems the script ignores this because it fills the image with black.
Can you help me?
In the meantime, you can comment out the following line in the create_image() function:
This is only a quick fix, which may or may not work (let me know!). A proper fix for this bug will be in the next release, that I will publish in a few days if everything goes well.
There is no code, except your beautiful class and the settings above (startpost).
The only thing I did, was making the correction as you mentioned above.
Do you have an idea what I can do about the problem?