AndieR Posted March 3, 2010 Share Posted March 3, 2010 Hello,I was wondering if there is any mod or way to change prestashop so that the product images stored in the database are absolute URLs such as http://www.domain.com/img/photo.jpg rather than storing them on the server? I mean I have a store that needs to pull the photo from another website (yes the other website allows it) and I was wondering about how to do this...Thank you,Andrea Link to comment Share on other sites More sharing options...
AndieR Posted March 4, 2010 Author Share Posted March 4, 2010 Bump! No techie from presta can help? Pleeeease!Thank you,Andie Link to comment Share on other sites More sharing options...
rocky Posted March 4, 2010 Share Posted March 4, 2010 This would be very difficult to do. Prestashop doesn't store image URLs in the database. It just uses the product ID and image ID and then checks whether the file exists. It would require modifications to the database and much of Prestashop's code to do what you want. Link to comment Share on other sites More sharing options...
rylersbud Posted March 4, 2010 Share Posted March 4, 2010 This can be done but like he said it takes a lot of code. if you are importing the information you can use the url to import the image into prestashop and it will be uploaded to your database and into images folder. this does require the site to allow it. I am doing this when I import the produucts for my sitewww.beta.shoptoolsusa.com will be live this weekrylersbud Link to comment Share on other sites More sharing options...
AndieR Posted March 4, 2010 Author Share Posted March 4, 2010 Thank you for the input! Any pointers on what files would need to be changed? I don't need the backend to be changed because I don't use that to add products just the frontend listing pages where it pulls the products images. Thank you again!Andrea Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now