Author |
Thread: Image upload not easy on Windows! (Read 1928 times) |
|
Simon Reap
MV Fixture
Toggler to the few!
Posts: 115
|
|
Image upload not easy on Windows!
« : 12.06.22 at 10:53 » |
Quote
|
Hi Steve/Snoopy I just tried to upload a couple of images from my Windows 11 laptop. I could choose the file (happened to be in a folder on my desktop), but when I clicked the upload button it said "no image file specified". Pretty sure this a JPG/jpg problem. The pictures from my camera all come as .JPG files. I've got Windows Subsystem for Linux on my laptop, so copied the files to new names with lower-case .jpg extensions. They uploaded fine.
|
|
https://peteatkin.com/forum?board=tech&action=display&num=1655027601&start=0#0 |
|
|
|
S J Birkill
MV Administrator
just a sensible reserve
Posts: 884
|
|
Re: Image upload not easy on Windows!
« Reply #1: 12.06.22 at 19:20 » |
Quote
|
Hi Simon Good to see your set-list and superb photos appearing, and so promptly! Concerning image upload: it was all my fault, and I apologise for your having to work around it. Simply speaking, my Javascript regex list of acceptable image file extensions assumed lower case, when it should have been case-insensitive. The addition of just one character ( the letter 'i' ) to the code corrected it. Many thanks for drawing this to my attention. Steve
|
|
https://peteatkin.com/forum?board=tech&action=display&num=1655027601&start=1#1 |
Stephen J Birkill
|
|
|
Simon Reap
MV Fixture
Toggler to the few!
Posts: 115
|
|
Re: Image upload not easy on Windows!
« Reply #2: 12.06.22 at 20:57 » |
Quote
|
No problem, Steve, thought it might be that. As the old IT saying goes, if you have 10 problems and add a regex to solve them, you now have 11 problems.
|
|
https://peteatkin.com/forum?board=tech&action=display&num=1655027601&start=2#2 |
|
|
|
|