You need to be logged in to post in the forums. If you do not have an account, please sign up first.
a problem with my custom menu item
what I want to do is add an option to the right click menu to upload an image on imgur.what I did was duplicate the standard menu and edit it. added the following piece of text under image link popup menu and image popup menu:
Item, upload image on imgur=Copy image address & Go to page, "http://imgur.com/api/upload/?url=%c", , , imgur
after that I took a backup of the standard skin and added the imgur icon under icons-folder and the following piece of text under images in skin.ini:
imgur icons/imgur.ico
now, the menu item works like it should but I see no icon what so ever. tried various things myself but can't get it to show up. what am I doing wrong?
thanks in advance!
(I'm running 10.52 on windows 7 x64)
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Item, upload image on imgur=Copy image address, , , , imgur & Go to page, "http://imgur.com/api/upload/?url=%c"
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
I wasn't able to get a custom icon yet — only the default icon for go to web address, but the menu item does take me to the site.
I think I was wrong about putting the icon on the first command — maybe that applies only to buttons.
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Originally posted by Pesala:
If you're getting an invalid URL message then you probably made a syntax error.
I wasn't able to get a custom icon yet — only the default icon for go to web address, but the menu item does take me to the site.
I think I was wrong about putting the icon on the first command — maybe that applies only to buttons.
In your skin.ini below [Images] put
imgur = icons/imgur.png
Put imgur.png in \icons\ inside the skins zip.
In your menu.ini under [Image Popup Menu] add
Item, upload image on imgur = Copy image address ,-2,"urlinfo",, imgur & Go to page, "http://imgur.com/api/upload/?url=%c"
Originally posted by mfs9:
thank you, nailz! that worked.
http://operawiki.info/AllActions
A general syntax for a single command: Action, property1, property2, label, icon
When you make multiple action commands, you may wish to add an icon or title. The icon must then be appended to the first command
Originally posted by Nailz:
Item, upload image on imgur = Copy image address ,-2,"urlinfo",, imgur & Go to page, "http://imgur.com/api/upload/?url=%c"
This works for me. The custom icon is displayed and the image is uploaded.
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links