FAQ Magento Images are not showing up

Since Algolia is displaying results without going through the backend of magento, at indexing time we need to generate a link for the url.
What magento give you when you are asking for this url is the url of the cached and resized image that you need to display,

On some occasions, users of our official Magento Extension have encountered an issue where the cache for the images would not get automatically generated.

First thing you need to check is that you have a recent enough version of the extension. If you are using a version lower than 1.5.x, the first thing you need to do is update to the latest version.

There is two main issues that you can have with images are the following:

If images are there and then go away:

Why

it usually means that the image cache has been dropped, this usually something triggered manually in System > Cache management or via cli.
Clearing the image cache will cause indexed link to be invalid because it doesn’t exist anymore.
When triggering a full reindex the image cache will be created again.

How to fix it

Avoid clearing the image cache, and in case you do, launch a full reindex just after

If images are not generating from the beginning:

Why

In almost all cases it’s due to memory issue or directory permissions:

How to fix it

Enable logging in System > Configuration > Algolia Search > Credentials and setup

After enabling the option, the extension will generate an ‘ algolia.log’ file in the /path/to/magento/var/log/ folder.
After a full reindexing if you have some thumbnails issue you should see the issue/error in this file.

If that still doesn’t work, you can also try:

  • Checking permissions of the /media directory (it should be equal to 770 / 660)
  • Checking magento and apache/nginx logs, to check if there is an error message.