Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to add images to a new or existing Spreadsheet #275

Open
ufo2mstar opened this issue Oct 2, 2017 · 9 comments
Open

Support to add images to a new or existing Spreadsheet #275

ufo2mstar opened this issue Oct 2, 2017 · 9 comments

Comments

@ufo2mstar
Copy link

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 😄 but image addition and manipulation would be a good addition for my usecase.
Thanks!

@teezz
Copy link

teezz commented Nov 1, 2017

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

@kmanzana
Copy link

kmanzana commented Nov 20, 2017

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.

@MatthiasRMS
Copy link

Hi!
Anyone found a solution ?

@weshatheleopard
Copy link
Owner

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
Copy link
Owner

@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?

@ufo2mstar
Copy link
Author

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?

@wtian
Copy link

wtian commented Jan 20, 2019

Is this in already?

@mtzlobr
Copy link

mtzlobr commented Jul 31, 2019

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

@anshuscript
Copy link

anshuscript commented Mar 4, 2020

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants