Welcome Guest, Not a member yet? Register   Sign In
How download images?
#1

[eluser]brigham[/eluser]
I'm downloading images from the web onto my server.
Can one do this in CI?

Specifically,
1. the user types in some search terms,
2. we do the search on Google images,
3. we show the user the thumbnails,
4. the user clicks on an image and we download it from the web onto our local filesystem (it becomes the user's avatar.)

...I'm not sure how to do #4 in CI

Thanks,
Brigham
#2

[eluser][email protected][/eluser]
I'm confused. If it's all google, why CI?,...
#3

[eluser]brigham[/eluser]
The avatar-choosing service is just part of a larger social-network website. Plus, we're using the code to enable users to find good images to attach to their user-generated content.

Brigham
#4

[eluser][email protected][/eluser]
I think it's going to be same as you progromming in bare PHP code without CI.
You are going to need CURL libs or other browser-emulation classes to fetch Google pages, filter out the image data you need, then organize them for your customers.
With CI things can be more easily organized than using bare PHP code




Theme © iAndrew 2016 - Forum software by © MyBB