Page 1 of 1

Generating QR codes

Posted: 21 Oct 2022, 08:52
by TristanJo
Generating QR codes for downloading pictures

Is there a way to download a picture to a mobile device if I take a QR code with a mobile device instead of a download button?

Please give me a hint.^^

Re: Generating QR codes

Posted: 21 Oct 2022, 11:10
by mjau-mjau
This is probably not super easy. There are some PHP QR code libraries, but it would take some effort to implement.
medium.com/ampersand-academy/generate-qr-code-using-php-b4d13a9ed8dd
https://github.com/chillerlan/php-qrcode

There are also some 3rd party API's, which would probably be much easier. You will still need to configure requests for QR images, and display the returned QR code somewhere.
https://www.qrcode-monkey.com/qr-code-api-with-logo/
https://www.qr-code-generator.com/qr-code-api/
https://goqr.me/api/

Re: Generating QR codes

Posted: 21 Oct 2022, 21:29
by TristanJo
mjau-mjau wrote: This is probably not super easy. There are some PHP QR code libraries, but it would take some effort to implement.
medium.com/ampersand-academy/generate-qr-code-using-php-b4d13a9ed8dd
https://github.com/chillerlan/php-qrcode

There are also some 3rd party API's, which would probably be much easier. You will still need to configure requests for QR images, and display the returned QR code somewhere.
https://www.qrcode-monkey.com/qr-code-api-with-logo/
https://www.qr-code-generator.com/qr-code-api/
https://goqr.me/api/
Hi ~ Karl~

What would be the estimate if I requested this work?:handshake:

Re: Generating QR codes

Posted: 22 Oct 2022, 02:05
by mjau-mjau
TristanJo wrote:What would be the estimate if I requested this work?:handshake:
I could perhaps do this for $100.00 if we can use an external QR code API. Where should the QR codes display?

Re: Generating QR codes

Posted: 22 Oct 2022, 11:20
by TristanJo
mjau-mjau wrote:
TristanJo wrote: 이 작업을 요청하면 견적이 얼마가 될까요?:악수:
외부 QR 코드 API를 사용할 수 있다면 $100.00에 이 작업을 수행할 수 있습니다. QR 코드는 어디에 표시되어야 합니까?
Like this~
IMG_91991.jpg
IMG_91991.jpg (929.2 KiB) Viewed 2361 times

Re: Generating QR codes

Posted: 23 Oct 2022, 01:23
by mjau-mjau
TristanJo wrote:Like this~
Is that from inside the X3 popup? I'm pretty sure it can be done, and maybe it's not too difficult if we can use an external QR code service. I can change price to $50.00, as long as it's not more complicated than I think.

Re: Generating QR codes

Posted: 24 Oct 2022, 11:49
by TristanJo
mjau-mjau wrote:
TristanJo wrote:Like this~
Is that from inside the X3 popup? I'm pretty sure it can be done, and maybe it's not too difficult if we can use an external QR code service. I can change price to $50.00, as long as it's not more complicated than I think.
Yes, I'd like to make a request.

Re: Generating QR codes

Posted: 24 Oct 2022, 23:28
by mjau-mjau
TristanJo wrote:Yes, I'd like to make a request.
I'll look into it later today and get back to you ...

Re: Generating QR codes

Posted: 25 Oct 2022, 05:40
by mjau-mjau
Ok, I did some more tests with the external QR API, and it should work fine. The below API request, creates a QR code for an image on our website: https://api.qrserver.com/v1/create-qr-c ... rctica.jpg

Image

The only problem, you can't force the browser to DOWNLOAD the image from the QR code. By default, it will simply open the image in a browser window. If you want to force download of the image, we need to create a download.php script on your server, and use it something like this:
Code
yourserver/download.php?galleries/landscapes/antarctica.jpg
The QR request when then need to point to the download.php script.

Since all this is a fair bit of work, I would have to charge $100.00 for everything.

Re: Generating QR codes

Posted: 26 Oct 2022, 07:41
by TristanJo
mjau-mjau wrote: 외부 QR API로 몇 가지 더 테스트를 해보니 잘 작동할 것입니다. 아래 API 요청은 당사 웹사이트  의 이미지 에 대한 QR 코드를 생성합니다. https://api.qrserver.com/v1/create-qr-c ... to.gallery /content/galleries/landscapes/antarctica.jpg

Image

유일한 문제는 브라우저가 QR 코드에서 이미지를 다운로드하도록 강제할 수 없다는 것입니다. 기본적으로 단순히 브라우저 창에서 이미지를 엽니다. 이미지를 강제로 다운로드하려면 서버에 download.php 스크립트를 생성하고 다음과 같이 사용해야 합니다 . QR 요청은 download.php 스크립트를 가리켜야 할 때 필요합니다. 이 모든 것이 상당한 작업이기 때문에 모든 비용에 대해 $100.00를 청구해야 합니다.
Code
yourserver/download.php?galleries/landscapes/antarctica.jpg

wow~~~~~ good~~

Re: Generating QR codes

Posted: 02 Nov 2022, 00:41
by TristanJo
TristanJo wrote:
mjau-mjau wrote: 외부 QR API로 몇 가지 더 테스트를 해보니 잘 작동할 것입니다. 아래 API 요청은 당사 웹사이트  의 이미지 에 대한 QR 코드를 생성합니다. https://api.qrserver.com/v1/create-qr-c ... to.gallery /content/galleries/landscapes/antarctica.jpg

Image

유일한 문제는 브라우저가 QR 코드에서 이미지를 다운로드하도록 강제할 수 없다는 것입니다. 기본적으로 단순히 브라우저 창에서 이미지를 엽니다. 이미지를 강제로 다운로드하려면 서버에 download.php 스크립트를 생성하고 다음과 같이 사용해야 합니다 . QR 요청은 download.php 스크립트를 가리켜야 할 때 필요합니다. 이 모든 것이 상당한 작업이기 때문에 모든 비용에 대해 $100.00를 청구해야 합니다.
Code
yourserver/download.php?galleries/landscapes/antarctica.jpg

wow~~~~~ good~~
Hi, Karl~

Please proceed with this work.

wenoi[AT]naver.com

Re: Generating QR codes

Posted: 02 Nov 2022, 01:56
by mjau-mjau
TristanJo wrote:Please proceed with this work.
Ok, I will look into it later today.

Re: Generating QR codes

Posted: 02 Nov 2022, 12:38
by mjau-mjau
TristanJo wrote:wenoi[AT]naver.com
See email!