Lowercased image functions

Lowercased all php image function.