Reviews for View Image Context Menu Item
View Image Context Menu Item by Anton G
Response by Anton G
69 reviews
- Rated 5 out of 5by leftdisconnected, 10 days agoDoes exactly what it claims. It annoys me that I cannot open an image in the current tab and must always open images in background tabs.
The "View Image" entry is normally placed at the bottom of the context menu as this how Mozilla intends add-ons to add entries, but this author has attempted to resolve that by offering Chrome.css modifications in the description above for adventurous users. I have not tested those modifications, but each code section can be enabled/disabled as desired. - Rated 5 out of 5by Firefox user 20272739, 25 days agoI can't live without it. What a dumb change by Mozilla, why change stuff that worked fine for 20 years?
Anyway, below is my slimmed down version of userchrome.css - it puts "view image" context menu entry above the native "open image in new tab" without an icon - to match the style of the rest of the context menu. Uncomment last section to remove "open image in new tab" entirely to mimic the Firefox of old.
/*
* View Image Context Menu Item
*
* Place the extension's "View Image" immediately before
* Firefox's native "Open Image in New Tab".
*
* No native menu items are hidden or disabled.
* Other context menus retain their default ordering.
*/
/* Move items preceding Firefox's native image command
ahead of the extension's View Image command.
Only active when the extension's command is present. */
#contentAreaContextMenu:has(
> menuitem[id*="view-image-context-menu-item"]:not([hidden])
) > :has(~ #context-viewimage) {
order: -2 !important;
}
/* Position View Image just before the native image command. */
#contentAreaContextMenu >
menuitem[id*="view-image-context-menu-item"] {
order: -1 !important;
}
/* Hide the View Image extension's icon */
#contentAreaContextMenu >
menuitem[id*="view-image-context-menu-item"] >
:is(.menu-icon, .menu-iconic-left) {
display: none !important;
}
/*
* OPTIONAL:
* Uncomment if you want to REPLACE Firefox's
* "Open Image in New Tab" rather than keep both.
*
* #context-viewimage {
* display: none !important;
* }
*/ - Rated 5 out of 5by 退出党团队远离中共邪教, a month ago
- Rated 5 out of 5by yellowfox, 2 months agoI need this for the old UI/UX feel and my workflow. Great addon!
- Rated 5 out of 5by WuJiao2000, a year ago
- Rated 5 out of 5by fish_inn, a year agoAbsolutely essential addon. The icon came back on 140 esr, but that's minor.
- Rated 5 out of 5by Hollytryx, a year ago
- Rated 5 out of 5by Mertsch, 2 years agoSo useful, does not work in EVERY case, but in so many, that it's really an improvement.
- Rated 2 out of 5by Firefox user 18575513, 2 years agoEvery time I click to drag the image around, the zoom resets. It's impossible to use. If you fixed that, it'd be the best image zoom addon available.
Developer response
posted 2 years agoThis behavor - clicking on a zoomed in/out image resetting zoom to 100% - is default Firefox behavior for images (similar to how the image is drawn centered on the page and on a dark gray background). Using the built-in "open image in new tab" has the same behavior.
The addon does not have control the browser's rendering/behavior of the image, all it does it just open the image. It's unlikely that add-ons could alter the zoom behavior of the browser, at least not without some very hacky workarounds liable to break between firefox updates.
At this point, I suspect your best bet is to file a ticket on bugzilla, as this sounds like its a UX issue for touch-based pinch-zoom and panning of an image accidentally causing a click event to reset the zoom level. Sorry. - Rated 5 out of 5by TyDraniu, 2 years ago
- Rated 5 out of 5by Milan, 3 years agoWorks mostly great. Question: can something be done about reddit images? Simply opening image URL in new tab doesn't work, it opens reddit page with image which means image cannot be easily zoomed in.
Edit: update is working as described in the reply. Thank youDeveloper response
posted 3 years agoPlaying around with it, reddit seems to utilize the Accept header, which with the add-on did not tamper. By default it was accepting "text/html" before any other mime types. Altering the Accept header to instead specify media types first seems to work with reddit at this point. I've updated the add-on (version 3.3) with an option, enabled by default, to override the Accept header for this compatiblity. - Rated 5 out of 5by Taekilla, 3 years ago
- Rated 5 out of 5by r2rien, 3 years ago
- Rated 5 out of 5by ^5 david slayer, 3 years ago
- Rated 5 out of 5by Linkitch, 3 years ago
- Rated 5 out of 5by ALH, 4 years ago
- Rated 5 out of 5by Firefox user 15094302, 4 years agoVery helpful. I have no clue why the original menu item was removed, but this add-on restores it without causing any issues. Thank you!
- Rated 5 out of 5by nyuu, 4 years agoThe CSS provided in the description uses now-deprecated selectors so your users' view image button is going to be moved back to the middle of the items instead of the top. If people are reporting vague "errors"; this is why.
Below is a corrected userChrome setup for the affected portions:
menuitem[id*="view-image-context-menu-item"] {order: -1 !important;}
menuitem[id*="view-video-context-menu-item"] {order: -1 !important;}
menuitem[id*="view-audio-context-menu-item"] {order: -1 !important;}
#contentAreaContextMenu {display: flex; flex-direction: column-reverse;Developer response
posted 4 years agoThanks for the heads up; looks like I was behind the times on my Firefox updates. I've updated to 113 and saw it broke my menu as well.
I've updated the the userChrome in description to start using order instead of the deprecated moz box ordering. Though in my testing i did not see any effects of flex-direction: column-reverse so i have left it out. - Rated 5 out of 5by Aadolf Kärki, 4 years ago
- Rated 5 out of 5by Firefox user 16596123, 4 years agoworked great until a recent MANDATORY update from firefox. I fucking hate firefox but this extension is good
- Rated 5 out of 5by Aklia, 4 years ago
- Rated 5 out of 5by lynx, 5 years ago
- Rated 5 out of 5by BluePenguin, 5 years ago
- Rated 5 out of 5by Nero14x, 5 years ago