How to Show Product thumbnail (picture) in Sales -> Orders Grid in Magento 2

I have been able to add custom attribute to the orders grid but do not know how to render sold product thumbbnail. How to show product picture on the Sales -> Orders grid?

So when a product is sold it would be great to see its picture next to the product SKU in the Sales -> Orders grid. So when my friend helps me to pack all the orders, he can see how the product looks like and he can easily identify it.

Any Idea?

Awesome BRAWL STARS thumbnail Within 1 day for $7

Hello , Buyer i know you are well and many bless for your business I am Oliver Chisom, ProfessionaAbout This GigI will Photoshop background removal with supper speedy . 100% buyer satisfaction is our main priority Unlimited revisions 24 hours service with accurate English language , with source file (jpeg,PNG,PSD,RAW) Hello , Buyer Many bless for your business.. I can make for you the best BRAWL STARS Thumbnails a LOGOs. 1 thumbnail 3 thumbnails + 1 free LOGO 5 thumbnails + 1 free LOGO …for everything you order you`ll receive free bonuses

by: sayemkhan11
Created: —
Category: Graphics & Logos
Viewed: 132

Clickable and Eye-catching Youtube Thumbnail for $1

Hello Everyone! I hope you are fine. If you are looking for someone who creates thumbnail for Youtube videos then you’re on right place. I can create eye-catching and clickable thumbnail. In these days a beautiful and professional thumbnail is very important for Youtube videos for more views. If your thumbnail will be bad then nobody watch your video even they don’t click on your videos. So, Don’t worry. I’m here for your help. I can create highly clickable thumbnail for you. Message me and order now for making a good experience with professional work. Thanks

by: ProEditor
Created: —
Category: Art & Design
Viewed: 294

Amazing Thumbnail for games YouTube, Instagram, Twitter for $2

Amazing Thumbnail for games (BRAWL STARS, FORTNITE,…) for YouTube, Instagram, Twitter Hi there, Do You like games? Do You like Brawl Stars or Fortnite characters? Do you want to make Brawl Stars or Fortnite (or any game) videos on youtube and you want many and many views? I can help you. I will help you to make some awesome thumbnails to catch some viewers. Try it and you will be happy with my thumbnails. Let`s start with your Thumbnail …or LOGO.

by: cipikkus
Created: —
Category: Art & Design
Viewed: 108

Spliting PDF and get thumbnail while adding it to a ListView

I’m doing a application to work with PDF and TIFF files. To divide them, the user opens the file or folder (if it is a folder, it gets all the files inside) and the app splits the file, getting a tiny image (thumbnail) in JPG format. Then it creates a ListViewItem adding the thumbnail, the name and the size of the file.

But it takes too long (1:40min) with a PDF with 68 pages, so if a larger PDF is opened, it will take too long.

the time for 68 pages

So I wish someone could say where can I improve my code so it doesn’t take that long.


public void SplitPDF2(string input) {    try    {        iTextSharp.text.pdf.PdfReader reader = new iTextSharp.text.pdf.PdfReader(input);        iTextSharp.text.pdf.PdfReader.unethicalreading = true;        string name = Path.GetFileNameWithoutExtension(input);        for (int i = 1; i <= reader.NumberOfPages; i++)        {            //get thumbnail from 1st page-----------------------------------------------------            string pastapdf = AppDomain.CurrentDomain.BaseDirectory + "temporario\Thumbnails";            Directory.CreateDirectory(pastapdf);            using (var document = PdfiumViewer.PdfDocument.Load(input))            {                var image = document.Render(i-1, 60, 84, 300, 300, true);                image.Save(pastapdf + "\" + name + "Pagina" + i + "_thumbnail" + ".jpg", ImageFormat.Jpeg);                thumbnails.Images.Add(j.ToString(), image);                image.Dispose();                document.Dispose();            }            //split pdf-----------------------------------------------------------------------            string p = AppDomain.CurrentDomain.BaseDirectory + "temporario\" + name + " - Pagina " + i + ".PDF";            Stream outputStream = new FileStream(p, FileMode.Create);             Document doc = new Document();            PdfWriter pdfWriter = PdfWriter.GetInstance(doc, outputStream);            doc.Open();            PdfContentByte pdfContentByte = pdfWriter.DirectContent;            PdfImportedPage importedpage = pdfWriter.GetImportedPage(reader, i);            iTextSharp.text.Rectangle mediabox = reader.GetPageSize(i);             doc.SetPageSize(mediabox);            doc.NewPage();            pdfContentByte.AddTemplate(importedpage, 0, 0);             outputStream.Flush();            doc.Close();            doc.Dispose();            outputStream.Close();            pdfWriter.Dispose();             FileInfo f = new FileInfo(p);            ListViewItem _item1 = new ListViewItem();            _item1.ImageKey = j.ToString();            _item1.SubItems.Add(name + " - Pagina " + i + ".PDF");            _item1.SubItems.Add(f.Length.ToString());              lista2.Items.Add(_item1);             j++;        }        reader.Dispose();    }    catch (Exception ex)    {        succed = 0;        MessageBox.Show(ex.ToString(), "Erro", MessageBoxButtons.OK);    } }