Display picture based upon internalid

ino_mart

New Member
All

I need to create a table with some fields. At the end this table will have over 5000 records.

For each record there is exactly one unique JPG. Now I can add a picture field and put the hyperlink to the JPG as a value, but this is time consuming and (the more) the name of the file will match the internal id of the record. (so record with ID 1 will have an image named 1.jpg).

I've seen Fabrik has a datatype called "display" so is there some possibility to use that field with some HTML-code such as <img src=./stories/jpgs/[internalid]> ? where internalid will automatically take over the record number?

Regards
Ino Mart
 
Yes. Use element placeholders like {full-element-name_raw}, e.g. {table1___id_raw}

the name of the file will match the internal id of the record
Usually in Fabrik the internal id is autoincrement, so you don't have control which id will be used.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top