Hello friends i want to fetch image path like var/www/magento/pub/media
i wand to display image in admin grid i am using rendarar to get image
image path by passing Product id. How this can be achieved ? please explain
thanks
Adarsh Shukla
imagemagento2
Hello friends i want to fetch image path like var/www/magento/pub/media
i wand to display image in admin grid i am using rendarar to get image
image path by passing Product id. How this can be achieved ? please explain
thanks
Adarsh Shukla
Best Answer
To get media absolute path you can try below code.
I hope it'll work for you.