Home »
Imported messages »
comp.lang.php »
skipping question "Do you want to save or open the file"
skipping question "Do you want to save or open the file" [message #179465] |
Tue, 30 October 2012 10:00 |
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 |
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.
|
|
|
Goto Forum:
Current Time: Thu Nov 28 00:55:13 GMT 2024
Total time taken to generate the page: 0.02463 seconds