smartstore / SmartStoreNET

Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
http://www.smartstore.com/en/net
GNU General Public License v3.0
2.64k stars 1.47k forks source link

png in product show as video object #2201

Open TripleNico opened 3 years ago

TripleNico commented 3 years ago

With the migration from 3.2.2 to 4.1.1 it looks like that .png images are detected as video objects instead of image objects. With .jpg images are correctly displayed.

Yorams commented 3 years ago

I Also looked into this problem. Some image's shows as normal pictures an some not. I can not find a correlation between the images itself. In the inspector i can see that the content type for the video object images is "application/octet-stream".

If you get the request URL from the video object image and put a extension behind the URL (jpg or png), then the image just shows itself as a image. So i guess smartstore does not add the extension to some images.

TripleNico commented 3 years ago

Hopefully this can be looked into a.s.a.p. now we get customer saying they can't play the video while it's just a picture...

TripleNico commented 3 years ago

I noticed that this is due the MediaManager has no linked tracks. Althought the product shows the images if you look up the images they show up but don't have a linked track to them. For example the imagename are build op of sku_# so 14210-1 if i then search mediamanger i see this: image

Is something that has gone wrong during the migrating from 3.2.2 to 4.1.1? This product and images are not updated yet since the new update. I also noticed it's missing the file extension?

Is there a simple way to purge all MediaFiles for the folder catalog? Our application would upload new images automatically maybe that will fix it?