Skip to content

ipq_get_theme_image_url: × (multiplicator sign) instead of letter x in URL #20

@alexanderkryska

Description

@alexanderkryska

Hey,

I'm using Wordpress 5.3.2 and the plugin version 1.1.1.
I can't get ipq_get_theme_image_url to work.
The pictures in the upload folder have the normal "x" between width and height, "x" -> test-320x420.jpg
But the output URL has the multiplicator sign (U+00D7), × -> test-320×420.jpg
So the URL of the image doesn't work, because the picture doesn't exists (with muliplicator sign).

This is my test code:

                $imageID = get_sub_field( 'hintergrundbild' );
                echo ipq_get_theme_image_url( $imageID, array( 320, 420, true ) );
                echo ipq_get_theme_image ( $imageID, array(
                        array( 320, 420, true ),
                    ),
                    array(
                        'class' => '',
                    )
                );

ipq_get_theme_image works fine.

Does anybody know a solution?

Best regards,
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions