I'm relatively new to HTML/CSS and recently was hired to rework a clients website.
Here is my dilemma: They have an FTP folder that only can contain the same set of images for corresponding browser sizes (320.png, 640.png, 768.png, etc.) What I am trying to do is check the folder for file names and return boolean values for each file that is/isn't in the folder.
Every solution I have come across is in something other than HTML/CSS (Perl, command line, PHP) and I'm beginning to wonder if this can be done with strictly front-end code.
HTML is Hyper Text Markup Language, it is purely a descriptive language which says how a given piece of text or images should be displayed. PHP seems like your best option, as this is the kind of thing it is often used for, but it isn't front-end code.