Advice for crop/resize/zoom/move/upload image control

1
0

Any advice to start coding a one click friendly crop/resize/zoom/move/upload image control/extrension, maybe through any advice of JavaScript plugin.
User could select an image on picturebox click, then crop/resize/zoom/move in a preview, and finally upload to server.
Thanks in advance!

Something like

jquery cropper
https://fengyuanchen.github.io/cropper/

jquery rcrop
https://rawgit.com/aewebsolutions/rcrop/master/demos/advanced.html

  • You must to post comments
1
0

Updated attachment.

  • You must to post comments
1
0

Probably related to the VB.NET compiler handling resources.

See here: https://wisej.com/support/question/allow-html-in-form-text

Hope that helps.

Best regards
Frank

  • Luca (ITG)
    Check the name of the scripts, you are using “dardkroom”. :)
  • Cristian Zerbinati
    ARGGHH! I can not believe it, how I did not see it!!!! thank you, now the image load! I must understand how activate tools :) I continue tomorrow thanks at all
  • Cristian Zerbinati
    a quick question … how do I update the image in the “non-extension” version? after editing the image with passing the option, how do I refresh the control? The image change if I refresh the page, thanks
  • Luca (ITG)
    Refresh? You want to load a different image or reload the same one after editing? See attached sample. The darkroom library (https://github.com/MattKetmo/darkroomjs) doesn’t support updates. You have to recreate it. Wisej Widget class has the update method. In this case I simply call init again.
  • Cristian Zerbinati
    ok I have understand :-)
0
0

Hi,

I’m try to convert it to extension, but I’m doing something wrong.

I have uncomment <Assembly: WisejResources>

I add the resources, I have verify with reflector and the file .js and .css are embedded

but for example the GetResourceString don’t read the resource

I’m doing something wrong.

can you help?

thanks

Cristian

  • You must to post comments
2
0

The attached sample shows how to use Wisej.Web.Widget and events back from the client. It’s very simple. You can extend it and turn it into a class. Look at similar extensions in /extensions.

Attachment
  • Cristian Zerbinati
    Thank you Luca! I’m learing a lot!!! Cristian
  • You must to post comments
0
0

I have created a widget and import the js, but I don’t understant how create the inizializzation script

Cristian

  • You must to post comments
1
0

I’m interessed me too, for a small tutorial how import darkroom javascript

thank you

Cristian

  • You must to post comments
2
0

That would be an awesome extension.

  • You must to post comments
1
0

This one https://mattketmo.github.io/darkroomjs/ seems to be simple.

There are many.

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.