Beoardielingen foar View Image Context Menu Item
View Image Context Menu Item troch Anton G
63 beoardielingen
- Wurdearring: 5 fan 5troch Hollytryx, 4 moannen lyn
- Wurdearring: 5 fan 5troch Mertsch, ien jier lynSo useful, does not work in EVERY case, but in so many, that it's really an improvement.
- Wurdearring: 2 fan 5troch Firefox-brûker 18575513, ien jier lynEvery 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.
Antwurd ûntwikkeler
ien jier lyn pleatstThis 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. - Wurdearring: 5 fan 5troch TyDraniu, ien jier lyn
- Wurdearring: 5 fan 5troch Milan, 2 jierren lynWorks 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 youAntwurd ûntwikkeler
2 jierren lyn pleatstPlaying 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. - Wurdearring: 5 fan 5troch Taekilla, 2 jierren lyn
- Wurdearring: 5 fan 5troch r2rien, 2 jierren lyn
- Wurdearring: 5 fan 5troch ^5 david slayer, 2 jierren lyn
- Wurdearring: 5 fan 5troch Linkitch, 2 jierren lyn
- Wurdearring: 5 fan 5troch ALH, 2 jierren lyn
- Wurdearring: 5 fan 5troch Firefox-brûker 15094302, 2 jierren lynVery helpful. I have no clue why the original menu item was removed, but this add-on restores it without causing any issues. Thank you!
- Wurdearring: 5 fan 5troch nyuu, 2 jierren lynThe 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;Antwurd ûntwikkeler
2 jierren lyn pleatstThanks 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. - Wurdearring: 5 fan 5troch Aadolf Kärki, 2 jierren lyn
- Wurdearring: 5 fan 5troch Firefox-brûker 16596123, 3 jierren lynworked great until a recent MANDATORY update from firefox. I fucking hate firefox but this extension is good
- Wurdearring: 5 fan 5troch ZedEdge, 3 jierren lyn
- Wurdearring: 5 fan 5troch lynx, 3 jierren lyn
- Wurdearring: 5 fan 5troch BluePenguin, 3 jierren lyn
- Wurdearring: 5 fan 5troch Nero14x, 4 jierren lyn
- Wurdearring: 4 fan 5troch k-rock, 4 jierren lynIs there any way we can make "view image" not be fixed at the very top? It gets in the way of "Open Link in New Tab". For those kind of pages I rather have it in the third section of the Menu where "Open Image in New Tab" would be.
Antwurd ûntwikkeler
4 jierren lyn pleatstYes it can be done through userChrome.css
See this thread: https://github.com/agoupinets/view-image-context-menu-item/issues/14
Firefox does not give any nice way for developers to interact with the menu when writing the add-on, so to rearrage it you effectively need to order it by hand. - Wurdearring: 5 fan 5troch Firefox-brûker 13630698, 4 jierren lynThanks for doing this, I can't believe they changed something that was working perfectly fine... the only thing I've trouble with is that I can't figure out how to change it's position from the top to lower ones since I tend to right-click the thumbnail and open vids in another tab.
EDIT: That thread was what I was looking for, thanks again :)Antwurd ûntwikkeler
4 jierren lyn pleatstIf you mean the context menu ordering, by default addon menu items are listed at the bottom. By messing with UserChrome.css you can make them appear in a custom order.
In the addon description i have some basic CSS to always list it first in the context menu, but if you want to have better control over the ordering, check this thread: https://github.com/agoupinets/view-image-context-menu-item/issues/14
And also of note that in the add-on preferences there are options to change the left/middle/shift-click behavior of the context menu item if desired. - Wurdearring: 5 fan 5troch Firefox-brûker 13689361, 4 jierren lyn
- Wurdearring: 3 fan 5troch BlohoJo, 4 jierren lynDoes not work with imgur... expected behavior is selecting the "View Image" from the context menu opens the image itself, but actual behavior is it opens the page for the image on the imgur website. So for example, it opens "//imgur.com/xxxxxxx" instead of "//i.imgur.com/xxxxxxx.jpg".
Antwurd ûntwikkeler
4 jierren lyn pleatsti am unable to replicate this in my own testing; i appear to be able to correctly open both image and video media using this addon when viewing imgur posts (correctly loads i.imgur.com/... url). if you can replicate this, can you please give a list of detailed steps (preferably open an issue on github as reviews don't support conversations well)? - Wurdearring: 5 fan 5troch asg aesgasgea sg, 4 jierren lynkinda sad that one needs an addon for some basic function. shame on you firefox :P
- Wurdearring: 3 fan 5troch Atant, 4 jierren lynОчень нужная вещь, но пока недоработанная. Нет перелистывания изображений, открывает изо в том же окне, потому глючит возврат на страницу.
Antwurd ûntwikkeler
4 jierren lyn pleatstcan you please elaborate on the issue? im not sure i understand what doesn't work correctly. (starting an issue on github would be ideal)