Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

jail + ce image #1

Closed
Closed
@kaspar-allenbach

Description

@kaspar-allenbach

Hi. I'm triyng out this jail thing. Its great so far.

One question tough:

I wrap a ce image tag inside jail.
This works perfectly. But I have one issue with the css class:

{exp:easy_jail:prep}
    {exp:ce_img:single src="{produkte_icon}" class="img-responsive" save_type="png"}
{/exp:easy_jail:prep}

This results in:

<img class="jail" src="/images/made/images/uploads/content_images/icon-dataset_270_270.png" style="display: inline;">
<noscript>
  <img src="/images/made/images/uploads/content_images/icon-dataset_270_270.png" class="img-responsive" width="270" height="270" alt=""/>
</noscript>

Is it possible to append the class "img-responsive" class on the img tag outside noscript and not just inside the noscript tag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions