pdf::writer inserting images horizontally

Hi ! I am using pdf::writer and want row of images within pdf …but unable to set it properly using table…any suggestions ??

through pdf.image “path_to_image” , I am getting target image to pdf but array of images are displayed vertically. I want that row wise…4-5 images per row.I have tried with table format but unable to set.

if anyone knows please help.

Thanks,