DMXzone App Connect Support Product Page

Reloading Server Connect on form success not showing rotated image

Asked 06 Aug 2020 11:43:07
1
has this question
06 Aug 2020 11:43:07 Bruce Wilkie posted:
Hi there

I've got a form that I'm using to rotate an image 90 degrees using Server Connect with Image Processor and App Connect.

The image name is stored in a database and is shown on the page by way of a Server Connect.

The form works fine and the image is being rotated and saved again, but when I apply the dynamic event to reload the Server Connect, it isn't showing the image as having been rotated. I have to reload the page manually in order to show the image rotated.

Is this because the image is being cached in the browser prior to being rotated, and if so how do I get around this?

Form code:

<form action="../dmxConnect/api/Admin/RotateStoragePicture.php" method="post" name="RotateForm" id="RotateForm" is="dmx-serverconnect-form" site="undefined" dmx-on:success="serverconnectListPics.load()">



thanks
Bruce

Replies

Replied 07 Aug 2020 07:42:51
07 Aug 2020 07:42:51 Teodor Kuduschiev replied:
Hello Bruce,
Please check the solution to the same question i just provided in the Wappler community a few days ago: community.wappler.io/t/adding-a-simple-rotate-button-for-images/23104

Reply to this topic