This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

officela

  • ***
  • 64 posts
8.2.0 Osclass Image upload ERROR
« on: November 24, 2023, 11:14:37 AM »
I have limit to 25 images per listing and 3096 kb max size.
Switched to Uppy.io

I am trying to upload 25 images ( each image is LESS than 3096 kb ) but i get the message Image limit reached, some images were not uploaded!

switched back to FineUploader and the issue remains! this must have to do with 8.2 osclass.... any info how to solve it ?

*

MB Themes

Re: 8.2.0 Osclass Image upload ERROR
« Reply #1 on: November 24, 2023, 11:40:39 AM »
@officela
Means you've tried to upload more.
Try to test with lower param values, ie set to max images to 4.

I've tried with limit 3 images and all worked fine.
Existing images are counted to limit.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

officela

  • ***
  • 64 posts
Re: 8.2.0 Osclass Image upload ERROR
« Reply #2 on: November 24, 2023, 12:43:17 PM »
I guarantee and 3ple checked that i have not tried to upload more than 25. ( NEW listing that has NO images is able to accept 25 )

this would also not explain why choose to keep 13....

something else is apparently the reason.

In upload procedure everything works....

I see the 25 photos uploaded... it's when i press submit the listing that i get the error and finally i see on the listing 13 photos.... instead of 25 that had been uploaded correctly....
« Last Edit: November 24, 2023, 12:55:35 PM by officela »

Marked as best answer by officela on November 24, 2023, 04:31:05 PM
*

MB Themes

Re: 8.2.0 Osclass Image upload ERROR
« Reply #3 on: November 24, 2023, 01:19:22 PM »
Ok so it's after publish.
Looks like new images are counted twice.
go to oc-includes/osclass/ItemActions.php and try to remove this line:
Code: [Select]
$newUploadImages++;
That would also explain why you got just 13 images - that's half of 25.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

officela

  • ***
  • 64 posts
Re: 8.2.0 Osclass Image upload ERROR
« Reply #4 on: November 24, 2023, 04:30:58 PM »
Yeap, that worked.

*

MB Themes

Re: 8.2.0 Osclass Image upload ERROR
« Reply #5 on: November 25, 2023, 02:36:14 PM »
Awesome  ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots