deliciousbrains / wp-image-processing-queue

Resize WordPress images in the background
203 stars 18 forks source link

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

Open alexanderkryska opened 4 years ago

alexanderkryska commented 4 years ago

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