Giter VIP home page Giter VIP logo

Comments (4)

stephangroen avatar stephangroen commented on June 6, 2024

This is an issue with your front-end code, not with the package. IE6 might not support your style of image inclusion (for example inline images are not supported in IE6). You will need to save the barcode as a JPG and show that on the page in the normal way, with the JPG file as the source.

from php-barcode-generator.

manithink avatar manithink commented on June 6, 2024

Thank you for reply.
Nope.
No luck with jpg file as well.

Here is my code,

<br>
<?
function barcodeGeneratortest6(){
    $generator = new \Picqer\Barcode\BarcodeGeneratorPNG();
    $data = base64_encode($generator->getBarcode("testm567", $generator::TYPE_CODE_128_A, 2, 50));
    echo "<img  style='width:240px;height:35px' src='data:image/png;base64,".$data."'></img><br />";  
}
barcodeGeneratortest6();
?>
<br>
<?
function barcodeGeneratortest7(){
    $generator = new \Picqer\Barcode\BarcodeGeneratorJPG();
    $data = base64_encode($generator->getBarcode("testm567", $generator::TYPE_CODE_128_A, 2, 50));
    echo "<img  style='width:240px;height:35px' src='data:image/jpeg;base64,".$data."'></img><br />";  
}
barcodeGeneratortest7();

?>

from php-barcode-generator.

manithink avatar manithink commented on June 6, 2024

barcodetest

I have attached screenshot of IE 6

from php-barcode-generator.

stephangroen avatar stephangroen commented on June 6, 2024

They way you echo it to the browser is not in any way related to this package. This package is only used for the generation of the barcode, which is does well. Please consider asking at a site like Stackoverflow.

from php-barcode-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.