Warning: I don't have much experience with CodeIgniter and I am updating a site originally create by another developer.
For some reason the CodeIgniter image class is creating thumbnails with a black pixel in the top left corner. Here is an example:
This only seems to happen in production (this site is being hosted on a super lame shared host). Thumbnails are created just fine on my OS X dev machine and my Ubuntu machine on Slicehost.
The code is pretty boilerplate, and from what I can tell the image library doesn't have a whole lot of options to screw up.
The options look like this:
$this->Image_Resize['image_library'] = 'gd2';
$this->Image_Resize['thumb_marker'] = 'thumb_';
$this->Image_Resize['create_thumb'] = TRUE;
$this->Image_Resize['maintain_ratio'] = TRUE;
$this->Image_Resize['width'] = 200;
$this->Image_Resize['height'] = 200;
And then the image is processed like this:
$this->Image_Resize['source_image'] = 'images/news/'.$image['file_name'];
$this->image_lib->initialize($this->Image_Resize);
$this->image_lib->resize();
Has anyone run into this issue before? Google & SO searches aren't getting me anywhere. These pixels are driving me nuts.
Update: As I was afraid, this didn't have anything to do with CodeIgniter. Something is screwy with the host's GD library and they don't support anything else. It's just weird that I can't find anyone else in the world who's had this problem.
Anyway my advice is to never, ever, ever use Doteasy. They are a nightmare.