The right half of the image is how it appears in Photoshop. To the left is the color cast that is being applied once the image is uploaded via PHP.
For photo processing, I'm using Photoshop's "Save For The Web" .jpg function, and on the development end, I'm using pretty straightforward PHP image upload functions.
The odd thing is that only certain colors– most noticeably green– are being misinterpreted. Black and white photos aren't getting any color cast, and images with less green are hardly different.
The same image file looks as desired on Facebook, etc. That leaves me wondering if it's a matter of somehow saving my images in a more universal way, or resolving some kind of flaw in the configuration of the uploading functions.
I've been able to find very little information on either possibility. For those with knowledge of PHP and/or Photoshop, any idea how to resolve this? The website is focused on agriculture, so there'll be a whole lot of green!
FYI I am using a 3rd party PHP image upload script called SimpleImage. It's about as basic as it gets, and there's no indication to me that the script is set to manipulate color outputs. http://www.white-hat-web-design.co.uk/blog/resizing-images-with-php/
Thank you Michael Femia
RESOLUTION: Matt brought to my attention that if a color profile is not set in Photoshop's save for the web function, some issues may occur. It turns out that checking sRGB resolved the issue of a color cast being applied to the uploaded image.
Beyond making sure a color profile is specified in Photoshop, my resolution as recommended by Yohann and Wrikken, will also involve discontinuing use of the basic PHP GD functions, and shifting over to the ImageMagick library, which is a great deal more robust, and appears to deliver much higher quality.
Excellent PHP image upload thread shared by Yohann: How to stop GD2 from washing away the colors upon resizing images?
PHP/ImageMagick Documentation: http://www.php.net/manual/en/book.imagick.php
PHP/Imagick Processing Tutorial I found helpful:http://www.sitepoint.com/crop-and-resize-images-with-imagemagick/