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

Wistia negative image dimensions on thumbnail generation #22

@siebird

Description

@siebird

Matt,

Thanks for following up! I just ran into a strange issue where Antenna is parsing negative image dimensions on Wistia's thumbnails. If you alter the image dimensions in the output to positive numbers, the thumbnail is generated.

{exp:antenna url="{video_wistia}" cache_minutes="120"}
    <img src="{video_thumbnail}" class="th-full" alt="{title}">
{/exp:antenna}

Output: https://embed-ssl.wistia.com/deliveries/a1a6985a64252fd4895094fe5f2ed57bdffe0c09.jpg?image_crop_resized=-50x-28

Side note, this renders the embed_code properly too:

{exp:antenna url="{video_wistia}" cache_minutes="120" max_width="750"}
    {embed_code}
{/exp:antenna}

EE 2.9.2, Antenna 1.32

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