I want to drag and move image on the screen
Application Type
Traditional Web

I want to drag and move image on the screen


I found the related questions but it is not  working

https://www.outsystems.com/forums/discussion/70212/drag-image-text-annotation-on-pdf-files/

Hello,

You want to move the image inside an HTML page or inside on a PDF file?

Best Regards,

Nuno R

Hi @Nuno Rodrigues

I want to move the image on PDF file

Hi Dha,

That is a challenge more difficult, that on a page. I dont know the PDF plugins that exists on the FORGE, but I will see them, because maybe if is possible to convert a container to PDF, you can move the image inside the container and them convert to PDF.

I will try to do some research, if I find something I will tell you.

Best Regards,

Nuno R

Thank you for your reply

If you know how to move the image on html page, please share the steps

Hi DHA,

I have build a POC with what I think you need:

https://personal-xchr.outsystemscloud.com/Tests/MoveImage

Have a look, and if think it can help you I will share the OML.

Hope it helps.

Best Regards,

Nuno R

Hello Ajit,

Sorry about it.

Now the page is on "Anonymous" mode.

Best Regards,

Nuno R

Hi Nuno Rodrigues

Thank you very much 

Its so helpful

Can't I move the image and put it in a specific place?

Because now when I move the cursor image is move(ex: when double click and move the image like this)

Can you please share the oml

Hi DHA,

I think is necessary to improve the JS that move the image, because you are right, in bigger screeen the mouse is not in the image, but maybe that is something that you can solve.

I share the OML.

Hope it helps.

Best Regards,

Nuno R

MoveImage.oml

Hi Nuno Rodrigues

Thank you very much

I want to do it on traditional web

JS widject is not on traditional web

Can we use expression instead of JS widject.




Hi DHA,

I have try to do it in tradicional, but when I try to add the JS to the page Outsystems block my computer.

Sorry I cant help.

Best Regards,

Nuno R

Anyone can support to drag and move image on Traditional web?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.