X
123071

upload folder gets loaded with qr_code png images

Hi gents,
Accidentally looking into our media library I found over 1200 png image files named qr_code-.png residing in our upload folder. They are all relating to tickets we are selling. It started at 29-01-2019.

Can you please tell if this is normal behavior because I don’t think so.
Do you know of any cause for this?
Is there a setting for this to turn off?
Can I delete them without consequences?

Thanks in advance
D. Valck

BY: D. Valck - May 14,2019 AT 11:53AM - 4 years ago
    • Artem May 14,2019 AT 12:40PM - Posted 6 years ago - #123085

      Hello,

      Thank you for the message. Yes we have changed the code to save the qr code images in the media so it can be accessed again at later times without having to call google API to generate qr code images. So this is not a bug it is intended to be like this. Sorry for the confusion with this 🙂 There is no setting to turn it off and also please don’t remove them.

    • D. Valck May 14,2019 AT 12:59PM - Posted 6 years ago - #123092

      Hi,

      Thank you for responding so quickly.

      Can you elaborate a bit in which cases it would be necessary to access them again?
      I mean, the only thing we do is scan the qr-codes on the tickets at the door and that’s it basically.
      After the event is done. Can we then delete them?

      Can the path be changed to a new sub-folder under uploads?

      Thank you
      D. Valck

    • Artem May 15,2019 AT 12:31AM - Posted 6 years ago - #123143

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and answer your question. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer!

    • Ashan Perera May 21,2019 AT 3:05PM - Posted 6 years ago - #123986

      Hi there, so we use google API to generate the QR Code images and we save those generated images in media so it can be accessed again. These saved images are used anytime you access the ticket from backend or frontend in customer’s my account page. 

      I havent played too much on subfolders but we are definitely hoping to move those into a more obscure place in the future 🙂

    • D. Valck May 22,2019 AT 3:32AM - Posted 6 years ago - #124042

      Hi Ashan,

      Thanks for your explanation.
      I noticed that it is more or less common practice by other plugins to automatically store their info in a sub-folder of uploads.

      Would you be so kind to fix that soon? because there are now hundreds of these qr-images amidst our images used for the website.
      Do I need to file a change request?

      Thank you.

    • Ashan Perera May 26,2019 AT 7:41AM - Posted 6 years ago - #124519

      Absolutely D as mentioned it is definitely something I would like to pursue and I just need to find a solution for it. If you come across a solution that in wordpress you can store images in sub folder please share it in here. 

    • D. Valck Jun 28,2019 AT 4:46AM - Posted 5 years ago - #128962

      Hi Ashan,

      My apologies for very late reply.
      In my upload folder (and expect in yours too) there is a sub-folder called ‘woocommerce_uploads’ which I see as a nice example for storing your qr-code images. Something like ‘eventon_uploads’ ? 🙂

      In some woocommerce plugin files this is referred too as $upload_dir[‘basedir’]
      If you look in the following files you will find the text ‘woocommerce_uploads’.

      The woocommerce files containing the text “woocommerce_uploads” are:
      ../wp-content/plugins/woocommerce/includes/wc-product-functions.php
      ../wp-content/plugins/woocommerce/includes/wc-core-functions.php
      ../wp-content/plugins/woocommerce/includes/class-wc-install.php
      ../wp-content/plugins/woocommerce/includes/admin/ class-wc-admin-settings.php
      ../wp-content/plugins/woocommerce/includes/admin/ class-wc-admin-post-types.php

      My php knowledge is very little but maybe you can use it from here.

      Wish you well
      D. Valck

    • Ashan Perera Jul 1,2019 AT 4:13PM - Posted 5 years ago - #129194

      D thank you very much for sharing this. and I have also been testing uploading files to WP and we might be able to find a solution to upload qr images to a separate folder. I will see what I can do to get this incorporated in the coming updates 🙂

    • D. Valck Jul 2,2019 AT 2:57AM - Posted 5 years ago - #129245

      Fantastic Ashan,

      It’s a joy working with your products.

      With regards,

      DV

    • Ashan Perera Jul 2,2019 AT 11:45AM - Posted 5 years ago - #129288

      Thank you DV great to hear that and your comment made my day 🙂 

    • jackvo18 Jul 19,2019 AT 3:51PM - Posted 5 years ago - #131392

      I completely agree with the above, I noticed today over 5,000+ QR Images within the media folder of wordpress – which is okay until you go to attach a image to a post and wait for it to pull through/update.

      Is it possible to move images to a sub-folder so they don’t appear within the media gallery? the only other option would be to find something to exclude anything with the title “qr-code” from the media library?

      This has only recently started to happen so what was the case before?

    • Ashan Perera Jul 22,2019 AT 12:03PM - Posted 5 years ago - #131576

      Thanks for the message as mentioned above we are hoping to work on a solution that will certainly address this issue 🙂 – the QR codes in media was not saved before it was calling on the google API everytime to load QR Code image.

    • Max Rossberg Jun 4,2020 AT 9:50AM - Posted 5 years ago - #179519

      Yes please.. this is really annoying if you work for feature images for the events and have to scroll for minutes before you find amidst the hundreds of QR codes the photo you were looking for.. Thank you

       

    • Artem Jun 4,2020 AT 12:52PM - Posted 5 years ago - #179562

      Hey Max,

      Thank you for your feedback, we do take it in consideration and Ashan will for sure figure something out!

    • Ashan Perera Jun 5,2020 AT 1:53PM - Posted 4 years ago - #179787

      Hello Max thank you for your message we are still in the process of making this go into a separate folder. Please stay tune.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON