suyati / line-control

A Light Weight HTML5 Text Editor designed as a JQuery Plugin
Other
124 stars 90 forks source link

Resize while uploading an image #113

Open Ademgenc53 opened 4 years ago

Ademgenc53 commented 4 years ago

Hello,

Thank you very much for the editor

How can I resize when uploading an image? in editor.js sample:

      $.ajax({
        url:"resize_image.php",
        success:function(data)
        {
        }
      });
nmohanan commented 4 years ago

Hi Adem,

You can upload the image with the help of server-side scripting, currently, we keep the image as the encoded format for better performance and lightweight.

Thanks

On Sun, Jul 19, 2020 at 6:01 PM Adem GENÇ notifications@github.com wrote:

Hello,

Thank you very much for the editor

How can I resize when uploading an image? in editor.js sample:

  $.ajax({
    url:"resize_image.php",
    success:function(data)
    {
    }
  });

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/suyati/line-control/issues/113, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA74LOEAOTP7NXCGWEMHNPLR4LRRFANCNFSM4PBJL46A .

--

NAVEENBOS T M - Senior Engineer

Mob: +91 9746182537 | Skype: naveen.bos | www.suyati.com https://suyati.com/ We empower our clients to acquire, manage and retain their customers through effective digital transformation of their business, thus enabling them to create delightful user experiences and stories.

--

The information in this email may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete the message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Any information in this message that does not relate to official business shall be understood to be neither given nor endorsed by Suyati Technologies Private Limited. Although the company has taken reasonable precaution to ensure no viruses are present in this email, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

P Please consider the environment before printing this e-mail -- SAVE PAPER! SAVE THE PLANET!!

Ademgenc53 commented 4 years ago

Thank you for the answer

"You can upload the image with the help of server-side scripting, currently," I couldn't fully understand this

It is my preference to keep the pictures in the editor as base64