Adding style attributes to “asset_url | img_tag”

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

Here’s my code:
{{ ap_html_img | asset_url | img_tag: settings[ap_html_title], “img-responsive”}}

I want to add these style attributes to the image: min-height: “300px” object-fit: “cover”.

What’s the proper syntax for this? I can’t seem to target the image HTML.

Any suggestions would be great!

‫أضف إجابة

تصفح
تصفح

مجهول يجيب