Importing Images Through PHP

This is a discussion on "Importing Images Through PHP" within the Flash & Multimedia Forum section. This forum, and the thread "Importing Images Through PHP are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 21st, 2006, 15:00
New Member
Join Date: Dec 2006
Location: Bristol
Age: 22
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Importing Images Through PHP

Hi, I'm designing a website aiming to provide visual coverage of surfing locations across the UK through the use of webcam images. Each of the images themselves will be retrieved externally, with permission, from various hotels over-looking these locations.

I have spoken to someone who has completed a similar project, a widget which retrieves and displays webcam images, which can be viewed here:

http://www.ukbiketrails.co.uk/ukss/weCams.php

I would like to use the same method. Explained in his own words:

'The feeds you see in the widget are simply JPEG images hosted on the originating website, so none of the feeds are handled by myself. The widget sends a HTTP request for the JPEG and displays what it gets in the widget.'

As you can tell from the link url, he's used PHP, which I have been learning.

I have lost contact with him recently and not sure the steps I should take to integrate such a feature into my website. Please help!
Reply With Quote

  #2 (permalink)  
Old Dec 21st, 2006, 16:41
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,619
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Importing Images Through PHP

The images aren't being 'imported via php'.

The data which composes the image is store on a remote website.
ie.: http://surfstation.co.uk/saunpick.jpg

I think he's just using PHP to get a list of images, ie, a feed with the locations of the images.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #3 (permalink)  
Old Dec 21st, 2006, 17:36
New Member
Join Date: Dec 2006
Location: Bristol
Age: 22
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Importing Images Through PHP

Ok thanks. Could I ask for a brief list of things required and to be researched in order to retrieve a JPEG, like in your url link example, and import that into a flash website for display. I understand PHP is required to overcome security issues when loading data across domains. What should I look into for PHP to acheive this?

Sorry to trouble you

Last edited by Charisma; Dec 21st, 2006 at 17:42.
Reply With Quote
  #4 (permalink)  
Old Dec 22nd, 2006, 16:27
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,619
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Importing Images Through PHP

It's no trouble, but I can't help you with the PHP. I'm an ASP dude...
Actually, I don't do Flash either... LOL

I can say that you will definitelly need to work with HTTP Requests, ie.: send some data and get some data in response.

But you already knew that so lets see if one of our PHP-wise members can help you out...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #5 (permalink)  
Old Dec 23rd, 2006, 11:55
New Member
Join Date: Dec 2006
Location: Bristol
Age: 22
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Importing Images Through PHP

Thanks. I'm researching HTTP requests now, got a huge book "PHP For Dynamic Websites" Unfortunately not many pages listed in the index for HTTP so its not proving to be very helpful lol.
Reply With Quote
  #6 (permalink)  
Old Dec 23rd, 2006, 12:13
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to snow
Re: Importing Images Through PHP

Heh, I can see you're not going to be too popular with the surfing community - keep us updated on how your doing though!
Reply With Quote
  #7 (permalink)  
Old Dec 23rd, 2006, 20:50
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Importing Images Through PHP

Why would he not be popular?
Reply With Quote
  #8 (permalink)  
Old Dec 23rd, 2006, 22:25
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to snow
Re: Importing Images Through PHP

Around where I live - surfers hate people setting up webcams to see the waves... in their opinion that it's kinda cheating not to have to drive around and find the best spot... it also means all the good spots will be really busy!
Reply With Quote
  #9 (permalink)  
Old Dec 24th, 2006, 06:19
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Importing Images Through PHP

I thought you were making a comment about flash...and I was going to have to put the smack down on ya...for talking bad about flash in the flash forum...lol
Reply With Quote
  #10 (permalink)  
Old Dec 24th, 2006, 13:48
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to snow
Re: Importing Images Through PHP

Hehe, I have my opinions on flash - but I don't think it would be very safe to say them in the flash forum...
Reply With Quote
  #11 (permalink)  
Old Dec 24th, 2006, 16:00
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Importing Images Through PHP

It all depends on wither or not you have a good opinion or a bad one...lol
Reply With Quote
  #12 (permalink)  
Old Dec 26th, 2006, 12:56
New Member
Join Date: Dec 2006
Location: Bristol
Age: 22
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Importing Images Through PHP

Quote:
Originally Posted by snow View Post
Around where I live - surfers hate people setting up webcams to see the waves... in their opinion that it's kinda cheating not to have to drive around and find the best spot... it also means all the good spots will be really busy!
True, but i'm taking a multimedia course at plymouth uni where I need to integrate a 'real-time application' into a website. Being near the coast, webcams and surfing seemed to go hand-in-hand. I apologise if it doesnt conform with surfing culture, its simply a final year project to me lol
Reply With Quote
  #13 (permalink)  
Old Jan 6th, 2007, 05:59
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Importing Images Through PHP

Yep, you do what you got to do...lol
Reply With Quote
Reply

Tags
flashphpexternal images

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
importing .flv ... Help nutbolt Flash & Multimedia Forum 1 May 16th, 2007 22:11
Importing RecordSet to .asp file tolis Classic ASP 8 Nov 23rd, 2005 20:23
Importing URL Page Andy_H Web Page Design 2 Jun 7th, 2005 15:55
Importing Text bklcomputing Web Page Design 6 Apr 29th, 2005 23:21
importing txt file to SQL with recordset EnvY Classic ASP 21 Mar 28th, 2005 11:22


All times are GMT. The time now is 19:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43