Linked images

58 views
Skip to first unread message

Da7id

unread,
Oct 22, 2025, 4:58:11 AM (6 days ago) Oct 22
to mementodatabase
Is it possible to display an image in one library that is pulled from another library? I have two simple libraries: Products and Orders.

When I make a new order, I would like the image (field: ProductImage) from the linked entry in the Products library to appear as a thumbnail in the Orders library entry.

Mmm

unread,
Oct 22, 2025, 9:50:23 AM (6 days ago) Oct 22
to mementodatabase
Вариант решения.
Триггеры и картинка по умолчанию.

Тестовые библиотеки:
среда, 22 октября 2025 г. в 11:58:11 UTC+3, Da7id:

Da7id

unread,
Oct 22, 2025, 11:10:19 AM (6 days ago) Oct 22
to mementodatabase
Thanks for responding.

> Solution option.
> Triggers and default image.

I apologise for my lack of understanding, but this seems a little cryptic to me. I should build a script trigger to alter the default image somehow -- could you be more specific? I only dabble with scripts. Thanks.

Mmm

unread,
Oct 22, 2025, 11:38:52 AM (6 days ago) Oct 22
to mementodatabase
Я добавил в библиотеку продуктов поле JS для определения пути к первой картинке в записи. 

Обновите библиотеки и сохраните их копии себе на устройстве. 
Посмотрите скрипты и структуры библиотек.
Запишите адрес картинки по умолчанию в общие скрипты библиотеки продуктов (не забудьте про экранирование слешей в адресе: "///" замените на "/\/\/").
Чтобы определить путь к картинке по умолчанию – вставьте ее в пустую запись и скопируйте путь из поля "path to the image".

После изучения скриптов перенесите их в свои библиотеки, изменив имена полей на свои.

среда, 22 октября 2025 г. в 18:10:19 UTC+3, Da7id:

Da7id

unread,
Oct 22, 2025, 11:47:56 AM (6 days ago) Oct 22
to mementodatabase
Ok that looks a little bit involved. I'll see if I can work it out. Thanks.

Mmm

unread,
Oct 22, 2025, 11:50:27 AM (6 days ago) Oct 22
to mementodatabase
Если разберётесь и сделаете верно, то будет работать приблизительно так.

среда, 22 октября 2025 г. в 18:47:56 UTC+3, Da7id:
screen-20251022-184521.mp4
Reply all
Reply to author
Forward
0 new messages