Resolution Warning
Last updated
Last updated
Name of the asset image to use instead of the standard resolution warning in the editor and in previews.
px-image-upload
To enable it, you need to:
Ensure your product/px-option
and product/design-now
snippets are up to date. The sites shopper24.pixfizz.com and theprintrefinery.pixfizz.com already contain the required updates.
Use exact image placeholder dimensions (with “in” or “mm” units!) in the “crop aspect ratio” field of your image upload variant. The presence of units indicates that the crop aspect ratio contains exact placeholder dimensions and not just an abstract aspect ratio. See image upload options here for an example:
You can change the text by setting the resolution-warning-text="..."
attribute on <px-image-upload>
.
Demo available here: