I'm trying to fix a picture display issue and I don't know how to fix it. When I uploaded the files on to my computer some files had extension .jpg and others .JPG. I rename all the pictures and made sure all extensions were .jpg.
Everything seemed to work fine until I created a file path in my web project. I use <img class="img" alt="" src="${initParam.productGalleryImagePath}${product.id} (1).jpg" />.
All the pictures that were originally .jpg upload fine but all the picture that were originally .JPG and converted to .jpg won't upload if I use ${initParam.productGalleryImagePath}${product.id} (1).jpg they will only upload if I use ${initParam.productGalleryImagePath}${product.id} (1).JPG as if changing them to .jpg did not take effect... But with the last statement all the original .jpg wont upload.
So it's either .jpg to display the .jpg or .JPG to display the .JPG. My IDE is apparently case sensitive. My fear is when I will upload my project to my host... How do I fix this?