You are here:  » Cache local images


Cache local images

Submitted by Retro135 on Mon, 2017-02-13 07:13 in

Hi David,
I have a small feed that I store their images on my server. I enabled imageCache for search results, it cached the images but they're all 404. Is it possible to cache local images?

Submitted by support on Mon, 2017-02-13 10:26

Hi,

That should work but you would need to make sure that the images are in your database with a fully qualified URL e.g. if you currently have "/images/Product1.jpg", either modify the feed to contain "http://www.example.com/images/Product1.jpg", or alternatively of course you could add a Text Before filter to the Image URL field for this feed to prefix "http://www.example.com" (without the quotes...)

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by Retro135 on Mon, 2017-02-13 13:20

Worked a charm! TY