Support » Plugin: Gravity Forms Entries in Excel » Embed the uploaded images – not just the URL

  • Resolved remeoner

    (@remeoner)


    So I was looking through the previous topics and found everything but this one request…possibly because it’s impossible, but let me give it a shot. I am currently using SLIM Image Cropper with Gravity Forms and GravityPDF – this combination of plugins allows my users to upload images to the form – then embed them inline in a formatted PDF. Now in this case – I don’t need to generate a PDF on the fly – however, I would like for the image uploaded to the form to be embedded in the excel spreadsheet, as opposed to just the active URL linking to the image. Is this something that can be done.

    We have a manual workaround – which includes downloaded the excel sheet – clicking the active URL then manually placing the image in the cell, I’m just trying to save some time by having this done automatically.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Doeke Norg

    (@doekenorg)

    Hi @remeoner,

    This MIGHT be possible. But definitely not in the current version.

    The plugin uses PhpSpreadSheet to render the excel file. It has support to read and write images onto the excel. If this can be done with the plugin, it will use up a lot of memory, because the images are embedded inside the file. And because the file is rendered on the fly, and in-memory; it won’t take long before the rendering will fail.

    This only makes sense if the file was being created with a background process. But then we’d have to store the file somewhere, and that will completely change the behavior of the plugin; because you can no longer use the download-url.

    So it’s not that it’s not possible; it’s more that it’s impractical. I really like the idea; and I’m willing to to take a quick look see if possible. But I think this is probably not going to happen 🙁 I’m sorry.

    remeoner

    (@remeoner)

    I totally hear what you saying – its similar to the complexities of the Slim Image Cropper plugin I am using to embed images into the PDF – if the settings are not configured just right – the entry will fail. Within that plugin, I can set the image quality and force the images to be cropped in a manner that will reduce file so that things flow smoothly. So with that being said – you pretty much confirmed my original suspicions.

    Thank you for your prompt reply nonetheless.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Embed the uploaded images – not just the URL’ is closed to new replies.