*

pitkag

  • **
  • 29 posts
Images - Resizing for faster uploading
« on: November 25, 2021, 09:37:58 AM »
Hello,

I trust you are well. When uploading images which are large in size e.g 5MB or more is it possible to compress them to a particular size so they upload faster?

Kind Regards

*

MB Themes

Re: Images - Resizing for faster uploading
« Reply #1 on: November 25, 2021, 09:42:18 AM »
@pitkag
There used to be image resizer plugin but it was usually not compatible with themes.
But to be honest I do not remember if it was like resizing images on client side.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

pitkag

  • **
  • 29 posts
Re: Images - Resizing for faster uploading
« Reply #2 on: November 27, 2021, 10:30:21 AM »
Can i still get it and try implement on my website?

*

mwindey

  • ****
  • 128 posts
Re: Images - Resizing for faster uploading
« Reply #3 on: November 27, 2021, 12:05:28 PM »
@pitkag

I uploaded the file/zip folder and i wish you luck using it on your website.
For me it worked until osclass v8.0.0 with veronika theme.....
download link: https://we.tl/t-EFIhNEpJ6I
You have to change parts of your css files, create duplicate css etc.... It's an outdated plugin but maybe Frosticek can give this a new life....(new plugin)
« Last Edit: November 27, 2021, 06:09:42 PM by mwindey »

*

pitkag

  • **
  • 29 posts
Re: Images - Resizing for faster uploading
« Reply #4 on: November 27, 2021, 11:42:58 PM »
Hello,

It worked with my delta theme. I have tested with large photos (MBs) and it compresses it to manageable (KBs)
Thank you

*

MB Themes

Re: Images - Resizing for faster uploading
« Reply #5 on: November 28, 2021, 08:15:20 AM »
Thanks guys  :-*
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • ****
  • 128 posts
Re: Images - Resizing for faster uploading
« Reply #6 on: November 28, 2021, 11:42:14 AM »
Since yesterday i started playing again with the plugin and found that osclass v8.0.0 is NOT the problem why it's not working anymore.
The problem is that i use the webp plugin and the pre-resize plugin can only handle .jpg, .jpeg, .gif and .png files. If you are not using webp plugin it works for now.


*

MB Themes

Re: Images - Resizing for faster uploading
« Reply #7 on: November 28, 2021, 03:14:28 PM »
What is actually problem?
WebP plugin does not work with WebP images it generates them based on created jpg/png images.
Only what comes to my mind is that WebP images are not generated after?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • ****
  • 128 posts
Re: Images - Resizing for faster uploading
« Reply #8 on: November 28, 2021, 04:10:39 PM »
@MB Themes

First time when uploading it works ok and photos become webp on website when visiting.
After edit listing and remove, add or change something to listing text they disappear on front until you go to backend settings/media and regenerate files.
i cannot find out directly what is wrong .....
When following the link on a disappeared photo it goes to https://mydomain.com/oc-content/uploads/1/593_thumbnail.webp

*

MB Themes

Re: Images - Resizing for faster uploading
« Reply #9 on: November 28, 2021, 08:53:20 PM »
@mwindey
WebP images use these 2 hooks:
Code: [Select]
osc_add_hook('uploaded_file', 'wbp_generate_webp');
osc_add_hook('regenerated_image', 'wbp_generate_webp');

My guess would be that Image resizer plugin does not run "uploaded_file" after images are uploaded? Not sure, maybe once I get time to test ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • ****
  • 128 posts
Re: Images - Resizing for faster uploading
« Reply #10 on: November 29, 2021, 01:42:41 PM »
@MB Themes,

Thanks...I'm gonna play with it for a while but this is priority nr 0 on a scale from 1 to 10 for me 8) :)
If it works nice ....If it's not working....also nice  :D

*

MB Themes

Re: Images - Resizing for faster uploading
« Reply #11 on: November 29, 2021, 08:03:09 PM »
 :D
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

tomi327

  • ***
  • 52 posts
Re: Images - Resizing for faster uploading
« Reply #12 on: December 01, 2021, 01:09:45 AM »
Wooow. Very usefull plugin!!!

Osclasspoint can you integrate it to core, please please?  8) or make a new and fully working osclasspoint image processing plugin.  ;)

It has an image dragging too! (on item edit too!!!)  ;D

It need to be fixed, please - WebP, delta image rotate, dragging on mobile. 

New settings - admin select image quality, allow drag, allow rotate
« Last Edit: December 01, 2021, 01:22:30 AM by tomi327 »

*

MB Themes

Re: Images - Resizing for faster uploading
« Reply #13 on: December 01, 2021, 08:58:36 AM »
@tomi327
This is not on plan right now, maybe in future ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots