Question

In general

I need a module, that works with custom in DB table.

It's main purpose is in providing data to a simple js script, that puts pins on the map.

Question

How to organise storing of images, that should appear above the pin.

enter image description here

Assumptions

I assume, that in DB we should store a link and an image — in some folder, designed for that. Also I assume, that Magento 2 has some classes to work organise this process.

What do I have for now

enter image description here

Code

Code examples are very dirty because of using a couple of another's examples. Main was Ashsmith Blog

Was it helpful?

Solution

Solved by adding additional <column> and additional php class.

Found an answer at:

Display an image in the admin grid in magento 2

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top