Opera extension: Imagus
Monday, January 3, 2011 11:17:22 PM
Updated: December 12, 2011
The extension is intended to complement image features that (I think) is missing from Opera by default or give features that are just simply useful. The original idea was to implement as much image related features as it's possible. Read on to find out for what the extension is capable of...By the way, this project is still under development, it doesn't contain serious bugs, but use with caution. The features aren't in final state, so their functionality may change, which means that after an update the extension maybe won't work properly or absolutely not.
Install v0.8.10 for Opera 11.60 - 12.00
Viewer
-
different sizing modes, or possibility to disable even the browser's default resizer.
Beside the normal sizing modes there are two special:- background mode (good for patterns)
- custom size, where you can manually set the dimensions
Valid values (where x is a number with or without % mark):
0 - means auto/original for both dimensions
x[%] 0 - means auto for height and x for width (100% is the window's inner width)
0 x[%] - means auto for width and x for height (100% is the window's inner height)
Examples:
20px width with reserved aspect ratio = "20",
20 percent width, 50px height = 20% 50,
reset to original size = 0
This works in background mode too.
Key C cycles through the normal modes. - custom background color, it's possible to set Opera skin elements too, so for instance you can have glass transparency with -o-skin('Window Skin') as background on Windows 7 (but not recommended for slower machines).
- custom image background color/image, accepts the CSS background property which means no limit.
-
custom image border, this one uses CSS border property, but has a little restriction on border-width, maximum allowed is 100px
-
panning, in Windows, by some reason Opera sometimes doesn't handle correctly the mouse movements, and while dragging the image it jumps randomly hither and thither. In preferences the "Panning threshold" solves this problem. If you have trouble with this, just set to a higher value. Smaller value means smoother panning, 0 means disabled.
- horizontal scrolling, just a little convenience. If image width is bigger than its height, then you don't have to point your cursor over horizontal scrollbar and drag or wheel, instead just use the mouse wheel on the page to scroll horizontally. For example, good for wide pictures, like panoramas. But if you think it is irritating, you can disable or fine tune on preference page. Holding down the X key will invert the scrolling mode.
- context menu, to easely access common features
- transformations, flipping (Q - vertical, W - horizontal) and rotation ([Shift + ] E - left, [Shift + ] R - right, 9 - Custom degree)
- zoom to selected area, holding Shift + left click + move will draw a rectangle, to move press Ctrl and move your mouse.
- zoom with mouse wheel, a convenient method to easily zoom to a selected point with your mouse wheel.
With left click you can jump between natural size and fit to window mode.
Holding down the left mouse button ("longpresssing") will switch between fit to width/height.
%ow - original width
%oh - original height
%ratio - current width / current height
%w - actual width
%h - actual height
%perc - percentage of resize
%url - full URL (this is the default, it's same as an empty string)
%name - name of the image
Example for title: "t:(%perc) %name"
For start, you can try out on these pictures:
http://upload.wikimedia.org/wikipedia/commons/9/9c/Ara_ararauna_(Linnaeus_1758).jpg
http://commondatastorage.googleapis.com/static.panoramio.com/photos/original/3157623.jpg
http://commondatastorage.googleapis.com/static.panoramio.com/photos/original/41461779.jpg
http://pennprolaw.com/wp-content/themes/pennprolaw/images/page-banner-2.jpg
http://www.loredanatritto.com/wp/wp-content/uploads/2010/08/Liquid-Sun_MD1.jpg
Hover zoom
Zoom linked or thumbnail images with moving the cursor over them.If image is larger than the view-port, by default always will be fit to the window, but you can zoom to full size with pressing Z or Enter (problem-use).
Quite customizable and there is a Sieve that allows you to add rules for specific sites (which will work on images in viewer too, with these it can open images with higher resolution).
Tools
-
easily open [background] images, favicon in new [background] tab
On the preferences page under tools, you can read how to use or disable specific method. -
Image search
New engines can be added in preferences under Tools / Image search (engine per line).
Format: "[+]Name|search engine's URL with parameters". Now there is only one parameter: %url (full image address)
Example: TinEye|http://www.tineye.com/search?url=%url
If you put a "+" sign before the name (e.g., "+TinEye"), then it means that engine will be used when the shortcut (default key S) is pressed. Multiple entries can be enabled, then all of them will be used.
With Ctrl + Alt + Right click on an image (on a web-page) will start the search.
After you installed, you can try out even on this page. Just refresh it, and for example do a right longpress on the page header or try on Mr. Norris
. Yes, if you use longpress or Alt + right click then you will get a blank image. So, try with Ctrl + right click. And here are more playgrounds:http://www.carto.net/papers/svg/samples/svg_html.shtml (embedded SVGs)
http://www.webdesignerwall.com/tutorials/how-to-css-large-background/ (this site has a lots of background images)
http://www.tizag.com/htmlT/htmlbackground.php (background attribute)
http://www.spartanicus.utvinternet.ie/embed.htm (embed, object)
http://en.wikipedia.org/wiki/Image_map (image maps)
http://testsuites.opera.com/object-fit/visual/001.html (misc)
Gallery
When an image is opened or "hoverzoomed" then pressing G will add it to the list without any questions. Shift + G will prompt for labels. Deleting images from the list: Ctrl + Right click on the thumbnail cell or Ctrl + Click to select some and the minus button from the button-list. Shift + Right click on a cell to edit the labels.If possible, then two links will be saved with the thumbnails. The "Source", which is the address of the page where you've seen the image, and the "Target", which is the link address (if it was a link).
Search works on the address of the image and on the labels.
Grants
At Preferences / Grants you can tell which features allowed or blocked on specific sites.It's possible to block everything, only a feature or just some sieve rules.
Basic syntax: "!" to block or "~" to allow: "*" for everything or URL or part of the URL
Example for blocking all sites (BTW, it's recommended to disable the features instead of doing this):
!:*Example for blocking all sites except opera.com (actually it will allow any URL that contains the "opera.com" phrase, and yes, the order matters):
!:* ~:opera.comTo block a few sites:
!:http://www.google.com !:opera.com !:http://www.reddit.com/r/pics/Advanced syntax: [vw|hz][!!|~~][#rule1, rule2, rule3]:[regular expression or same as above]
vw is for viewer, hz for hover zoom, if it's missing, then for both. When you double the grant operator (!, ~), then it means that you want use regular expression in the URL. For allowing/blocking specific sieve rules you can use the "#" mark, followed by the rule names separated by commas (,) and putting all this after the grant operator.
An example for blocking only hover zoom on all Google sites, except German and French:
hz!:http://www.google.com/ hz~~:^http://www\.google\.(?:de|fr)Allowing only the "MyOpera" and "LinkedImages" rules here on my.opera.com:
~#MyOpera,LinkedImages:my.opera.com
For the extension's icon thanks goes to http://esk6a.deviantart.com/
Known issues (I'm sure there is more, but these are a bit more common)
* rotated image has incorrect position both in viewer and in hz
image viewer:
* in some cases after moving the selection (freeZoom) on an image, the rectangle will lose its position
opening image:
* scanning images with Ctrl + right longpress is buggy
hover zoom:
* SVGs sometimes are not displayed at first time (maybe an Opera bug)
* zooming with "+ - 1, 2, 3" won't place the image to the right position, only after mouse cursor is moved
v0.8.10 - December 12
Good to know:
- Works only with Opera 11.60 or above.
- Fresh install recommended.
- The new Sieve contains total 162 rules, including some (corrected) filter from this set.
Full changelog can be found after install.







1 2 3 4 5 6 7 8 Next »
Anonymous # Friday, March 4, 2011 6:26:34 AM
Deathamns # Friday, March 4, 2011 9:55:09 PM
Anonymous # Tuesday, March 8, 2011 3:14:59 AM
Anonymous # Sunday, April 24, 2011 1:09:21 PM
DoTheEvolutionTheEvolutionBaby # Sunday, April 24, 2011 2:09:11 PM
Deathamns # Tuesday, April 26, 2011 12:07:14 AM
Originally posted by anonymous:
Unfortunately (for you), I have to break that, because of panning or any other feature, which uses mouse events. It can be a solution to make an option that will allow to drag the image along with a control key (e.g. Alt), but Opera has troubles with mousedown event (actually this breaks the drag'n'drop, even if I don't want to), so, until they fix this problem (because I believe that it is a bug, since it is handled correctly by other browsers), I cannot do anything.metude # Wednesday, May 11, 2011 5:32:01 AM
Deathamns # Wednesday, May 11, 2011 12:36:37 PM
Maybe someday I will publish it, but I won't hurry, since there is still a lot work to do with it (and not much free time).
DoTheEvolutionTheEvolutionBaby # Monday, May 23, 2011 11:45:49 PM
I really liked it. Can you please give option for it?
Deathamns # Tuesday, May 24, 2011 6:41:32 AM
But yeah, an option for that wouldn't be bad.
DoTheEvolutionTheEvolutionBaby # Tuesday, May 24, 2011 10:36:59 PM
Anyway, for me it always saved with the original names of files, no modifications to them, though I save images with ctrl+left mouse click; if that play some role in it...
just wanned to let you know what I know, or better yet what I don't know...
Deathamns # Wednesday, May 25, 2011 10:03:33 AM
The problem is that not everyone uses the last two method (sometimes I don't too), that's why I removed it.
But I made a solution for this (since it was easy to implement). Re-download the extension, and on preferences page you can find an entry called "Image informations", I've added a few samples, but you can freely customize what you want to see in title or status bar (brief instructions above).
DoTheEvolutionTheEvolutionBaby # Thursday, May 26, 2011 2:13:32 AM
DoTheEvolutionTheEvolutionBaby # Monday, May 30, 2011 4:01:58 AM
I started to enjoy the Hover zoom. One request.
I often visit http://www.reddit.com When people post pictures there, they 99.99% of a time use imgur.com
good example is this subreddit : http://www.reddit.com/r/pics
Now whats the problem is that they sometime don't link directly to the picture, but rather to an imgur page with the picture
example:
http://imgur.com/CxtNi
vs
http://i.imgur.com/CxtNi.png
Can you make some rule that will check direct link so that both these links work with hover zoom?
Problem not only is the unknown extension(if that is a problem) but also possibility of imgur album like this one http://imgur.com/a/xYseV
But albums not working is just fine anyway, only if it screw with other functions or whole extension or something...
Also maybe adding option where user can add sites where hover zoom is not suppose to work
Deathamns # Monday, May 30, 2011 1:50:42 PM
By the way, I decided to use imgur (anonymous) API instead of resolving image URL from the picture's page, but the API has limitations. It allows only 500 fetches in an hour from the same IP address (but it should be enough), and I didn't add support for albums, because it's not clear which one from the list you want to see.
Originally posted by TheEvolutionBaby:
Not a bad suggestion, but I haven't even implemented my own ideas yet, and I'm kind of busy right now, so at least a month there won't be any new feature.DoTheEvolutionTheEvolutionBaby # Tuesday, May 31, 2011 3:05:29 PM
Shin RyujinEpiKnightz # Sunday, June 26, 2011 10:37:30 AM
Just one suggestion, can you enable an option to "curve" the corner of the image hover zoom border (the transparent thing around the enlarge image) please? (turn it from a rectangle into a rounded rectangle) That would be beautiful!
(sorry for my poor english
Deathamns # Sunday, June 26, 2011 10:43:43 AM
Originally posted by EpiKnightz:
At preferences page under Hover zoom / Style change the Border value to:DoTheEvolutionTheEvolutionBaby # Sunday, June 26, 2011 10:21:16 PM
left click is not cycling through first two modes.
Deathamns # Sunday, June 26, 2011 11:50:17 PM
If not, then need more information: which image, other enabled extensions... or anything on which I can start.
DoTheEvolutionTheEvolutionBaby # Monday, June 27, 2011 10:44:34 AM
This adblock script is the culprit that was in conflict..
Its funny, I always try to test only single userjavascript when something is not working properly, with extensions it didn't pop in to my mind...
Deathamns # Monday, June 27, 2011 1:22:07 PM
DoTheEvolutionTheEvolutionBaby # Tuesday, July 12, 2011 2:29:33 AM
At least for me.
Here you can test it on the second image, in the third row.
Here's how it looks for me, the green border I pasted at original size.
This time I disables javascripts before complaining ^^
Deathamns # Tuesday, July 12, 2011 6:52:07 AM
But, yeah, your popup seems smaller as it should be.
DoTheEvolutionTheEvolutionBaby # Tuesday, July 12, 2011 1:09:23 PM
Are you planing on sharing older versions as it goes? So that we can revert from newer to older if some problem occur...
Deathamns # Tuesday, July 12, 2011 2:42:26 PM
Anonymous # Thursday, July 14, 2011 12:16:39 AM
Deathamns # Thursday, July 14, 2011 9:45:03 AM
Rich Tibbettrichtr # Thursday, July 14, 2011 11:31:09 AM
abbrbbq # Thursday, July 14, 2011 11:35:13 AM
Anonymous # Thursday, July 14, 2011 12:41:51 PM
Deathamns # Thursday, July 14, 2011 1:28:59 PM
Originally posted by richtr:
Not in the near future, still didn't implemented the features that I imagined, and there are many issues that I have to solve.
But there is nothing to worry about. If you don't believe me, check the source code of the extension or ask someone who knows how to...
Originally posted by abbrbbq:
You can try this:
Open Opera's error console (Ctrl+Shift+O), clear it if already has entries, go to the preferences page and press Save. If the console gives some errors, then send them to me (click on a message, Ctrl+A to select all, and Ctrl+C to copy).
Anonymous # Thursday, July 14, 2011 2:47:09 PM
Xombiemubaidr # Thursday, July 14, 2011 2:53:39 PM
1-Cannot save preferences here too.
2-Add option to disable Image resizing (use default opera's behaviour) since i would like to use it mainly for hover zoom.
Anonymous # Thursday, July 14, 2011 3:00:22 PM
Deathamns # Thursday, July 14, 2011 6:10:22 PM
Originally posted by anonymous:
Rotation is still experimental feature...Originally posted by mubaidr:
1- It's enabled by default. Can you do me the same I asked at the end of this comment?2- There is already option for that. "Default mode" under Image resizing
Originally posted by anonymous:
1) Maybe fixed.2) Typo fixed. I know about wrong centering, but don't know the source of the problem yet (but at the moment it's working for me).
3) Fixed.
Re-download and try.
Xombiemubaidr # Thursday, July 14, 2011 7:36:47 PM
Originally posted by Deathamns:
I did what u said but nothing happens, no errors, but hover zoom does not work.
Enabled when holding nothing. but it wont work and nor it save changes
Deathamns # Friday, July 15, 2011 8:29:49 AM
And you have to set "Disable when holding nothing" on preferences page to enable hover zoom (opposite logic).
Anonymous # Friday, July 15, 2011 8:47:46 AM
Anonymous # Friday, July 15, 2011 9:02:28 AM
Deathamns # Friday, July 15, 2011 9:11:26 AM
Originally posted by anonymous:
Barely enough information, please be more specific.Florin IacobMastema # Friday, July 15, 2011 9:31:05 AM
Anonymous # Friday, July 15, 2011 10:15:14 AM
Anonymous # Friday, July 15, 2011 10:16:54 AM
z@h3kZAHEK # Friday, July 15, 2011 10:20:20 AM
Emoryy # Friday, July 15, 2011 10:35:37 AM
Option is set to middle-center by default.
But:
When an image is small, it is displayed top-center.
When big, on the left.
After clicking on it to zoom, and again to zoom out, image displayed in the right position.
+Could we have animation effect while zooming too?
Anonymous # Friday, July 15, 2011 10:42:58 AM
Deathamns # Friday, July 15, 2011 11:29:01 AM
Originally posted by Mastema:
Can you give me a screenshot and a direct link, because I didn't find any "unclickable comments".Originally posted by anonymous:
I'm already using CSS transformations, but the rotation issue isn't my main priority.Originally posted by Emoryy:
I know what is the problem, but I haven't found a good solution yet.About the animation... maybe, but not so soon.
Anonymous # Friday, July 15, 2011 12:12:43 PM
Deathamns # Friday, July 15, 2011 12:42:24 PM