I am trying to get ZenCart to recognize product images that are stored in the DB instead of locally in the images folder.

I have an htaccess that redirects /image/# links to an image script that reads from the db and I tried to get the .htaccess to recognize /cart/images/(\d+) links to read from the db while reading all other images from the folder again so that I don't break the cart.

Problem is, nothing breaks but nothing works, it's like nothing is being registered at all and I am stuck in my development.

This is my first time posting on the ZenCart forums, so forgive me if I did not include enough information. I am running ZenCart v1.3.9h

Any ideas would be very appreciated.

Thanks.