Problem with image upload in category

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
516/5000
Hello everyone, I hope you help me, I have a problem that when I create a category I try to put an image in the category.
This is the step I do
1) Press the button Upload file
The file is uploaded I do not skip any errors, after the upload refresh the browser, but the file does not appear in the category.

If I have noticed that the file I uploaded appears in the folder Nop.Web \ Content \ Images \ Thumbs.

Also this happens to me the same with the plugins Nivo Slider.

The version that I have is 3.90.
7 years ago
Israeslsg wrote:
516/5000
Hello everyone, I hope you help me, I have a problem that when I create a category I try to put an image in the category.
This is the step I do
1) Press the button Upload file
The file is uploaded I do not skip any errors, after the upload refresh the browser, but the file does not appear in the category.

If I have noticed that the file I uploaded appears in the folder Nop.Web \ Content \ Images \ Thumbs.

Also this happens to me the same with the plugins Nivo Slider.

The version that I have is 3.90.


So your on a category page like ...admin/category/Edit/X  and you upload a picture (your step 1). But you didn't say if you hit save or not.
To be clear, yes, when you upload the actual picture is loaded, but only when you hit the save button does the model your creating get associated to the category table.  Its a 2 step process...upload the picture, then save so the picture is referenced in the category (pictureId)

Thx
7 years ago
ChuckR wrote:
516/5000
Hello everyone, I hope you help me, I have a problem that when I create a category I try to put an image in the category.
This is the step I do
1) Press the button Upload file
The file is uploaded I do not skip any errors, after the upload refresh the browser, but the file does not appear in the category.

If I have noticed that the file I uploaded appears in the folder Nop.Web \ Content \ Images \ Thumbs.

Also this happens to me the same with the plugins Nivo Slider.

The version that I have is 3.90.

So your on a category page like ...admin/category/Edit/X  and you upload a picture (your step 1). But you didn't say if you hit save or not.
To be clear, yes, when you upload the actual picture is loaded, but only when you hit the save button does the model your creating get associated to the category table.  Its a 2 step process...upload the picture, then save so the picture is referenced in the category (pictureId)

Thx

As his comment was not very well understood, he passed a video in the following url.

I realize it is to press the button to upload the file and then make a reservation but nothing appears of the image or anything.
https://youtu.be/_3h_-UxEE0A
7 years ago
Unfortunately I cannot watch your mouse in the video. The software your using is hiding the mouse arrow or your on a tablet/ipad.  It isn't clear to me if your actually clicking the Save or Save and Continue button in the top right.  I am suspicious as I see the tooltip around the image area where I think your mouse is, then suddenly your browser is refreshing.

Please validate your doing step 3 below.

Step 1 - You edit a category
Step 2 - You upload a picture
Step 3 - You hit either the blue save button or the blue save and continue button (I can't tell if your doing this from the video as the mouse is hidden)
7 years ago
ChuckR wrote:
Unfortunately I cannot watch your mouse in the video. The software your using is hiding the mouse arrow or your on a tablet/ipad.  It isn't clear to me if your actually clicking the Save or Save and Continue button in the top right.  I am suspicious as I see the tooltip around the image area where I think your mouse is, then suddenly your browser is refreshing.

Please validate your doing step 3 below.

Step 1 - You edit a category
Step 2 - You upload a picture
Step 3 - You hit either the blue save button or the blue save and continue button (I can't tell if your doing this from the video as the mouse is hidden)


Thank you

He performed these steps:
Step 1 - I edit the category
Step 2 - On the category editor screen, press the upload a file button.
  In this step the browser is automatically refreshed.
Step 3 - I press the blue save button.

But the image I uploaded never appears.

new video
https://youtu.be/RXhDzNLlq28
7 years ago
new video
https://youtu.be/RXhDzNLlq28
7 years ago
Ok, that is clear now.

So the main issue I see is the auto refresh that is occurring that should not be. I just double checked by uploading a category image in my dev, and there is absolutely no browser refresh...so something is causing your browser to refresh.

As a next step, I would do 2 things. First, break out fiddler and perform the action and inspect the results.
Secondly, check in the Log table to see if any error is being written.
Additionally, are your images being stored as SQL Blob or on file system (not referring to the thumbs folder...but the actual images).
7 years ago
ChuckR wrote:
Ok, that is clear now.

So the main issue I see is the auto refresh that is occurring that should not be. I just double checked by uploading a category image in my dev, and there is absolutely no browser refresh...so something is causing your browser to refresh.

As a next step, I would do 2 things. First, break out fiddler and perform the action and inspect the results.
Secondly, check in the Log table to see if any error is being written.
Additionally, are your images being stored as SQL Blob or on file system (not referring to the thumbs folder...but the actual images).


Thanks for everything

The visual studio  Enabled Reload on Save with of browser.

I disabled that option already works perfectly.
Thank you.
7 years ago
Ok great.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.