Trigger to convert Google Drive URL image to permalink

Skip to first unread message

Alessandro DETOMMASO

Aug 8, 2022, 11:07:19 AMAug 8
to mementodatabase
Finally the team of memento database has implemented this (in my opinion) very useful function: "Ability to insert an image into the image field by URL".

Through this update, the bookstore data space can be managed intelligently. The images are usually the elements that occupy the most memory on the disc and considerably weighted the library.

My necessity would therefore be to fully exploit the synergies between memento database and Google Drive to keep the images cataloged and storage only through the cloud.

The problem is that Google Drive does not directly generate permalink that reach the specific JPG file.

To do this you can use a permalink capture service like this:

Immagine 2022-08-08 170259.png

In this way I can get a clean link that gives me back an image that I can fully manage from the cloud.

In my specific case, I manage thousands of images (receipts, products, screenshots); Converting the URL every time to load the image is very expensive.

I thought about the use of a trigger that made a call to the service insertion (active on to convert the value inserted in the URL field in the link thus generated a file Image loaded in a Google Drive folder can be easily connected to a mere item.

Can someone help me? It would also be an opportunity to better deepen the JavaScript code for the trigger.
Spero che la mia esposizione sia comprensibile!

Thank you very much.

Alessandro DETOMMASO

Er Mo

Aug 8, 2022, 3:03:11 PMAug 8
to mementodatabase
Ich verstehen nicht was du genau mit den Trigger machen willst . Die URL in ein Feld schreiben und die URL kennt dan das Bild . Ist das immer die Selbe URL oder ändert sich ein Teil

I don't understand what exactly you want to do with the trigger. Write the URL in a field and the URL then knows the image. Is it always the same URL or does a part change.



Aug 8, 2022, 4:23:06 PMAug 8
to Er Mo, mementodatabase
Ernst, it's not so simple.
This link:
is an image URL (try it) and Memento does not recognize it as an image URL.


You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Craig Hunter

Aug 8, 2022, 5:23:02 PMAug 8
to, JMRuas, Er Mo, mementodatabase
Does Memento run javascript when loading links? If it did, that could be security risk.

Try opening the link in a browser with javascript off. No image is loaded.

Maybe you could get help from where they might have a way to link to the file without javascript, something like this maybe:

Er Mo

Aug 9, 2022, 2:16:24 PMAug 9
to mementodatabase
Nein das geht auch nicht . Könnte eine Sperre von Memento sein . Die Bilder von Memento selber sind auch so gespeichert :

Hi No, that's not possible either. Could be a ban from Memento. The images of Memento itself are also stored like this:

Reply all
Reply to author
0 new messages