Photo field alignment
a photo field is always aligned on the left when laying out a view. I need to have more fields on its left or even a space to center it on the page. Is there a way to do it?
Thank oyu very much
When you get the chance, please copy and paste the formula you are using here.
here is the formula
let x := anello.ID;
html("<img src=""/Users/Vittorio/Library/Containers/de.ninoxdb.ninox-mac.Ninox/Data/Documents/data/'All Ery'/files/" + extractx(text(files(record(Anagrafica,x))), "(\w)(.+)", "$1/$2") + """>")
here is the result when I am removing the html() function:
<img src="/Users/Vittorio/Library/Containers/de.ninoxdb.ninox-mac.Ninox/Data/Documents/data/'All Ery'/files/A/390/m_a.jpeg">
I am baffled. Everything looks good so all I can do is swing in the dark.
Is anello.ID the same as link.ID?
Is it referring to another table?
How many tables do you have?
Remember, the letter in the file path is the table Id and the number is the record Id. Is the image in that file path in record 390 of your first table?
I am unable to think of anything else at the moment.
anello.ID is from the same table of the picture and it identifies the record itself for selection.
I only have one table. A/390 are the table and the record of which I want to show the picture, selection is working fine.
Thank you very much for all your support so far.
P.S. back to initial question: why image fields are always moved to the very left of the screen as first field and no other object (e.g. formula field, space, text field, etc.) can be placed before them?
I don't know how anello.ID works, but if you're getting the result you want then that's what matters. I'm not clear on whether you got it working or not... "selection is working fine". Does that just mean you can click on it and it brings up the picture viewer?
As far as the reason goes, I can't explain it any better than this...
Yeah, I don't see how you can use dot notation like that unless you are using a Reference field and that would mean you have more than one table in your database. Also, if you do use a Reference field and you want to return the Id then you would need to put it inside
- 2 yrs agoLast active