0

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

0

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

Found an answer at:

Display an image in the admin grid in magento 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.