-
Notifications
You must be signed in to change notification settings - Fork 205
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
External URL #93
Comments
It should work with external URL image. Do you have a PHPFiddle? |
Nope but it is a simple code: The first var $ext_url_output, the output is empty. I make this test in my local test, but the problem is present also in a live server. $external_domain_img_url = 'http://demo-themes.alessioatzeni.com/valkyrie/wp-content/uploads/2016/09/ui_01.jpg';
$local_domain_img_url = 'http://localhost/test_demo/wp-content/uploads/2016/12/ui_01.jpg';
$ext_url_output = aq_resize( $external_domain_img_url, 500, 500, true, false, true );
$local_url_output = aq_resize( $local_domain_img_url, 500, 500, true, false, true );
echo '<img src="' . esc_url( $ext_url_output[0] ) . '" width="' . esc_attr( $ext_url_output[1] ) . '" height="' . esc_attr( $ext_url_output[2] ) . '" />';
echo '<img src="' . esc_url( $local_url_output[0] ) . '" width="' . esc_attr( $local_url_output[1] ) . '" height="' . esc_attr( $local_url_output[2] ) . '" />'; |
External images are not supported by Aqua Resizer for several reasons. |
I created the same issue some minutes ago but now I just saw this topic here. If you can add support for that would be great!Thankyou. |
Hi, but Aqua Resizer don't work with an external URL image?
The text was updated successfully, but these errors were encountered: