rubyXL icon indicating copy to clipboard operation
rubyXL copied to clipboard

Support to add images to a new or existing Spreadsheet

Open ufo2mstar opened this issue 8 years ago • 9 comments

Hi @weshatheleopard , I have been looking through the documentation and code examples, and am not able to find if there is a provision to add new image files to an Excel spreadsheet. Please advice if this is a feature that exists or is in the plans of being added, as I was having some issues with image scaling with the Axlsx gem and was looking for some alternatives. I am liking a lot of parsability and file editability that rubyXL provides :smile: but image addition and manipulation would be a good addition for my usecase. Thanks!

ufo2mstar avatar Oct 02 '17 15:10 ufo2mstar

Hi @weshatheleopard , I have the same question and try to add images from my Rails app into a xlsx template.

teezz avatar Nov 01 '17 17:11 teezz

Bump on this. Must have for us to be able to add images to a parsed spreadsheet. I've looked through the docs, issues, examples and haven't found anything that indicates this is possible.

kmanzana avatar Nov 20 '17 00:11 kmanzana

Hi! Anyone found a solution ?

MatthiasRMS avatar Aug 06 '18 05:08 MatthiasRMS

Adding images to a spreadsheet is not as easy as it sounds, and unfortunately I do not have enough time to investigate all the details that are involved. If you are willing to write the code that I could incorporate in the gem, be my guest.

weshatheleopard avatar Aug 06 '18 23:08 weshatheleopard

@MatthiasRMS: it is possible to develop this feature for you, but I will need examples of what you want to see, can you give me a sample file of what the desired output is for you?

weshatheleopard avatar Aug 07 '18 22:08 weshatheleopard

Hey @weshatheleopard , there was a hack on the excel side I did, that made it slightly possible. I can give this a shot, but would love some direction from you on where you think I should start on this from (as I was looking through the XML contracts needed for Excelizing things earlier).. or any other person whom it I can reach out to to get some direction?

ufo2mstar avatar Sep 10 '18 17:09 ufo2mstar

Is this in already?

wtian avatar Jan 20 '19 07:01 wtian

Hello everyone, I need to insert a barcode into an xlsx workbook, did you make some progress with this functions? Is there any example how to use it? Thanks a lot Mirek

mtzlobr avatar Jul 31 '19 12:07 mtzlobr

Hi Everyone, I want to insert data per row in xls file and I am using RUBYXL . I have to insert image also for each row. image is different for each row. Actually I am getting data and image location every time per row and I ahve to craete xls file using it. Everywhere it is saying it is not possible. Any suggestion ? Please help. Thanks in advance .

anshuscript avatar Mar 04 '20 12:03 anshuscript