This is my table.
Can you tell me how to get the value from table.
For example in the photo, when the user click on the first one and click copy button, it will store the image in main folder inside of ignition and show the image in Image component.
I did with the text field but I don't know how to do with table component.
This is my python code for text field.
def runAction(self, event):
import shutil
This will save an image of the component to the CLIENT. To display the image file in the Image component, you need to upload the file saved on the client to the Gateway. This will require use of the File Upload component.
I suspect the only reason your script is working is because you're using the same machine for both Client and Gateway.
Side note:
While you might find recommendations to save photos to the webapps/main directory here in the forums, that route is officially unsupported and could stop working at any point in the future without warning. Just because it works does not mean it is supposed to work. It's highly recommended you serve resources through either the WebDev module, a third-party module, or an external resource server (Photobucket/S3).