Jump to content

Display image from other server


needy

Recommended Posts

hello,

I am a php coder. I need help from you to learn more.

 

I am making a website for which i need lots images. but i cannot affor for large space in server. so i am thinking about using images from other sites. i have to upload all other images by myself, but in case of books, i would like to display from other server when i provide isbn no of the book.

 

if any one has done this or have idea about this, please help me.

 

thank you

Link to comment
Share on other sites

Can you explain what is the problemm with that? If you aware of the rights for doing that better read "Terms and conditions" section on the site where you are going to take images. By the way many people (like me) do not allow images from third party servers.

Link to comment
Share on other sites

Hrm, this would be risky..... it SOUNDS like you are planning on having an extensive DB... and with so many hotlinked images that you have NO control over.. what happens?

 

What if someone stops hotlinking? or the site shuts down... I personally dislike people stealing MY bandwidth

 

But anyway, the best thing to do is have a table column called URL or something, and just type manually the URL to the picture you wish to steal.

 

There would be no way to just type the ISBN and have your script find the correct image to hotlink... Even amazon has their pictures named in a fashion that does not reflect ISBN.

 

-----------------

 

in other words... what you expect to come from this is probably not possible. you would need to do a lot more work than just supplying the ISBN.  perhaps save your pennies and try not to hotlink other's images?

Link to comment
Share on other sites

You just use the html image tag with an absolute tag.

 

<img src="http://www.whateversite.com/images/some.imagtag" />

 

  This is considered rude when you do it without asking. And they could change the image to whatever they want without you realising it.

Link to comment
Share on other sites

ya, i have got permission to use it.

 

for now, lets talk about amazon. amazon.com have almost all books. there must be a way to do.

lets say even now i dont' know the location of images. actually my work is sothing like search engine. but i just need to search images.

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.