I'm currently on the way to running an Opencart v1.5.6 based online shop. I'm using an Amazon EC2 instance to run my server. So far its working & performing fine. Now, I need to move the images to an Amazon S3 bucket. I've searched the forum for ways to do this but I couldn't find any. I've tried to change the file config.php in both the root & inside the admin folders, assuming that my Opencart installation is at the root of http://www.mydomain.com:
Code: Select all
define('DIR_IMAGE', '/var/www/html/opencart/image/');
Code: Select all
define('DIR_IMAGE', 'http://images.mydomain.com/');
I've read somewhere that Opencart can load images from a sub domain, But still it isn't working.If I open up the address http://images.mydomain.com/no_image.jpg on the browser, the image file opens up, so no issues there, I believe.
I've tried the following:
http://forum.opencart.com/viewtopic.php ... 75#p194975
http://forum.opencart.com/viewtopic.php?t=23708
But, None worked & my store loads up with no images. If I try to view the source of my page, all the image src's are blank, like this <img src="" ..../>. Is there any way I can solve this? Any help is appreciated
Thank you