Skip to main content
spelling fix
Source Link
Shoaib Munir
  • 9.6k
  • 10
  • 53
  • 108

Magento 2 - ShoShow image in custom grid

I have a column in my custom grid, I am getting image URL in that column, I want to show image instead of URL. My code of calling that column is:

$this->addColumn(
    'image',
    [
        'header' => __('Header Image'),
        'index' => 'image'
    ]
);

How can I achiveachieve this?

Magento 2 - Sho image in custom grid

I have a column in my custom grid, I am getting image URL in that column, I want to show image instead of URL. My code of calling that column is:

$this->addColumn(
    'image',
    [
        'header' => __('Header Image'),
        'index' => 'image'
    ]
);

How can I achive this?

Magento 2 - Show image in custom grid

I have a column in my custom grid, I am getting image URL in that column, I want to show image instead of URL. My code of calling that column is:

$this->addColumn(
    'image',
    [
        'header' => __('Header Image'),
        'index' => 'image'
    ]
);

How can I achieve this?

Source Link
Magedev2301
  • 230
  • 2
  • 22

Magento 2 - Sho image in custom grid

I have a column in my custom grid, I am getting image URL in that column, I want to show image instead of URL. My code of calling that column is:

$this->addColumn(
    'image',
    [
        'header' => __('Header Image'),
        'index' => 'image'
    ]
);

How can I achive this?