Hi -
(Note - This question applies to Mac OS-X both FireFox & Safari)
I have a webpage where users can select files for uploading to my web server and when they select the file to upload, I present them with a small scaled down image preview of the file that they are about to upload. Okay, this works great on all flavors of Windows running all the major browsers. I know about the modification that a user has to make to their user.js file in FireFox in order to get around their built in security restriction on this issue.
My problem is that a buddy of mine has a Mac Pro running OS-X (Leopard) and he is unable to view the preview images that the webpage is supposed to render. He has modified the correct user.js file (we also tried the prefs.js file as well) and it still doesn't work. I do not think that this is a FireFox issue because when I have him run the Error Console and try using the page, he gets no messages regarding this. If FireFox was not configured correctly he would be getting a message that says "Security Error, Content at http://www. blah blah blah may not load or link to file: (file path here)" Again, he is not getting this message so I am assuming that the problem is not in FireFox but somehow is related to how he has the security of his Mac setup.
Okay, now for the 64 million dollar question. Has anyone run into this issue or does anyone know if there is some sort of security setting in a Mac Pro running OS-X (Leopard) that would disable the ability for a web browser to show a preview image for a file that is selected for uploading to a web server. I also want to add that he is able to actually complete the upload just fine. It is only the ability for the page to display the preview image is where the issue lies.
Possible places other than a basic security setting, is it possible that he needs to move the image files to another directory such as a file sharing directory or some such place where permissions might be different. Currently he is trying to upload the images from root (Macintosh HD).
One more thing just so people don't jump to conclusions and the javascripting used to accomplish this is well tested, works in all browsers under Windows and returns no errors at all on my friends computer. Also, he has tried to perform the same task running his copy of Safari with the same problem.
I hope that I have provided enough information for someone out there to help me in this issue.
(Note - This question applies to Mac OS-X both FireFox & Safari)
I have a webpage where users can select files for uploading to my web server and when they select the file to upload, I present them with a small scaled down image preview of the file that they are about to upload. Okay, this works great on all flavors of Windows running all the major browsers. I know about the modification that a user has to make to their user.js file in FireFox in order to get around their built in security restriction on this issue.
My problem is that a buddy of mine has a Mac Pro running OS-X (Leopard) and he is unable to view the preview images that the webpage is supposed to render. He has modified the correct user.js file (we also tried the prefs.js file as well) and it still doesn't work. I do not think that this is a FireFox issue because when I have him run the Error Console and try using the page, he gets no messages regarding this. If FireFox was not configured correctly he would be getting a message that says "Security Error, Content at http://www. blah blah blah may not load or link to file: (file path here)" Again, he is not getting this message so I am assuming that the problem is not in FireFox but somehow is related to how he has the security of his Mac setup.
Okay, now for the 64 million dollar question. Has anyone run into this issue or does anyone know if there is some sort of security setting in a Mac Pro running OS-X (Leopard) that would disable the ability for a web browser to show a preview image for a file that is selected for uploading to a web server. I also want to add that he is able to actually complete the upload just fine. It is only the ability for the page to display the preview image is where the issue lies.
Possible places other than a basic security setting, is it possible that he needs to move the image files to another directory such as a file sharing directory or some such place where permissions might be different. Currently he is trying to upload the images from root (Macintosh HD).
One more thing just so people don't jump to conclusions and the javascripting used to accomplish this is well tested, works in all browsers under Windows and returns no errors at all on my friends computer. Also, he has tried to perform the same task running his copy of Safari with the same problem.
I hope that I have provided enough information for someone out there to help me in this issue.