Skip to content
StylQR home
QR Code Tutorials

How to Create a QR Code for Images

Make a QR code that opens a photo, artwork or gallery when scanned. Where to host the image, how to get a public link, and how to keep it quick on mobile.

By StylQR Editorial TeamPublished 5 min read

StylQR blog cover: How to Create a QR Code for Images, illustrated with a photo with a camera, a cloud and a link on a charcoal background
Table of contents

A QR code for an image holds a link to a picture that's already online. When someone scans it, the photo opens on their phone. To make one, upload the image somewhere public, copy a link anyone can open, and paste it into an image QR generator. The picture itself can't be stored in the code; a QR code holds under 3 KB, much less than a typical photo.

This guide covers where to host the image, how to get a link that works for strangers, how to share a whole set of photos, and the fixes for links that only work on your own phone.

Image QR code or a QR code with an image?

The two get mixed up. This guide is about a code that opens a picture when scanned.

A code that looks like a picture is a design choice. StylQR can place a logo in the middle of any code, or put a background image behind it, but the code still opens whatever content you gave it. QR code with logo covers that side.

Step 1: put the image online

StylQR doesn't host files, so start by uploading the image:

OptionLink to copyBest for
Your websiteThe image's own address, e.g. https://example.com/images/blue-vase.jpgProduct photos, artwork, posters
Google DriveThe share link after setting "Anyone with the link"Quick one-off sharing
Google PhotosA shared album or photo linkEvent and family photos
DropboxThe file's share linkTeams already on Dropbox

A direct image link from your own site opens fastest and shows only the picture. Drive and Dropbox open the image inside their viewer, which adds a toolbar but works fine.

Making a Drive image public

Following Google's sharing steps: select the image, click Share, open the menu under General access, choose Anyone with the link, set the role to Viewer and click Copy link. Google lets you view photos directly in Drive, so scanners see the image without downloading anything.

Warning: Test with a phone that isn't signed into your accounts, on mobile data. Links copied from your own library often only work for you, and you won't notice until someone else scans the code.

Step 2: prepare the image for phones

Camera files are often several megabytes and thousands of pixels wide. On mobile data that's a slow wait for a picture that's shown on a phone screen.

  • Resize to about 1,500–2,000 px on the long side. That's sharp on any phone.
  • Save as JPG or WEBP for photos, PNG for graphics with text or flat colors.
  • Convert iPhone HEIC photos to JPG before uploading to your own site, since not every browser displays HEIC.
  • Remove location data if the photo was taken at home. Many phones embed GPS coordinates in photo files.

Step 3: make the QR code

  1. Open the image QR code generator.
  2. In Image URL, paste the link. The field already shows https://, and pasting the full link works too.
  3. Check the preview, then add a frame that tells people what they'll see: "Scan to see the finished piece", "Scan for photos".
  4. Add a logo if you like. Error correction switches to High when you do.
  5. Pick colors that suit the print, keeping the modules dark on a light background.
  6. Click Test scan, then scan the preview on your phone and wait for the image to load fully.
  7. Download SVG or the print-ready PDF for labels, cards and posters, or PNG for screens.

If the image sits on Google Drive or Dropbox, the Google Drive and Dropbox types do the same job with fields labeled for those links.

Sharing several photos with one code

A QR code holds one link, and StylQR doesn't build gallery or multi-link pages. For a set of images, link to a page that already holds them:

  • A shared album in Google Photos or a similar service.
  • A shared folder in Google Drive or Dropbox, set so anyone with the link can view.
  • A gallery page on your own website, which you can update any time.

A gallery page on your site is the most flexible. The code stays the same while you add or swap pictures. QR code for multiple links explains the same idea for links.

Ideas that work well

  • Product labels and tags: a photo of the item styled or in use.
  • Art and craft fairs: a larger view of the piece or a portfolio.
  • Real estate signs: a photo gallery of the property. See QR codes for real estate.
  • Events and weddings: a shared album for guests after the day.
  • Instruction sheets: a diagram or wiring photo that's too detailed for the print.
  • Before-and-after work: salons, builders and cleaners showing results.

Fixing problems

  • "Request access" or a login page. The image isn't public. Change the sharing to anyone with the link.
  • It loads slowly or never appears. The file is too large. Resize and compress it, then replace it at the same address.
  • It downloads instead of showing. Some links force a download. Use a Drive viewer link, or a direct link from your website.
  • It shows the wrong photo. You replaced the file under a new name. StylQR codes are static, so the code keeps opening the original address. Replace files under the same name to keep the code current.
  • The code won't scan. Long cloud links make denser patterns, so print at least 2.5 cm (1 inch) wide with good contrast. Why a QR code isn't scanning covers the rest.

Your next step

Upload a phone-sized version of your picture, make the link public, and paste it into the image QR code generator. For brochures and other documents, the PDF QR code guide uses the same approach.

Frequently asked questions

Can I scan a QR code from a photo or screenshot?

Yes. Upload the picture to a scanner that accepts images, such as StylQR's QR code scanner, which reads screenshots and photos and can find several codes in one picture.

Can people download the image after scanning?

Usually yes. On most phones they can touch and hold the image to save it. If you don't want copies made, don't share it this way.

Will the image show in full resolution?

It shows at whatever size you uploaded, though some sharing services display a smaller preview first. Upload a version sized for phones rather than the original camera file.

Can I use a QR code to share a video instead?

Yes. Upload the video to a service like YouTube or Google Drive and put that link in a QR code. The same public-link rules apply.

Share this guide

StylQR blog cover: How to Add a QR Code to Your Business Card, illustrated with a business card with an address book, a briefcase and a QR code on a sea green background

QR Code Tutorials

How to Add a QR Code to Your Business Card

Add a QR code to your business card that saves your contact in one scan or opens your profile. What to encode, size, placement, labels and print mistakes.

· 6 min read

StylQR blog cover: How to Create a QR Code for a Google Form, illustrated with a form with a checklist, a group of people and a Google icon on a indigo background

QR Code Tutorials

How to Create a QR Code for a Google Form

Turn a Google Form into a QR code people can scan to fill it in: get the right responder link, shorten it, generate the code free and avoid sign-in snags.

· 5 min read