Morning @sitestreet and @Teodor, I cannot get the file list on the page to refresh. I have added php date to the img src like this
<img dmx-bind:src="'..' + directory + '/' + image + '?' + <?php echo Date('U') ?>" height="auto" style="max-width: 125px;">
which is adding a unique number like this
/web_upload/web_upload_1/20190830_113455.jpg?1596017690
but the image is not refreshing. If I press F5
on the page then the image will refresh.
I have a Server Connect / Server Action which goes off,
finds the image,
rotates it,
saves by overwriting the original file,
On-Success loads the Server Connect / Server Action which is used to display the list
But the file list on the page does not refresh.
LIGHT BULB MOMENT ?!?!
I am not uploading or updating anything into the Database, therefore nothing is changing in the Server Connect / Server Action and therefore nothing has changed to update, so the page will not refresh. Only the image file in the directory has changed.
Is my thinking correct?
So I cannot refresh using On-Success. Or can I?
HELP?