FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » skipping question "Do you want to save or open the file"
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
skipping question "Do you want to save or open the file" [message #179465] Tue, 30 October 2012 10:00 Go to next message
Netman is currently offline  Netman
Messages: 2
Registered: October 2012
Karma: 0
Junior Member
Hello!

I`ve implemented Google Picasa API on my web page.

I retrieve url to image (panorama photo) which is the full size image
(original size image)
via Google Picasa API.

Unfortunately while retrieving such url and open it on the browser, I got
question: "Do you want to save or open the file?"

I have been searching on google how to get url from Google Picasa
for original size photo without this question, but I didn`t get it anything.

I have flash slideshow to show this panorama photo on my site.
I supposed that because asking this question "Do you want to save or open
the file?"
my panorama photo (from google picasa url) doesn`t display on my site.

How to skip the question in php and automaticaly open such url on web
browser (without
saving it on external program and without saving it to my hosting storage
where my web
page exists)?

Is it possible to open such url just on the browser with skipping such
question?

I upload such photo to google picasa because it is cheaper and it doesn`t
take my storage limit
on my hosting.

Thank you in advance for help
K.
Re: skipping question "Do you want to save or open the file" [message #179466 is a reply to message #179465] Tue, 30 October 2012 10:44 Go to previous message
Netman is currently offline  Netman
Messages: 2
Registered: October 2012
Karma: 0
Junior Member
I got it:)

header("Content-type: image/jpeg");
ob_clean();
flush();
readfile($file);

K.

Użytkownik "Netman" napisał w wiadomości grup
dyskusyjnych:k6o8h2$a80$1(at)news(dot)task(dot)gda(dot)pl...

Hello!

I`ve implemented Google Picasa API on my web page.

I retrieve url to image (panorama photo) which is the full size image
(original size image)
via Google Picasa API.

Unfortunately while retrieving such url and open it on the browser, I got
question: "Do you want to save or open the file?"

I have been searching on google how to get url from Google Picasa
for original size photo without this question, but I didn`t get it anything.

I have flash slideshow to show this panorama photo on my site.
I supposed that because asking this question "Do you want to save or open
the file?"
my panorama photo (from google picasa url) doesn`t display on my site.

How to skip the question in php and automaticaly open such url on web
browser (without
saving it on external program and without saving it to my hosting storage
where my web
page exists)?

Is it possible to open such url just on the browser with skipping such
question?

I upload such photo to google picasa because it is cheaper and it doesn`t
take my storage limit
on my hosting.

Thank you in advance for help
K.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Beginner's trouble with substr
Next Topic: cant use mysql_connect
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 05:24:58 GMT 2024

Total time taken to generate the page: 0.02550 seconds