Hi all,
Could anyone help me with this please: I have 2 columns of Attachment (images) and want to do what I normally do with email addresses and dates etc; namely have a new formula field that checks whether an image exists in one field and if that’s a No, use the image from the other field (in my case as the cover in a gallery). (1 image is from a linked table field, the other a direct attachment (if exists)).
So, ‘date’ might be like this: IF({Date Published},{Date Published},{Date Accepted})
But ‘attachment’ gives me the AT field content like this: untitled.png?w=640 (https://dl.airtable.com/.attachments/a0dfdghtt8876ad82f549fadb408/2164e9ef/untitled.pngw640)
I can split/extract the field components eg get the actual URL via something like:
RIGHT(LEFT({Journal Image}, LEN({Journal Image}) - 1), LEN(LEFT({Journal Image}, LEN({Journal Image}) - 1)) - SEARCH(“https://”, {Journal Image}) + 1)
but that still doesn’t get my image usable easily (without some scripting/automation). Is there an easy way I’m missing in my approach?
Any pointers are welcome. Many thanks