-
-
Notifications
You must be signed in to change notification settings - Fork 319
Logo NOT added! || @svgWithLogo.php & @svgWithLogoAndCustomShapes.php #288
-
Hey guys, i am testing the lib and i got it running within a website where qr-interactive works and the settings on the site and the other stuff.
Now i want to "brand" my QR Codes.
But i am getting problems with running the QR generator with adding logos.
Both examples mentioned in the title are running and generate QR Codes but without a logo added in the middle.
I didnt change much from the original examples.
Testet with "original" github.svg and with my own .svg but it is not working.
Where is the failure, what am I doing wrong?
I want to add the QR Logo within the site with the qr-interactive script, so that i can click "branded" or not like the other settings on the html page.
Beta Was this translation helpful? Give feedback.
All reactions
Can you please describe what exactly is the issue and maybe post an code sample of what you're trying to achieve? btw these are the examples for v5.x https://github.com/chillerlan/php-qrcode/tree/v5.0.x/examples
Replies: 1 comment 9 replies
-
Hi, are you using the examples that match your installed library version? See https://github.com/chillerlan/php-qrcode?tab=readme-ov-file#documentation
Beta Was this translation helpful? Give feedback.
All reactions
-
That's the whole point - the examples are not necessarily interchangeable between major versions.
Beta Was this translation helpful? Give feedback.
All reactions
-
Ahhh okey xD
Do you know then if the both examples mentioned above are able to run with v5.0.2. ?
I installed it again and I am testing it in a few minutes.
If they are not running with v5.0.2 what do i have to change?
Thanks for answering so fast.
Beta Was this translation helpful? Give feedback.
All reactions
-
Ok, I dont know what to do :/
Its working but without the logo again.
I am not that good to understand, what to change, that the logo will be inserted in the generated QR.
That would be so cool, if that would work.
The library/project is so cool at all. But that would be extra nice, if i could brand my QRs.
I am very thankful if you would help me getting it to work. And if I see my failure or what i have to change then i could evtl. learn what i have to do in the future.
Beta Was this translation helpful? Give feedback.
All reactions
-
Can you please describe what exactly is the issue and maybe post an code sample of what you're trying to achieve? btw these are the examples for v5.x https://github.com/chillerlan/php-qrcode/tree/v5.0.x/examples
Beta Was this translation helpful? Give feedback.
All reactions
-
😄 1
-
JEAH NICE :D
Thanks for the link.
That worked directly.
I only wanted to get a QR code with a logo inside.
The version u send me, worked with the v5.0.2.
Sorry, i didnt know, that there are different version trees.
I am not so familiar with GitHub and finding that.
Sorry for taking your time, for that easy solution!
BIG THANKS to you!!
Beta Was this translation helpful? Give feedback.
All reactions
-
The only thing, is that now I have to get my added logo not so big. Its out of the box (like too big) for the box. How does it size automatic? With Github.svg it worked. With mine not. I can only see the top left corner of the svg
Beta Was this translation helpful? Give feedback.
All reactions
-
Here's a bit about how to properly scale SVG logos: #268 (reply in thread)
Beta Was this translation helpful? Give feedback.
All reactions
-
Wait no here's the full thread including explanations #286
Beta Was this translation helpful? Give feedback.