-
Notifications
You must be signed in to change notification settings - Fork 31
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
FR: Add ability to add custom picture to labels #32
Comments
Hi @steele-ntwrk ! Do you mean logo inside the QR code, or put logo next to qr code image instead of text? |
Hi @k01ek, Apologies I should be more specific, but a possibly an image on the right-hand side of text or to replace text. I think maybe a Boolean value to add an image, the image path could be defined via ENV variable. I am sort of new to programming and have been thinking about adding to this project as my first. Cheers, |
@k01ek if you provide an option to update the logo inside the QR code that will be awesome. |
I found a manual how to insert logos into an QRcode at https://www.geeksforgeeks.org/how-to-generate-qr-codes-with-a-custom-logo-using-python/ and managed to transfer the necessary bits to this plugin: utilities.py:
template_content.py:
In the netbox It's still a rudimentary quick hack but it seems to be working. Please review and consider merging it into the code. |
Hi,
This feature request is to add the ability to add a custom picture to labels such as organization logos. The image could be kept in a local folder or be referenced using a file path.
Thoughts?
Cheers,
Steele
The text was updated successfully, but these errors were encountered: