Results 1 to 9 of 9
  1. #1
    Newbie
    Join Date
    January 6th, 2008
    Posts
    3
    Dowload Images from Feeds
    I have some datafeeds that I have downloaded for a few websites that I have used in my store (the feeds have a url path to thumbnail and image pointing to merchants website). Normally having the image external would work but not with OSCommerce (I tried adding the link instead of using local path on server but no luck).

    Is there a way or a tool that can download images from merchant? (something that can download all images in one directory like (http://www.merchantsite.com/images

  2. #2
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    You can modify Wordpress to use external images. You just need to find the code that displays the images and make some changes. What I do is if the image has "http://" then I link to the full URL, otherwise I use the default OSCommerce code.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  3. #3
    Newbie
    Join Date
    January 6th, 2008
    Posts
    3
    Quote Originally Posted by Snib
    You can modify Wordpress to use external images. You just need to find the code that displays the images and make some changes. What I do is if the image has "http://" then I link to the full URL, otherwise I use the default OSCommerce code.

    - Scott
    Sorry but I don't really understand what you mean. I am currently using OSCommerce not wordpress.

    For example I downloaded the data to a spreadsheet and was able to write a formula to convert that data to be used with OSCommerce Easy Populate. Everything is fine except the image path. I checked my logs and I do see that OSCommerce is adding /images to the beginning of path (/images/http://www.websiteaddress.com/images/123456.jpg)

  4. #4
    ABW Ambassador CCBerries's Avatar
    Join Date
    September 5th, 2008
    Location
    USA
    Posts
    707
    redirect the local file requests at the OS level rather than in OScommerse

    You might be able to just 'pretend' the files are on your local system and then redirect access to the directory they should be in on the local host to the remote directory. Basicly tell os commerse that they are in directory xxx locally and then outside of oscomerse have them redirected to the images at yyy

    Depending on how your site is set up you may be able to do it through your control panel with wildcard entries for the directories (one directory per external vendor)

    If you have to modify the OS level config .htaccess file yourself
    the stuff you want is at the bottom of this page
    http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

  5. #5
    Newbie
    Join Date
    January 6th, 2008
    Posts
    3
    Quote Originally Posted by CCBerries
    redirect the local file requests at the OS level rather than in OScommerse

    You might be able to just 'pretend' the files are on your local system and then redirect access to the directory they should be in on the local host to the remote directory. Basicly tell os commerse that they are in directory xxx locally and then outside of oscomerse have them redirected to the images at yyy

    Depending on how your site is set up you may be able to do it through your control panel with wildcard entries for the directories (one directory per external vendor)

    If you have to modify the OS level config .htaccess file yourself
    the stuff you want is at the bottom of this page
    http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
    I am not a apache guru and I attempted to decifer the information in the link you gave me. There has to be a way to modify a line in one of the php files (if I can get it to not include the "/images" in front of the url).

  6. #6
    ABW Ambassador CCBerries's Avatar
    Join Date
    September 5th, 2008
    Location
    USA
    Posts
    707
    maybe someone who has used oscommerce for a long time can help you,

    other than that I'd suggest contacting your hosting company on how to do redirects. With Bluehost you can do it in the control panel. (cpanel). redirects would be the fastest way rather than reuploading all the images or hand coding every page.

  7. #7
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    osCommerce is a little more complex than that, it requires a new class created for the image type. It is a mod that you need to pay a programmer to make, there has never been a mod made public to do this.
    Deborah Carney
    TeamLoxly.com BookGoodies.com ABCsPlus.com

  8. #8
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    Also, most merchants do not want you to host their images locally, in case product images change or require changing due to supplier changes, copyright issues or other circumstances. Hotlinking is not just preferred, but required. Check with merchants before locally hosting ANY images.
    Deborah Carney
    TeamLoxly.com BookGoodies.com ABCsPlus.com

  9. #9
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Quote Originally Posted by tlbuckingham
    Sorry but I don't really understand what you mean. I am currently using OSCommerce not wordpress.
    I'm sorry, I don't know why I typed WordPress. I meant OSCommerce.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  10. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Free images? good quality images cheap?
    By breakingtheborders in forum Blogging, Mobile and Social Media
    Replies: 0
    Last Post: November 18th, 2011, 09:47 AM
  2. Images In GAN Feeds
    By John Powell in forum Programming / Datafeeds / Tools
    Replies: 5
    Last Post: March 26th, 2009, 05:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •