Unfortunately, the image address has been changed in J!4...
I found!
Can it be done more efficiently?
I found!
Code:
$img_one = HTMLHelper::cleanImageURL($img_one);echo '<img src="'. $img_one->url .'" alt="" width="'. $img_one->attributes['width'] .'" height="'. $img_one->attributes['height'] .'" loading="lazy">';$img_two = HTMLHelper::cleanImageURL($img_two);echo '<img src="'. $img_two->url .'" alt="" width="'. $img_two->attributes['width'] .'" height="'. $img_two->attributes['height'] .'" loading="lazy">';$img_three = HTMLHelper::cleanImageURL($img_three);echo '<img src="'. $img_three->url .'" alt="" width="'. $img_three->attributes['width'] .'" height="'. $img_three->attributes['height'] .'" loading="lazy">';
Can it be done more efficiently?
Statistics: Posted by b_wp_b — Wed Feb 28, 2024 11:14 am