Save Link in Folder and Save Image in Folder extensions for Opera
Wednesday, 11. July 2007, 08:38:15

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.









DarkWorm # 29. March 2008, 04:15
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
DarkWorm # 29. March 2008, 13:01
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.
Have fun
D.
BleedingHeart # 29. March 2008, 14:31
DarkWorm # 29. March 2008, 14:56
"...it will take someone writing a specific program or Opera building it in (I wish)..."?
(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 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
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
ZAHEK # 5. June 2008, 12:45
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
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 try to use it.thanks.do you know how I will use it or any website explain it.
BleedingHeart # 6. June 2008, 20:45
For images
For links
Works fine in 9.2x, 9.5+ is having probelms atm.
garywalsh # 15. July 2008, 07:10
I look forward to trying this out later. Many thanks in advance ("
Anonymous # 19. August 2008, 08:22
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
BleedingHeart # 19. August 2008, 20:01
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
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
Anonymous # 21. August 2008, 10:58
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
Anonymous # 31. August 2008, 23:05
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
wget HAS to be installed on your d: drive to use d:\pictures (or use a symbolic link)
Anonymous # 2. September 2008, 15:52
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
The icons are in this skin http://my.opera.com/community/customize/skins/info/?id=7158
Anonymous # 4. September 2008, 14:14
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
washington2004 # 22. March 2009, 15:59
BleedingHeart # 23. March 2009, 05:11
Pizzapops # 27. July 2009, 15:47
BleedingHeart # 31. July 2009, 20:35