Images on Web Site

GatorsFan

Well-Known Member
Joined
Jan 13, 2024
Messages
1,243
Reaction score
1,291
Credits
8,985
I ran across a rare issue with Linux and images on one particular web site - the web site loads and comes up but no images are displayed - So I though well try a different browser - nope - try tuning off all add-ons - Nope did not work either - So I booted Windows 11 in VirtualBox and it worked - So I installed an Agent Switcher on Firefox and Brave browers

for Brave Browser I installed - User-Agent Switcher & Manager Pro from Tiny Convert

And selected Chrome 124 & Windows 11 and the images were there

The website in question was growhoss.com a gardening and seed store - I was just curious if anyone else had this issue on this or any other web site??

So I came to the conclusion there images are using the exact capitalization of the Linux file system which is required for images. Windows is not case-sensitive, so mismatches is no big deal with won't affect the server's ability to locate the file properly. But, with Linux, folder and file name differ by case sensitivity and will not display - web master laziness I believe
 


The capitalization does not matter, in no way and in no direction. What would matter is if the html they serve references a wrong image file name to show. In this case, you would not see an image by spoofing the user-agent.

The reason probably is, that they (the garden shop) or their provider have some network firewall to block bots and that is misconfigured. It happens. Linux is not so widely used, so it can slip through testing easier, I guess.

There are some instances where companies deliberately discriminate users by filtering browser agents, more regularly it is geoblocking. A known example is Apple, they blocked requests by "apple foreign" user-agents to their maps service for a while. Other examples that still block are in the first post of https://github.com/whatwg/html/issues/10518
 


Follow Linux.org

Staff online

Members online


Top