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

Resizer not displaying any images at all #109

Open
zu3st3r opened this issue Sep 24, 2018 · 3 comments
Open

Resizer not displaying any images at all #109

zu3st3r opened this issue Sep 24, 2018 · 3 comments

Comments

@zu3st3r
Copy link

zu3st3r commented Sep 24, 2018

Hi there guys,

The resizer function does not seem to display the image, if I simply use the $img_url everything works fine so the URL call is in order, only when I try and use the resizer I get no display of images.

$img_url = $lp_menu['mImage'];

$img_rz = aq_resize( $img_url, 65, 65, true, true, true);

<img src="<?php echo $img_rz; ?>">

Am I missing something here?

Running on SSL https
Have tried the fix here: #86 but not working for me, still no images displaying.

@ShpendBerisha
Copy link

$img_url = $lp_menu['mImage'];
$img_rz = aq_resize( $img_url, 65, 65, true );

The image must be larger than the value given in code, also aq resizer doesn't resize external images but only images uploaded in wordpress media library.

The output of $lp_menu['mImage']; gives any result?

@zu3st3r
Copy link
Author

zu3st3r commented Sep 24, 2018

$img_url = $lp_menu['mImage'];
$img_rz = aq_resize( $img_url, 65, 65, true );

The image must be larger than the value given in code, also aq resizer doesn't resize external images but only images uploaded in wordpress media library.

The output of $lp_menu['mImage']; gives any result?

Currently testing this with 800x800 images and it points to the wordpress media
If I use <img src="<?php echo $img_url; ?>"> I do see my images yes.

@zu3st3r
Copy link
Author

zu3st3r commented Sep 24, 2018

Just an update, I found the problem.

We use the wp hide function to well hide most of the files and locations.

The change on the content directory caused aq_resize to think it's not a local directory, changed this back to the default and everything is working fine now 🤣

Now we just need to update the image location of our other 500+ images across the site since they can't be "located" 💩

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

2 participants