• Resolved Equipe GameGratis

    (@gamegratis)


    Hello, first of all thanks for the amazing plugin!

    I’m going to buy the Gsheet Connector Pro License, but I need to know something before. I need to let users upload an image, but instead of the image url, I need the image ID posted on google sheets. Is that possible?

    Either that or I need to make a way to delete the uploaded photos by users, automatically.
    Thats because I will use the image to create a new product, and that will duplicate the image (create another one).

    If its possible to send the image ID to Gsheets, the new product can use this image. But if I can only send the URL, then I use it the create product, but after I need to automatically delete that photo.

    Is some of that possible? How can I achieve it?

    Thank you very much in advance!

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

    (@westerndeal)

    Hi @gamegratis,

    Apologize for the late reply.

    Can you let us know for the image uploading are you going to use any 3rd party plugin?

    If so then to make it compatible with any 3rd plugin we have do provided hooks which you can implement and customize code to get those 3rd plugin data to the Google Sheet and there only you can add your other custom code to delete the uploaded images if duplicate image found.

    Also to avoid replacing of the files/image that have same name we prefix the files with 10 digit random number.

    Hope this helps. Also further you can connect us via our PRO support email via our plugin website.

    Thanks
    Abdullah

    • This reply was modified 3 years, 4 months ago by westerndeal.
    Thread Starter Equipe GameGratis

    (@gamegratis)

    Hey thank you very much for your response friend!

    I am not using any 3rd plugin, I’m using the cf7 form, then sending the image link to google sheets, and then creating a woocommerce product with that.

    But actually I figured it out how to create the product with an image already uploaded into the site.

    But to do that I need to send the image ID and not the image url. Is there any way to do that on Gsheet Connector free or PRO version?

    Thank you again and sorry for the changes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete file after uploading’ is closed to new replies.