Automattic / Automattic/jetpack

Recipes shortcode: Images don't appear during Print

Open
#31,360 9 comments 0 reactions 0 assignees View on GitHub
[Feature] Shortcodes / Embeds [Plugin] Jetpack [Pri] Low [Status] Stale Bug Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Quick summary

Images from the Recipe shortcode do not appear when printing the standalone recipe.

### Steps to reproduce

1. Insert a Recipes shortcode on any page or post.
2. Add an image.
Screenshot 2023-06-11 at 1 20 12 AM

3. Print from the "Print" button next to the recipe.

Screenshot 2023-06-11 at 1 22 13 AM

### What you expected to happen

Image should show up in the Print preview.
Screenshot 2023-06-11 at 1 26 42 AM

### What actually happened

Image doesn't show up in Print preview.

![image004](https://github.com/Automattic/wp-calypso/assets/39225086/35153d00-a215-4c53-ad57-232728932faa)

### Impact

Some (< 50%)

### Available workarounds?

No but the platform is still usable

### Platform (Simple and/or Atomic)

_No response_

### Logs or notes

User reported it here: 6309794-zd-woothemes
They were on Anemone (Simple site) before when it worked and now on Baskerville 2.

I wasn't able to replicate it consistently. Initially, I was able to see the image on Dorna (simple site) and Disco (AT site) in Chrome (which is where I got the screenshot from). Later, I went back to retest and I don't see the image anymore.

With further testing in Chrome and Safari, the following themes all don't show the image- Poema, Baskerville 2, Iotix, Twenty Twenty Two, Archivo, CTLG, Storia.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Recipe shortcode with an image and using its Print button, testing the themes and browsers mentioned in the issue. Trace the standalone recipe's print rendering and verify that the image appears reliably in the print preview across the reported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
content, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.