Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexanderkryska opened this issue Jan 6, 2020 · 0 comments

Comments

@alexanderkryska
Copy link

alexanderkryska commented Jan 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant