Quantity on image view

Can we achieve this?

If we change image_view.js to this it will show nice qty info text. This is hardcoded. How do we show real qty?

const _html = item._image_url
			? `<div style="position:absolute;bottom:0;right:0;border-top-left-radius:10px;width:;text-align:right;padding:3px;z-index:20;background:rgba(72, 142, 235, 0.9);color:white;font-weight:600;">25 kom</div><img data-name="${encoded_name}" src="${item._image_url}" alt="${title}">`
			: `<div style="position:absolute;bottom:-65px;right:-10;border-top-left-radius:10px;width:;text-align:right;padding:3px;z-index:20;background:rgba(72, 142, 235, 0.9);color:white;font-weight:600;">25 kom</div><span class="placeholder-text">

@MrKovalski ImageView extends ListView so if you can add a JavaScript then you can utilize both after_render event and jQuery to achieve what you want…

This is just something I thought of and I’m not sure whether it is possible to implement or not…

Best regards…