mdbootstrap: open QR Code image by clicking a button

Anulat Postat la acum 4 ani S-au achitat serviciile după ce au fost prestate
Anulat S-au achitat serviciile după ce au fost prestate

Hi,

I am using mdboostrap ([login to view URL]) and phpqrcode for my project. Using this code

<?php

include('phpqrcode/[login to view URL]');

$qrTempDir = '/tmp';

$filePath = $qrTempDir.'/'.uniqid();

QRcode::png('[login to view URL]' . $getID, $filePath, QR_ECLEVEL_H);

$qrImage = file_get_contents($filePath); ?>

<img src="data:image/png;base64,<?php echo base64_encode($qrImage) ?>" />

I am generating a QR Code and display the PNG File (with the QR Code). Now I want (using mdboostrap) to click a button and display the QR Code as PNG in a Lightbox.

MDBootstrap Javascript:

<script>

$(function () {

$("#mdb-lightbox-ui").load("mdb-addons/[login to view URL]");

});

</script>

To call an image (just a sample)

<figure class="col-md-4">

<a href="[login to view URL](117).jpg" data-size="1600x1067">

<img src="[login to view URL](117).jpg" class="img-fluid">

</a>

</figure>

HTML5 PHP MySQL JavaScript Bootstrap

ID Proiect: #24285177

Detalii despre proiect

2 propuneri Proiect la distanță Activ acum 4 ani

2 freelanceri plasează o ofertă medie de 21€ pentru proiect

leonworldwide

Dear Sir / Madam, I am 10 years of rich experience as Mobile Application Developer. In-depth knowledge of various platforms, software systems, and servers. Extensive background in full life cycle of Software Developmen Mai multe

€12 EUR în 1 zi
(8 recenzii)
4.5
napoleaowingert

Hello! Napoleão here, how are you? I will make the mdbootstrap open the QR Code image by clicking at a button on the page. Can you tell me more details about the issues you are facing to accomplish that? I can help y Mai multe

€30 EUR în 1 zi
(12 recenzii)
3.8