[olpc-community-support] How do I save an image from the web

Basic questions about your XO? Or search on top right for related questions.

[olpc-community-support] How do I save an image from the web

Postby russelldad at gmail.com » Fri Dec 21, 2007 3:03 pm

When I post to my blog I like to include a picture and I often choose a CC or public domain image from the web. In order not to "steal bandwidth" I save the image to my computer and then upload it to blogger.

Is there a way to save an image from a web page onto the XO hard drive, and then get the path to that image so that I can upload it?

There are really two challenges.

1) How do I / is it possible to save an image from the browse activity to my XO?
2) How do I /is it possible to either identify its location on disk, or get that image into the journal? (Using the file selection tool in blogger brings up the journal on my XO, but all of the entries in the journal appear to be text files.)


Thanks,
Paul
russelldad at gmail.com
 

Re: [olpc-community-support] How do I save an image from the

Postby phigan » Fri Dec 21, 2007 4:31 pm

russelldad at gmail.com wrote:Is there a way to save an image from a web page onto the XO hard drive, and then get the path to that image so that I can upload it?


You may be able to enter the direct URL of the image you want to save, but I have not attempted this with the Browse activity.

Opera is what I've been using, and it seems to work pretty well! You have to install it and run it in Terminal. Things you need to know:

Opera-activity on that page doesn't work right now.
When you download something in the Browse activity, it goes into the Journal and in /home/olpc/.sugar/default/datastore/store as a funky filename. Match up the date and filesize, 'cp' it to your /home/olpc directory, and then erase it from the Journal.
To install an rpm, do this as root: rpm -vi <filename>
To run opera after it's installed: opera &

It gives you a right-click menu and will let you save images.

- Joe
phigan
Support Team
 
Posts: 54
Joined: Thu Dec 20, 2007 7:19 pm
Location: Phoenix, AZ

[olpc-community-support] How do I save an image from the web

Postby michael at laptop.org » Fri Dec 21, 2007 5:24 pm

An alternate approach is to use the tool 'wget' to download your image
in the terminal, e.g.:

wget -O my.jpg http://some.where/some.jpg
wget http://some.other/file.jpg

would produce 'my.jpg' and 'file.jpg' in the current directory.

Michael


On Fri, Dec 21, 2007 at 08:31:36PM +0000, phigan wrote:

russelldad at gmail.com wrote:
Is there a way to save an image from a web page onto the XO hard drive, and then get the path to that image so that I can upload it?


You may be able to enter the direct URL of the image you want to save, but I have not attempted this with the Browse activity.

Opera (http://wiki.laptop.org/go/Opera) is what I've been using, and it seems to work pretty well! You have to install it and run it in Terminal. Things you need to know:

Opera-activity on that page doesn't work right now.
When you download something in the Browse activity, it goes into the Journal and in /home/olpc/.sugar/default/datastore/store as a funky filename. Match up the date and filesize, 'cp' it to your /home/olpc directory, and then erase it from the Journal.
To install an rpm, do this as root: rpm -vi <filename>
To run opera after it's installed: opera &

It gives you a right-click menu and will let you save images.

- Joe





_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
_______________________________________________
community-support mailing list
community-support@lists.laptop.org
http://lists.laptop.org/listinfo/community-support
michael at laptop.org
 

Re: [olpc-community-support] How do I save an image from the

Postby phigan » Fri Dec 21, 2007 8:32 pm

michael at laptop.org wrote:An alternate approach is to use the tool 'wget' to download your image


*Smacks himself on forehead* Where was my brain? :)
phigan
Support Team
 
Posts: 54
Joined: Thu Dec 20, 2007 7:19 pm
Location: Phoenix, AZ

[olpc-community-support] How do I save an image from the web

Postby russelldad at gmail.com » Fri Dec 21, 2007 8:41 pm

Both Opera and wget are great ideas. I'll give both a try now. Thanks!

Is there an easy way to get an image URL out of a web page?

If I were to use wget I'd need to know the URL for the image. Often images are in a webpage and I'd do a view image or save as in firefox. The only way I can figure out how to get a URL for an image using browers is to CTRL-u and sift through the source.


On Dec 21, 2007 4:24 PM, Michael Stone <michael@laptop.org (michael@laptop.org)> wrote:
An alternate approach is to use the tool 'wget' to download your image
in the terminal, e.g.:

wget -O my.jpg http://some.where/some.jpg
wget http://some.other/file.jpg

would produce 'my.jpg' and 'file.jpg' in the current directory.

Michael



On Fri, Dec 21, 2007 at 08:31:36PM +0000, phigan wrote:

russelldad at gmail.com wrote:
Is there a way to save an image from a web page onto the XO hard drive, and then get the path to that image so that I can upload it?


You may be able to enter the direct URL of the image you want to save, but I have not attempted this with the Browse activity.

Opera (http://wiki.laptop.org/go/Opera) is what I've been using, and it seems to work pretty well! You have to install it and run it in Terminal. Things you need to know:

Opera-activity on that page doesn't work right now.
When you download something in the Browse activity, it goes into the Journal and in /home/olpc/.sugar/default/datastore/store as a funky filename. Match up the date and filesize, 'cp' it to your /home/olpc directory, and then erase it from the Journal.
To install an rpm, do this as root: rpm -vi <filename>
To run opera after it's installed: opera &

It gives you a right-click menu and will let you save images.

- Joe





_______________________________________________
community-support mailing list
community-support@lists.laptop.org (community-support@lists.laptop.org)
http://lists.laptop.org/listinfo/community-support
_______________________________________________
community-support mailing list
community-support@lists.laptop.org (community-support@lists.laptop.org)
http://lists.laptop.org/listinfo/community-support


russelldad at gmail.com
 

[olpc-community-support] How do I save an image from the web

Postby russelldad at gmail.com » Fri Dec 21, 2007 9:38 pm

I just tried opera. Wow! It's a great browser on the xo.

It has tabbed browsing, bookmarks with optional shortcut keys and solves the image save and upload problem by saving images to /home/olpc. Files are saved with their original file name and when I upload to blogger, opera looks in /home/olpc so it just works.

It does appear that the opera rendering engine doesn't like (read 'ignores') the css tag style="float:left" but other than that its great!

Thanks for suggesting opera!
Paul


On 12/21/07, Paul Russell <russelldad@gmail.com (russelldad@gmail.com)> wrote:
Both Opera and wget are great ideas. I'll give both a try now. Thanks!

Is there an easy way to get an image URL out of a web page?

If I were to use wget I'd need to know the URL for the image. Often images are in a webpage and I'd do a view image or save as in firefox. The only way I can figure out how to get a URL for an image using browers is to CTRL-u and sift through the source.


On Dec 21, 2007 4:24 PM, Michael Stone < michael@laptop.org (michael@laptop.org)> wrote:
An alternate approach is to use the tool 'wget' to download your image
in the terminal, e.g.:

wget -O my.jpg http://some.where/some.jpg
wget http://some.other/file.jpg

would produce 'my.jpg' and ' file.jpg' in the current directory.

Michael


On Fri, Dec 21, 2007 at 08:31:36PM +0000, phigan wrote:

russelldad at gmail.com wrote:
Is there a way to save an image from a web page onto the XO hard drive, and then get the path to that image so that I can upload it?


You may be able to enter the direct URL of the image you want to save, but I have not attempted this with the Browse activity.

Opera (http://wiki.laptop.org/go/Opera) is what I've been using, and it seems to work pretty well! You have to install it and run it in Terminal. Things you need to know:

Opera-activity on that page doesn't work right now.
When you download something in the Browse activity, it goes into the Journal and in /home/olpc/.sugar/default/datastore/store as a funky filename. Match up the date and filesize, 'cp' it to your /home/olpc directory, and then erase it from the Journal.
To install an rpm, do this as root: rpm -vi <filename>
To run opera after it's installed: opera &

It gives you a right-click menu and will let you save images.

- Joe





_______________________________________________
community-support mailing list
community-support@lists.laptop.org (community-support@lists.laptop.org)
http://lists.laptop.org/listinfo/community-support
_______________________________________________
community-support mailing list
community-support@lists.laptop.org (community-support@lists.laptop.org)
http://lists.laptop.org/listinfo/community-support





russelldad at gmail.com
 


Return to General Questions

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron