This topic contains 9 reply and 2 voices, and was last updated by towhid 4 years, 8 months ago
Viewing 9 Posts - 1 through 9 (of 9 total)
Author Posts
February 16, 2015 at 2:04 pm 36818
towhid Hi. So, on the mobile, I am using a Feature image upload button. When the button is pressed, an user can take a photo using the phone. However the size of the photo is approximately 2.8 Mb. Is there a way to reduce the image size when uploading? For example, after a photo has been taken, the photo size is either reduced or only use thumbnail size for the upload. The issue is that, it takes too long to upload if the image is over 2MB. Thank you.
February 16, 2015 at 2:25 pm 36824
towhid towhid

Hello Steve,

I am really sorry to say that, we do not this feature right now. But I will discuss about this feature to our developer team. Hope they will implement this feature in near future.

Thank You 🙂

February 16, 2015 at 3:27 pm 36835
Steve Kim Steve Kim

Thank you for the reply.

Could you give me a guidance to where to even start while I wait for the update?

I know you guys are busy and maybe I can figure it out how to do it if you give me a guidance.

Thank you so much!

Steve

February 16, 2015 at 5:01 pm 36844
Steve Kim Steve Kim

Hi.

So I found this article: http://www.plupload.com/docs/Image-Resizing-on-Client-Side

In the file, it shows some php code that will enable resizing the image.

Could you tell me how to do it (or change the code) so that the image size width and height is just 350px long.

Any help will be super appreciated!

Thank you!

February 16, 2015 at 5:16 pm 36847
Steve Kim Steve Kim

So, little update:

looks like I need to pass “resize” option as following:

var uploader = new plupload.Uploader({
  browse_button: 'browse', // this can be an id of a DOM element or the DOM element itself
  url: 'upload.php',
  resize: {
    width: 350,
    height: 350
  }
});

Would you be able to tell me where and any modification to the code for the upload image size to be smaller?

Thank you very much

February 17, 2015 at 10:16 am 36901
towhid towhid

Hello Steve,

Please check WP Smush.it plugin. I think it will meet your demand. Please follow this link – https://wordpress.org/plugins/wp-smushit/ to download and know more about this plugin.

Thank You 🙂

February 17, 2015 at 10:25 am 36903
Steve Kim Steve Kim

Hi.

Thank you for the reply.

Well, I do use WPsmush.it but it resizes image after it is uploaded on the server side.

The tutorial that I found from Plupload is for “client side”, meaning it will resize the image even before image is uploaded :http://www.plupload.com/docs/Image-Resizing-on-Client-Side

What do you think that I need to do?

Really appreciate it! 😀

Thank you

February 18, 2015 at 2:31 pm 36983
towhid towhid

Hello Steve,

We can not help you regarding this issue. Please try this code for yourself and let me know the result.

You can hire a developer by post this topic in popular online marketplace.

Thank You 🙂

February 18, 2015 at 3:03 pm 36991
Steve Kim Steve Kim

Thank you but I got it working.

Thanks.

February 18, 2015 at 3:08 pm 36995
towhid towhid

Hello Steve,

I am really happy that it is working for you. I am going to mark this topic as resolved.

Thank You 🙂

Viewing 9 Posts - 1 through 9 (of 9 total)