Picture file size in product detail is automatically reduced.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 anos atrás
I have no issue when I upload a picture for thumbnail.

The picture file size issue comes when I upload a large size picture for detail, using Roxy Fileman.

The picture file size that I want to upload is 1.54MB 650x3175.

When I add a picture using Roxy Fileman, it automatically reduces file size to 51.1KB 204x1000.

The picture is small when I see a preview on the Roxy Fileman.

I set several settings by changing number in Media setting, but I couldn't fix it.

https://plus.google.com/photos/photo/117348238551947540991/6456893481373234354?icm=false&authkey=CI-Kjuyoyd7_VQ

I could upload 1.54MB size picture by using FileZila FTP into Content-Uploaded folder in my VPS site.

But when I try to upload that 1.54MB picture by using Roxy Fileman, it automatically reduces file size to 51.1KB again.

To fix this issue, do I have to change a source code or any other setting in nopCommerce Dashboard?

Thanks.
6 anos atrás
Hello,

You can review PictureService.cs in Libraries\Nop.Services\Media

You will all code for reduce size in that service.

Thanks,
Jatin
6 anos atrás
I think I found the solution.

I went to conf.json in Roxy_Fileman
http://plus.google.com/photos/photo/117348238551947540991/6456982179459536146?icm=false&authkey=CKzkydXd4NmtTA


I replaced the number 1000 of MAX_IMAGE_WIDTH and HEIGHT with 10000
https://plus.google.com/photos/photo/117348238551947540991/6456982234765776658?icm=false

and image file is not reduced in size and volume.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.