Reaction in extension scripts when image does not exist
Posted: 02 Feb 2022, 01:00
When expanding the displays with images, I put together the file names of the images from fields on the screen, here e.g. from DLART1 and DLVEL1.
The image file has the extension .tif - at least for now.
Now I get pictures both as .tif and as .jpg and would have to search alternatively, so to speak, once for DLART+DLVEL.tif and (if no result) again with DLART+DLVEL.jpg. Can this be controlled in the script?
Now there should be a reaction if the image in w_ImageName does not exist.
In this case I want to to use ".jpg" instead of ".tif".
Can this be done in aXes scripts?
Many thanks in advance and best regards,
Joerg
The image file has the extension .tif - at least for now.
Now I get pictures both as .tif and as .jpg and would have to search alternatively, so to speak, once for DLART+DLVEL.tif and (if no result) again with DLART+DLVEL.jpg. Can this be controlled in the script?
Now there should be a reaction if the image in w_ImageName does not exist.
In this case I want to to use ".jpg" instead of ".tif".
Can this be done in aXes scripts?
Many thanks in advance and best regards,
Joerg