You could try using error handling to check, if the error occurs (or simply check for the files before you open the dialog), and if so, you could try to use /bwrite to create a small sample-image instead of the real one...
But thats just an idea, I don't have time to play with /bwrite and create pics now (and I'm too tired anyway) ...
I only know that this concept may fail at jpeg files due to their size, but as I said - that's all just guessed :P

Edit:
If /bwrite doesn't work for you, you could also use Picture Windows... that should do the job.
But is it worth the trouble? ...

good night...