-
Notifications
You must be signed in to change notification settings - Fork 28
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
Autocomplete loads base (high-res) images, not thumbnails #18
Comments
Did you solve it? |
@diego3g Nope :-( I still have it in my todo-list somewhere. I'll update the issue when I solve it, if I solve it |
I'll try too. If i solve it i tell you. |
Hey @hack47, i've found a solution, i don't know if it's the best or the fastest but it works! In your /app/code/community/Bubble/Autocomplete/controllers/ProductController.php change jsonAction to:
At the resize function, set the size of your thumbnail in the search box, i'm currently using 90x90px. Clear the cache and your localStorage and refresh the page. Hope it helps you. |
@diego3g Thanks a lot for sharing your code. I tried it and still can't solve the bug, it's crazy. |
Hey,
it's probably a problem coming from my custom theme or something because demo.bubbleshop.net doesn't show this behavior, but I can't get the extension to load thumbnails instead of 1MB+ base images.
I looked around in the source code but can't find any
$this->helper('catalog/image')->init($_product, 'image')
I could customise.Any idea ? For now it makes my autocomplete kind of broken because of the multiple megabytes downloaded when suggestions are shown.
Thanks a lot,
Camille
PS : great extension BTW
The text was updated successfully, but these errors were encountered: