Jump to content

Get images from SiteA and display on SiteB


TCombs

Recommended Posts

I have a supplement store that we'll call SiteA .  On the homepage there is a list of featured and best selling products with images.

 

I have a separate blog that we'll call SiteB.

 

I want to get the images and the url they link to (for the product page) from SiteA and display them on SiteB.  So that when a user is browsing SiteB and they click on one of the product images, it takes them to the correct product page.

 

I have a script where I can manually accomplish this.  However, since the content on the homepage of SiteA is always changing, I'd like to automate this process.

 

For example:  If you do a google search for "php", then click on "images" at the top, you will see a list of images relevant to PHP.  If you click on any one of them, it takes you to that images page.    That is what I want to essentially accomplish.

 

Any suggestions?

Link to comment
Share on other sites

Thanks for a quick response.

 

Not sure I know what you mean though.  It sounds like what you're suggesting will display the image on SiteB, then link to where the image is stored in the directory vs. the product page.

 

If that's not what you mean, can you give me an example or elaborate your explanation a little more for me?

Thanks.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.