Field Type – QR Code Image Base64 Dynamic
WordPress Plugin Staff List – Field Type – QR Code Image Base64 Dynamic
Displays QR Code image.
Slow performance. Can be added only to single pages.
QR Code has to be processed on every page load.
Requirements
- Staff List vCard plugin extension has to be installed and activated.
- QR Code template has to be created.
- Staff list fields have to be mapped to vCard properties.
QR Code Code Image Base64 Dynamic
Generated on the fly in Base64 format.
Created from the most recent data and Staff List QR Code template settings.
Advantages
- Base64 format is used as img src and rendered on front end as PNG image.
- There is no need to create and save physical image files.
- The current data is used to render the image on front end.
- No need to update existing staff records after the QR Code field is added.
- No need to update existing records after changes to QR Code template.
Disadvantages
- Resource intensive. Creating QR code may be quite slow on busy or underpowered servers.
- Can delay page rendering.
- Not recommended on staff pages. Single pages only.
Staff member field: QR Code Image Base64 Dynamic
QR Code Image Base64 Dynamic
- Base64 image string is generated on record update.
- The string is created from Staff List vCard settings and staff member data.
- Content of the field is not saved but regenerated on every update.
- Changes to the QR Code template won’t require resaving the staff member records.
QR Code Image
- QR code image is generated on record update.
- The image is resized to fit the container. It can’t be scanned to verify the content.
- Images displayed on the front end are not resized and can scanned with mobile devices.
Static Caption
- Optional.
- Read only on staff member records.
- Data entry: Staff Template > Input Fields > QR Code field.
- The same value will be used for all staff members.
Dynamic Caption
- Optional.
- Data entry: Staff member record.
- Dynamic caption will overwrite the static one.
Static Alt
- Optional.
- Read only on staff member records.
- Data entry: Staff Template > Input Fields > QR Code field.
- The same value for all staff members.
Dynamic Alt
- Optional.
- Data entry: Staff member record.
- Dynamic Alt will overwrite the static one.
Errors
Error: QR Code template not selected.
Input Fields > QR Code Image Base64 Static > QR Code Template
Error: vCard plugin not installed!
Staff List vCard plugin extension has to be installed and activated.
p32738