Skip to content
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

Show barcode image on product page #1728

Open
CharlesNepote opened this issue Mar 28, 2019 · 2 comments · May be fixed by #10242
Open

Show barcode image on product page #1728

CharlesNepote opened this issue Mar 28, 2019 · 2 comments · May be fixed by #10242
Labels
barcodes Fixable via Userscript This issue can be fixed using the Power User Script. frontend good first issue Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help. P3

Comments

@CharlesNepote
Copy link
Member

Barcode image should be displayed on the product page, not only barcode numbers.

Rationale:

  • it becomes easier to test our mobile apps with products we don't have physically
  • it becomes easier to compare Open Food Facts data with other mobile apps
  • it makes data more trustable: I can verify the barcode of my product is the same as displayed on the web page
  • some people, for whatever reason, could love to print the product page and scan it later
  • it makes the web page more graphical
  • last, but not least, it becomes easier to provide services for producers which do not have barcodes: we could build special pages for them

Here is an interesting JS library that can produce SVG based on the numbers: https://lindell.me/JsBarcode/

@CharlesNepote CharlesNepote added barcodes frontend P3 good first issue Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help. labels Mar 28, 2019
@sandy9999
Copy link
Contributor

Where can I find the source/script that renders the individual product page?

@VaiTon VaiTon self-assigned this Jun 20, 2019
@teolemon teolemon added the Fixable via Userscript This issue can be fixed using the Power User Script. label Aug 19, 2019
@flyer1996
Copy link

it's so difficult!

@VaiTon VaiTon removed their assignment Mar 9, 2020
@jolesh jolesh linked a pull request Jan 15, 2021 that will close this issue
@bazylevnik0 bazylevnik0 linked a pull request May 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
barcodes Fixable via Userscript This issue can be fixed using the Power User Script. frontend good first issue Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help. P3
Projects
Status: To discuss and validate
5 participants