So I was trying to link an image on my website as <img src="cat.png alt="cat"/>
and for some reason it wasn't working. I later found out that when uploaded to my server the file was labeled as "cat.PNG" so I inputted that and it fixed. However, when I was testing my site on localhost, it was fine. Why is this? Is this some security issue or is localhost just smarter when it comes to parsing files?
I know this is a weird and random question but I am curious. Thanks.
That depends on the operating system. Your server seems to run Linux which is normally case sensitive and if you run Windows on localhost it's not.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With