Skip navigation.

Bits and Pieces

Opera tips, music, anime, my life experiences.

Save Link in Folder and Save Image in Folder extensions for Opera

, , ,

This will allow you to save links and images directly to a set of predefined folders.




NOTE: You will need wget installed in order to use this.

Linux users check your distribution.

Windows version is here.

Step 1: Find and open you menu.ini

Step 2: Find the section [Image Popup Menu] and add this:

Submenu, "Save Image to...",Save Image to Menu = "Show popup menu, "Translate menu",,,"Download url""
Submenu, "Save Image to...and Close", Save Image to and Close Menu = "Show popup menu, "Translate menu",,,"Download url""


Step 3: Find the section [Image Link Popup Menu] and add these:

Submenu, "Save Link To...", Save Link to Menu = "Show popup menu, "Translate menu",,,"save image""
Submenu, "Save Link To...and Close", Save Link to and Close Menu = "Show popup menu, "Translate menu",,,"save image""
Submenu, "Save Image to...",Save Image to Menu = "Show popup menu, "Translate menu",,,"Download url""
Submenu, "Save Image to...and Close", Save Image to and Close Menu = "Show popup menu, "Translate menu",,,"Download url""


Step 4: Find the section [Link Popup Menu] and add this:

Submenu, "Save Link To...", Save Link to Menu = "Show popup menu, "Translate menu",,,"save image""
Submenu, "Save Link To...and Close", Save Link to and Close Menu = "Show popup menu, "Translate menu",,,"save image""


Step 5: Copy and Paste the following to the end of you menu.ini;

[Save Image to Menu]
Item, "Images" = Copy image address,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images"
Item, "Humour" = Copy image address,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images/Humour"
Item, "Wallpaper" = Copy image address,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images/Wallpaper"

[Save Image to and Close Menu]
Item, "Images and Close" = Copy image address,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images/" & Close page
Item, "Humour and Close" = Copy image address,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images/Humour" & Close page
Item, "Wallpaper and Close" = Copy image address,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images/Wallpaper" & Close page

[Save Link to Menu]
Item, "Documents" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Documents"
Item, "Packages" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images/Packages"
Item, "Images" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Images/Humour"

[Save Link to and Close Menu]
Item, "Documents and Close" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Documents" & Close page
Item, "Packages and Close" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Packages" & Close page
Item, "Images and Close" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Humour" & Close page


NOTE: Change the sections in orange to suit your needs.

Step 6: Save your menu and restart Opera.

NOTE: Windows users need to add the wget install directory to their path;
1. Right-click the "My Computer" icon (Computer in Vista)
2. Choose "Properties" from the context menu
3. Click the "Advanced" tab ("Advanced system settings" link in Vista)
4. Click the "Environment Variables" button
5. Under "System vairables" find Path
6. Click Edit.

IMPORTANT: Spaces in directories will not work if you need to use spaces use symbolic links.

Linux users type man ln a terminal.

Windows users can use Link Shell Extension.

How to kill/hide the Opera Error ConsoleReload Menu

Comments

DarkWorm 29. March 2008, 04:15

First I thought, wahh, finally, I wanted this since so long. Then I realized that it uses wget - which leads to a question:
If I have an image on my screen that I want to save to a specific location and I involve wget - doesn't that mean that wget must download the image AGAIN? Right now I cannot imagine that the answer could be "no" - please explain how it works if the answer is indeed "no".

Have Fun
DarkWorm

BleedingHeart 29. March 2008, 04:28

Yes it does download the content seperatley from the browser, although it depends on how you set it up if you use it on links (image galleries, direct downloads) the browser will never load the content so theres no duplication. Of course sometimes you will want to see an image first before downloading in that case there will be duplication.

DarkWorm 29. March 2008, 13:01

Thanks!

Indeed, this solution is ok for galleries, but for "save the image I have on the screen to one of a few locations with as little user effort as possible", I'd say the double downloading kills much of the saved user effort. But still... in some cases... I should try it. :D

Have fun
D.

BleedingHeart 29. March 2008, 14:31

Its no different from using a download manager in that sense, doing it this way is an option in the Firefox extension. The only downside is if you pay by the MB for bandwith or use a very slow connection. With Opera removing the file extentions from the cache, it will take someone writing a specific program or Opera building it in (I wish) to pull it from the cache.

DarkWorm 29. March 2008, 14:56

Removing the file extensions from the the cached files is one of the major reasons why I won't upgrade to 9.5 even when it is finished. It's still possible (under linux, at least) - you can use 'file ~/.opera/cache4/*' to find out the filetypes of all files in the cache, grep for the filetype you want and maybe do some sorting by creation time. But it's several steps more difficult now.

"...it will take someone writing a specific program or Opera building it in (I wish)..."? :smile: That's not possible, right? I mean, several people have made some suggestions for download manager improvements... AFAIK, there is no way to do it - in any better way than you do by integrating an external tool into the menus.

(A simple way might be to offer the ability to specify an external program/script to call when a download got finished, with the full path of the downloaded file and the full URL of it - then the external program could easily move the downloaded file to a specific location that depends on the URL. But I strongly believe that this will never be provided, because it might introduce security impacts...)

BleedingHeart 29. March 2008, 15:03

I don't know, programming isn't my thing I know you can send the source of a document to an external program (flashgot uses this), maybe someone could do something with that, maybe not.

I just use konqueror in linux with large thumbnails (it reads the file rather than the extension to decide what a file is) but I keep my cache small, for those with large caches it would be a real problem.

ZAHEK 2. June 2008, 14:12

Hello,
Thanks for studies.I wan to add something to you.
Can we add an item in right click menu in order to copy and send by e-mail any picture we click on a page?,like send link by e-mail.
thanks.

BleedingHeart 5. June 2008, 07:49

Through M2 I cant see a way (maybe tomu or sgunhouse may know) or do you mean a different program let me know.

ZAHEK 5. June 2008, 12:45

Ok.Maybe they know it,bu I opened this topic in forum ,anyone can't help me:)
maybe it can bu use different program in order to make it,if you now any program say me.

BleedingHeart 5. June 2008, 12:59

You could use wget + thunderbird

thunderbird -compose attachment="C:\myfile.7z"

If you set wget to save as an exact file name and to overwrite but you'd need several menu items for each extention though.

ZAHEK 5. June 2008, 14:07

I couldn't use wget before..
I try to use it.thanks.do you know how I will use it or any website explain it.

BleedingHeart 6. June 2008, 20:45

Sorry no need for wget with thunderbird.

For images

Item, "Email Image in Thunderbird" = Copy image address,,,,"Panel Mail" & Execute program, "thunderbird","-compose attachment=%c","Panel



For links

Item, "Email in Thunderbird" = "Execute program, "thunderbird","thunderbird -compose attachment=%l","Panel Mail","Panel Mail""



Works fine in 9.2x, 9.5+ is having probelms atm.

garywalsh 15. July 2008, 07:10

I've been meaning to add a dl manager type affair to the context menu. It looks as if you've saved me a lot of time.

I look forward to trying this out later. Many thanks in advance (":wink:

Anonymous 19. August 2008, 08:22

Anonymous writes:

excuse me, i'm using v9.51 and i've done everything here. then when i try to save an image, a pop up box appears with "wget" on its title bar and says that "file not found". i'm wondering if this is due to my wrong entries here:

/home/Images

should i input the C:\Windows\blahblah\blah there?

or is it because of my Opera version?

BleedingHeart 19. August 2008, 16:34

Opera version.

BleedingHeart 19. August 2008, 20:01

On second thoughts it may be beacause it cant find wget did you put it into your PATH?

If your on windows you need to change your path to something like /users/You/Pictures (Vista). Remember you can't have spaces in the path.

Anonymous 20. August 2008, 09:10

Anonymous writes:

okay, so i went back to 9.27 and i still had the problem. i extracted wget files on the directory of my opera (C:\Program Files\Opera) then edited these to:

-P D:\zz Documents\zz Pictures"

as path. am i doing something wrong?

i'm using windows xp sp2, thanks.

BleedingHeart 20. August 2008, 16:38

Yes you can't have spaces in the path and it needs to be somthing like -P /Documents/Pictures also read the note about wget being in your path.

Anonymous 21. August 2008, 10:58

Anonymous writes:

i managed to make it work, but can i set my path in another drive partition? since i have to type like, "\temp" which goes to save it in my C:\Temp, so what if i'd like to save it in my drive D:?

and also, thanks for this. :D

BleedingHeart 21. August 2008, 10:59

No at least I cant find a direct way, you could use a symbolic link if your using vista. No problem.

Anonymous 31. August 2008, 23:05

Anonymous writes:

Hi!
I have a big problem make this thing work.
I want just to save pictures in my folder d:\pictures.
I allready chanfe opera manu.ini file and it work ok??

Where i have to put wget. What words i have to type in this section:
"Item, "Documents" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/Documents"

instead of -P /home/Documents"

And, what i have to do with environment variables in "Path" section.
There is written:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

Thank you a lot!!!

BleedingHeart 31. August 2008, 23:15

"Item, "Documents" = Copy link,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /pictures"



wget HAS to be installed on your d: drive to use d:\pictures (or use a symbolic link)

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;PATH to WGET

Anonymous 2. September 2008, 15:52

Anonymous writes:

Hello!
Me, again, with the sam problem, despite your help.

Now, i try to be more precise in my problem description.

I use opera 9.51. 10081build , winxp sp2

I ondly need save image in folder, becouse i migrate from firefox a few days ago, and i miss this extension a lot.
That means, that i dont need save image&close, or save link. Just save image.

First my standard menu.ini looks like this: ( last section, of course)


[Save Image to Menu]
Item, "temp" = Copy image address,,,,"save" & Execute program, "wget","-e --recursive=off -R?N=D,?M=A,?S=A,?D=A --referer=%u %c -P /home/temp"

and, for example image popup manu looks like this:

[Image Popup Menu]
Item, M_OPEN_IMAGE= Open image
Item, M_MENU_RELOAD_IMAGE= Load image
Item, MI_IDM_COPY_FIG_ADDRESS= Copy image address
Platform QNX, Submenu, M_OPEN_WITH, Open in menu
--------------------1
Submenu, "Save Image to...",Save Image to Menu = "Show popup menu, "Translate menu",,,"Download url""
Item, MI_IDM_SAVE_FIGURE= Save image
Item, M_DOCUMENT_BACKGROUND_MENU_COPY_TO_CLIPBOARD= Copy image
Platform Windows-Mac-QNX, Item, M_DOCUMENT_BACKGROUND_MENU_USE_ON_DESKTOP = Use image as desktop background
--------------------2
Item, MI_IDM_SHOW_FIGURE_PROPERTIES= Show image properties


My path is:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;d:\Programi\System\wget

off course, i put all wget files in d:\Programi\System\wget folder.

And, again, id doesnt work. When i clik on submenu "temp" wget just appears for a milisecond, and nothing else happens.

Where i have made a mistake???


and also, where i can download these cool context menu icons for opera. On firefox i have used cutemenus, but this looks even better!

BleedingHeart 2. September 2008, 19:44

It sounds like your experienceing the same bug as me in 9.5. I havent been able to use it at all (it seems to still work for most though)

The icons are in this skin http://my.opera.com/community/customize/skins/info/?id=7158

Anonymous 4. September 2008, 14:14

Anonymous writes:

Thank you very much! I will wate for next opera version with this bug fixed.
Can you tell me one more thing about my opera problem:
I saved this page to hdd, and when i open it and continue surfing, when i click on the link that goes to this page, it open page from hdd, not from server. So i cant see if any new massages are posted here. I try to fix it by checking " chech if cashed page are updated on server- always" in opera preferences, but there no results.

Also, can i place a few bookmarks in personal bar to a screen center. those bookmarks are left aligned. In opera:config i find personalbar alignement-0. and there no changes if i set 1,2,3,-1,-2.... i am confused.
I now that i am boring, but please help me!!
Best regards.
Boza

BleedingHeart 8. December 2008, 01:25

Sorry been a while since I've been on. The alignment part refers to the bar, i believe you can edit the skin to get what you want though. No idea about the saved page problem. Fingers crossed but this works for me again in the 10 alpha.

washington2004 22. March 2009, 15:59

I didn't find any menu.ini. I've tried standard_menu.ini, but there's no [Image Popup Menu]

BleedingHeart 23. March 2009, 05:11

The standard_menu.ini still contains all the same sections. If you want you can try adding it to any custom menu you use.

Pizzapops 27. July 2009, 15:47

Windows version link is no longer active. Is it posted anywhere else?

BleedingHeart 31. July 2009, 20:35

Updated the link.

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies