Version 3.0.0
October 7, 2026
The package has been renamed from
by/first-imagetouxi360/first-image. See the README for upgrade instructions.
Added
- Craft CMS 5 compatibility.
getFirstImagenow accepts an image transform - a named transform handle or a transform definition - the same wayasset.getUrl()does.- CKEditor field support, alongside Redactor.
data-srcis used when an image has nosrc.
Changed
- The package is now
uxi360/first-imageand the PHP namespace isuxi360\firstimage. The plugin handle is stillfirst-image. - The plugin now requires Craft CMS 5.0.0 and PHP 8.2 or later.
- Replaced the bundled PHP Simple HTML DOM Parser with the plugin's own lightweight image finder.
- Results are cached for the duration of the request.
- The plugin is now maintained by UXI360 InfoTech: the developer name, links (https://uxi360.com) and the copyright notice in
LICENSE.mdhave been updated.
Removed
- Removed the bundled PHP Simple HTML DOM Parser library, the unused translation file and the duplicate
LICENSEfile.
Fixed
- Fixed an error that occurred when the field was empty or its content was larger than 600 KB.
Version 1.1.0
June 2, 2022
Changed
- Updated PHP Simple HTML DOM Parser to v1.9.1.
Version 1.0.0
April 24, 2018
Added
- Initial release