- Posts: 204
- Thank you received: 16
Broken thumbnails in search if image doesn't exist
- smithshop123
-
Topic Author
- Offline
Less
More
3 years 1 month ago #354991
by smithshop123
Broken thumbnails in search if image doesn't exist was created by smithshop123
-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.3
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : Opera 88.0.4412.40
Hi,
we use the suggested method of including an image path in our csv uploads/updates to ensure that the correct images will be displayed when they are uploaded (possibly at a later date). This means that an unprofessional looking image/thumbnails is shown in search results (e.g. eb ajax and smart search) where the image is unavailable.
Is there anything you can do or suggest to prevent this from happening (e.g. force it to show the generic image)? The eb ajax search guys said that they'll look into this for us as well.
Thanks,
Ian and Stu
p.s. Let us know if there's a manual workaround as well that we could do.
-- Joomla version -- : 4.3.3
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : Opera 88.0.4412.40
Hi,
we use the suggested method of including an image path in our csv uploads/updates to ensure that the correct images will be displayed when they are uploaded (possibly at a later date). This means that an unprofessional looking image/thumbnails is shown in search results (e.g. eb ajax and smart search) where the image is unavailable.
Is there anything you can do or suggest to prevent this from happening (e.g. force it to show the generic image)? The eb ajax search guys said that they'll look into this for us as well.
Thanks,
Ian and Stu
p.s. Let us know if there's a manual workaround as well that we could do.
Please Log in or Create an account to join the conversation.
3 years 1 month ago #355001
by nicolas
Replied by nicolas on topic Broken thumbnails in search if image doesn't exist
Hi,
In HikaShop, we do have some code which checks that the image is available, and if not, it will use the default image configured in the HikaShop configuration.
For eb ajax, I suppose they could add a similar check on their end.
For smart search, it would require modifying one or two views of com_finder but I'm not sure which ones. It would require a developer to work on this. The research to find what to do where is probably a lot longer than actually writing the code.
In HikaShop, we do have some code which checks that the image is available, and if not, it will use the default image configured in the HikaShop configuration.
For eb ajax, I suppose they could add a similar check on their end.
For smart search, it would require modifying one or two views of com_finder but I'm not sure which ones. It would require a developer to work on this. The research to find what to do where is probably a lot longer than actually writing the code.
Please Log in or Create an account to join the conversation.
- smithshop123
-
Topic Author
- Offline
Less
More
- Posts: 204
- Thank you received: 16
3 years 1 month ago #355033
by smithshop123
Replied by smithshop123 on topic Broken thumbnails in search if image doesn't exist
Thanks for the info.
If there were a way to get a csv list of products without images, we could do an import to change them to point to a single generic image. Any help with this interim approach would be appreciated.
Ian & Stu
If there were a way to get a csv list of products without images, we could do an import to change them to point to a single generic image. Any help with this interim approach would be appreciated.
Ian & Stu
Please Log in or Create an account to join the conversation.
3 years 1 month ago #355037
by nicolas
Replied by nicolas on topic Broken thumbnails in search if image doesn't exist
Hi,
The export button of the products listing will provide a CSV with a column "images", however, this is the data in the database, and doesn't take into account whether the image is actually there or not.
I'm afraid coding an export to do this would require more time and cost more than directly modifying the smart search view override.
The export button of the products listing will provide a CSV with a column "images", however, this is the data in the database, and doesn't take into account whether the image is actually there or not.
I'm afraid coding an export to do this would require more time and cost more than directly modifying the smart search view override.
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds