Adding ability to define custom image extensions;
Adding .sjpeg image support;