Create Image or Media Tokens with Joomla Media or External URLs
QCDR’s Pro-tier Image or media Token builder creates reusable image markup from either Joomla Media or an external image URL. It also provides alt text, display dimensions, loading behavior, CSS class, and an optional image link.
Use the structured builder instead of hand-writing an <img> tag when the reusable object is specifically an image.
Choose the Image Source
- Create or edit a Token and select Image or media.
- Under Image source, choose Select from Joomla Media or Enter an external URL.
- For Joomla Media, pick an existing image or upload it through Joomla’s Media Manager.
- For an external source, enter an HTTP/HTTPS URL, protocol-relative URL, or a QCDR Token reference intended to resolve to the image source.
QCDR rejects obvious executable URL schemes such as javascript:, vbscript:, and data:.
Set Alternative Text
Use Alternative text to describe meaningful images. Leave it blank only when the image is genuinely decorative. The saved value is escaped when QCDR builds the final alt attribute.
Control Display Size
Display width and Display height accept pixel values up to 10,000. Leave both blank for the natural size. If you set only one dimension, QCDR emits styling that leaves the other dimension automatic so normal image proportions are preserved. If both are set, both dimensions are applied.
Advanced Image Options
- Loading behavior: Lazy load or Load immediately.
- CSS class: optional class names; the editor strips unsupported characters.
- Link image to: optional safe destination such as an HTTPS URL or site-relative path.
If the optional link begins with an unsafe executable scheme, QCDR discards it rather than emitting that link.
Test the Final Markup
Save the Token in Draft, place its placeholder in eligible frontend content or select it from a Rule, and inspect the final image on desktop and mobile. Verify the source URL, alt text, dimensions, loading choice, CSS class, and optional click destination before enabling production use.
Community Discussion
Want to compare workflows, share practical tips, or discuss how you use this QCDR feature? Visit the QC Dynamic Replacer Community. For private support, bug reports, account-specific issues, or feature requests, use the QuantaCade support system.