steve*** Posted November 27, 2003 Share Posted November 27, 2003 I run 2 seperate sites. I have one with a 10gb transfer limit per month, and another (with my osc store on it) with a 1gb limit. I want to be able to store my images on the bigger server, but be able to access them from my store. Is there any mod or code I should be using so I don;t have to upload the images to the smaller server? Link to comment Share on other sites More sharing options...
crash3903 Posted November 28, 2003 Share Posted November 28, 2003 not sure if this will work but can you not put the url in the image fields?? like this www.yourstoredomain.co.uk/images/yourimagename.jpg?? Regards Mark Regards Mark A Reynolds Link to comment Share on other sites More sharing options...
steve*** Posted November 28, 2003 Author Share Posted November 28, 2003 that doesn't do it. it always looks @ my hard drive for the image. Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2003 Share Posted November 28, 2003 not sure if this will work but can you not put the url in the image fields?? like this www.yourstoredomain.co.uk/images/yourimagename.jpg?? Regards Mark I would have to agree with this you had part of it right. Try using http://www.bigserver.com/images/horse.jpg you have to create a link to the big server folder where you have stored the image. It should not be looking for it on your hard-drive what ever the direct path is to the folder you have the images in on the big server, you must use that path. Link to comment Share on other sites More sharing options...
steve*** Posted November 28, 2003 Author Share Posted November 28, 2003 If i click the browse button (o'm setting up an individual product here) it always looks at my hard drive and refuses to look @ the internet for products if I ignore this and type the URL directly into the box without clicking browse I get this error Warning: move_uploaded_file(/home/steve/public_html/store/images/http://www.bigserver.co.uk/product_images/large/1010-1010.jpg): failed to open stream: No such file or directory in /home/steve/public_html/store/admin/includes/classes/upload.php on line 94 Warning: move_uploaded_file(): Unable to move '/tmp/phpVbqxKW' to '/home/steve/public_html/store/images/http://www.bigserver.co.uk/product_images/large/1010-1010.jpg' in /home/steve/public_html/store/admin/includes/classes/upload.php on line 94 Link to comment Share on other sites More sharing options...
jpf Posted November 28, 2003 Share Posted November 28, 2003 Try change your CONFIGURE.PHP file - remove or change the following: define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); To something like: define('DIR_WS_IMAGES', 'http://your_big_server/catalog/images/'); define('DIR_WS_ICONS', 'images/icons/'); Then when you add items - Pics can be done as normal. Note: this type of setup MAY cause problems in a secure server setup. Good luck Link to comment Share on other sites More sharing options...
steve*** Posted November 29, 2003 Author Share Posted November 29, 2003 How would these changes effect theimages already uploaded to my site? I mean, i use three main suppliers for my products, one particular supplier has given me lots of images that I have put ion the bigger server, but the other 2 suppliers images are n the same server as OSC. Link to comment Share on other sites More sharing options...
Guest Posted December 20, 2003 Share Posted December 20, 2003 I tried that but it messes everything up. I'm with you here steve, been trying for weeks with no luck whatsoever. Link to comment Share on other sites More sharing options...
steve*** Posted December 20, 2003 Author Share Posted December 20, 2003 The only thought i've got at the moment is by putting a link in the description to show the image there instead of the picture box. Unless someone can think of something else? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.