bug with moving pictures to filesystem

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Hello.


I have 17000+ pictures and 4.1Gb database.

I decided to move pictures to filesystem.

It is not possible.

I did some research and found this code:

if (this.StoreInDb != value)
                {
                    //save the new setting value
                    _settingService.SetSetting("Media.Images.StoreInDB", value);

                    //update all picture objects
                    var pictures = this.GetPictures(0, int.MaxValue);



thats really critical bug, because it will be never possible to move pictures to file system.




other bugs: when you open product details page it download picturebinary from database allways before checking if thumb exists...
9 years ago
hackfaq wrote:
I have 17000+ pictures and 4.1Gb database...

Hi,

Thanks for reporting. This is a known issue

hackfaq wrote:
other bugs: when you open product details page it download picturebinary from database allways before checking if thumb exists...

I won't name it's a bug. It's a performance issue. But anyway it's not true because product pictures are cached. They're loaded only once when a product details page is opened. You can find this code in the "PrepareProductDetailsPageModel" of "ProductController" under "Pictures" region.

I've also seen your other post about performance. What version are you using?
9 years ago
on one website I use 2.6 totally refactored, and on the other 3.50. both of them has performance issues ;(
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.