GraniteHouse icon indicating copy to clipboard operation
GraniteHouse copied to clipboard

Problem displaying the textbox for the Image Path

Open Coreysan123 opened this issue 6 years ago • 3 comments

When I created the Areas/Admin/Views/Edit.cshtml file, I noticed a difference in how your page is displayed, compared to mine. For the image path, I don't show a text box with the path displayed in it, just the button, and then the label "no file selected." I looked at the variable in the code, and the variable for Products.Image is filled with the correct path, but it doesn't display. I made sure all the bootstrap and Javascript files match, but that didn't solve anything. Do you know why my project doesn't display the image path like yours does?

untitled

Coreysan123 avatar Aug 21 '18 16:08 Coreysan123

It looks like you use Chrome. Open it with Edge

AlexMasturkov avatar Sep 01 '18 23:09 AlexMasturkov

The solution probably won't work width Edge/Iexplorer (they usually dont allow cookies from localhost ) There can be slight differences in how Chrome / Iexplorer / Fiirefox / .... etc Neither did I had a path shown when uploading images, but for the rest it all worked. I'm using Firefox / chrome.

PGTBoos avatar Sep 10 '18 20:09 PGTBoos

I failed to test in IE and Edge. It was indeed a difference in browsers. Thanks for answering!

Coreysan123 avatar Sep 10 '18 21:09 Coreysan123