extended httpImagePath to be compatible with downsampling if it ends with a /

I needed to utilize httpImagePath but it wasn't compatible with the downsampling mechanisms since you could only specify one file. I maintained backwards compatibility by checking if the httpImagePath ends with a slash, if it does then append the file name, otherwise just use the httpImagePath