[ext] ImageTweak 0.23 (beta) - now with 100% more video!

Announce and Discuss the Latest Theme and Extension Releases.
Taverius
Posts: 2
Joined: July 1st, 2011, 7:12 am

Re: [ext] ImageTweak 0.22 (trunk)

Post by Taverius »

Didn't happen on clean profile, when I tested it yesterday I needed just ImageTweak to trigger it but started the whole all-plugin-off-and-enable-one-by-one thing, and now its gone.

... gremlins. Or space Aliens O____o

I guess the profile was corrupt and "healed" itself when I ran FF5 with all plugins off?

You ignore me, Imma go cower in the corner and mutter to myself about Skynet, yo :)
User avatar
RNiK
Posts: 561
Joined: August 9th, 2006, 6:47 am
Location: Forette City, Italy
Contact:

Re: [ext] ImageTweak 0.22 (trunk)

Post by RNiK »

Enhancement Request - Temporary disable ImageTweak via context menu.

To be more clear, I would like an entry in ImageTweak context menu like "Turn OFF ImageTweak" or "Disable ImageTweak" or "Normal view" which permits to automatically reload the page without ImageTweak.
MondoWin ==> Italian site for information about MS Windows tweaking
User avatar
CAFxX
Posts: 278
Joined: May 8th, 2005, 9:59 am

Re: [ext] ImageTweak 0.22 (trunk)

Post by CAFxX »

RNiK wrote:Enhancement Request - Temporary disable ImageTweak via context menu.

To be more clear, I would like an entry in ImageTweak context menu like "Turn OFF ImageTweak" or "Disable ImageTweak" or "Normal view" which permits to automatically reload the page without ImageTweak.


Do you mean only for the current URL and tab (so, if I load the same (or another) image in another tab it's not affected, and if I load another image in the current tab it's not affected as well)?
ImageTweak - Zoom and display images against a custom background.
User avatar
RNiK
Posts: 561
Joined: August 9th, 2006, 6:47 am
Location: Forette City, Italy
Contact:

Re: [ext] ImageTweak 0.22 (trunk)

Post by RNiK »

Correct! :)
MondoWin ==> Italian site for information about MS Windows tweaking
User avatar
CAFxX
Posts: 278
Joined: May 8th, 2005, 9:59 am

Re: [ext] ImageTweak 0.23 (beta)

Post by CAFxX »

New beta!
https://github.com/downloads/CAFxX/Imag ... .23.b1.xpi

Main change: video support!
ImageTweak - Zoom and display images against a custom background.
User avatar
CAFxX
Posts: 278
Joined: May 8th, 2005, 9:59 am

Re: [ext] ImageTweak 0.22 (trunk)

Post by CAFxX »

RNiK wrote:Correct! :)

Can you describe a use case for this request? Is it because of the custom background?
ImageTweak - Zoom and display images against a custom background.
User avatar
CAFxX
Posts: 278
Joined: May 8th, 2005, 9:59 am

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by CAFxX »

Has anybody tried the beta? Any feedback? Those that were having problems on 0.22 (like not being able to close tabs) are still experiencing the same bugs?
ImageTweak - Zoom and display images against a custom background.
User avatar
RNiK
Posts: 561
Joined: August 9th, 2006, 6:47 am
Location: Forette City, Italy
Contact:

Re: [ext] ImageTweak 0.22 (trunk)

Post by RNiK »

CAFxX wrote:
RNiK wrote:Correct! :)

Can you describe a use case for this request? Is it because of the custom background?

I would like to withdraw my request. :oops:

I confused a feature provided by this script with your beautiful extension. ](*,)
MondoWin ==> Italian site for information about MS Windows tweaking
User avatar
GrailKnight
Posts: 2359
Joined: January 5th, 2004, 5:40 am
Location: Pennsylvania, USA

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by GrailKnight »

CAFxX wrote:Has anybody tried the beta? Any feedback? Those that were having problems on 0.22 (like not being able to close tabs) are still experiencing the same bugs?



I have not had any issues with the beta version on Fx v6 - Win7 Pro.
Tabs are closing as expected.
"There is nothing more deceptive than an obvious fact". - Sherlock Holmes
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by makondo »

I don't know if it's important but since it's in my console ...

Error: this.Document.body is null
Source file: chrome://imagetweak/content/imagetweak.js
Line: 570
==============
return this.Document instanceof HTMLDocument && this.Document.body.children.length == 1 && this.Document.body.children[0] instanceof HTMLVideoElement;
Zeemu
Posts: 1
Joined: October 19th, 2011, 10:26 am

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by Zeemu »

Suggestion,

Create a (customizable?) hotkey for moving to the next image in a folder, when looking at an image on a local hard-drive.

This feature would make me replace my windows photo viewer with Firefox.
User avatar
RNiK
Posts: 561
Joined: August 9th, 2006, 6:47 am
Location: Forette City, Italy
Contact:

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by RNiK »

Zeemu wrote:This feature would make me replace my windows photo viewer with Firefox.

UHMMM...

Firefox won't be a great image/photo viewer ==> viewtopic.php?f=8&t=2316503
MondoWin ==> Italian site for information about MS Windows tweaking
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by makondo »

Looks like some sort of change is coming down by Fx12, i suspect it will break the ext. Just a headsup in case you don't know.
Ozzymud
Posts: 1
Joined: February 28th, 2012, 4:06 pm

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by Ozzymud »

Dunno if this has been requested before or not, but in 3.6 i was using ImgZoom,,, but it is no longer compatible and i LOVE your addon better.

Anyhow, it had a RIGHT CLICK - SCROLL to zoom that allowed my to scroll/zoom sans keyboard... any chance of making it an option?
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: [ext] ImageTweak 0.23 (beta) - now with 100% more video!

Post by Brummelchen »

afraid this is an option within this one
https://addons.mozilla.org/de/firefox/addon/image-zoom/

currently ImageTweak has issues with tabmix plus and it creates ghost tabs (firefox 33+, see comments)
https://addons.mozilla.org/de/firefox/addon/imagetweak/

i try to resolve the concerning function due knowledge just try and error. this is that far i revealed
- download from https://addons.mozilla.org/de/firefox/addon/imagetweak/ - right mouse button save as...
- extract the extension xpi "imagetweak-0.25.1-fx+sm.xpi"
- search for "imagetweak.js", open it in any descent notepad/editor (eg notepad++)
- put into js beautifier -> http://jsbeautifier.org/
- copy that nice code back and save

issue with tabmix plus - imagetweak breaks the tab context menu, some entries are not present but they should
- this one depends on line 912 (beautified code, some of the last lines)

Code: Select all

gBrowser.tabContainer.addEventListener("TabOpen", ImageTweak.startEventHandler, true);

i am not sure if this handles also the ghost tabs.

ghost tabs - maybe some code between line 604 and 644

Code: Select all

        if (this.IsImageDocument()) {
            this.Document.restoreImage();
            this.Image.removeEventListener('click', this.Document, false);
            this.Image.removeEventListener('resize', this.Document, false);
            this.Image.removeEventListener('keypress', this.Document, false);
            this.Image.style.cursor = "auto";
        }
        this.Browser = gBrowser.getBrowserForDocument(this.Window.top.document);
        this.BrowserAutoscroll = this.Browser.getAttribute("autoscroll");
        this.Browser.setAttribute("autoscroll", "false");
        this.Document.body.setAttribute("disableGrabAndDrag", "true");
        this.Document.body.style.overflow = "hidden";
        this.Document.body.style.width = "100%";
        this.Document.body.style.height = "100%";
        this.Document.body.style.margin = "0";
        this.Document.body.style.padding = "0";
        this.Document.body.style.MozUserSelect = "-moz-none";
        this.Title = this.Document.title;
        this.ZoomMax = Math.min(ImageTweak.ImageMax / this.NaturalWidth(), ImageTweak.ImageMax / this.NaturalHeight());
        this.DefaultZoomType();
        this.addEventListener(this.Document, 'DOMMouseScroll', function(e) hImageTweak.OnMouseWheel(e), false);
        this.addEventListener(this.Document, 'mousemove', function(e) hImageTweak.OnMouseMove(e), false);
        this.addEventListener(this.Document, 'mouseup', function(e) hImageTweak.OnMouseUp(e), true);
        this.addEventListener(this.Document, 'mousedown', function(e) hImageTweak.OnMouseDown(e), true);
        this.addEventListener(this.Document, 'dblclick', function(e) hImageTweak.OnDoubleClick(e), false);
        this.addEventListener(this.Window, 'load', function(e) hImageTweak.OnLoad(e), false);
        this.addEventListener(this.Window, 'unload', function(e) hImageTweak.OnUnload(e), false);
        this.addEventListener(this.Window, 'resize', function(e) hImageTweak.OnResize(e), false);
        this.addEventListener(this.Window, 'keypress', function(e) hImageTweak.OnKeyPress(e), false);
        this.addEventListener(this.Window, 'drag', function(e) hImageTweak.OnDrag(e), false);
        this.addEventListener(this.Window, 'dragstart', function(e) hImageTweak.OnDragStart(e), false);
        this.addEventListener(this.Window, 'dragend', function(e) hImageTweak.OnDragEnd(e), false);
        this.addEventListener(this.Window, 'dragenter', function(e) hImageTweak.OnDragEnterWindow(e), false);
        this.addEventListener(this.Window, 'dragleave', function(e) hImageTweak.OnDragExitWindow(e), false);
        this.addEventListener(this.Window, 'dragover', function(e) hImageTweak.OnDragOverWindow(e), false);
        this.addEventListener(this.Window, 'keyup', function(e) hImageTweak.OnSelection(e), false);
        this.addEventListener(this.Window, 'mouseup', function(e) hImageTweak.OnSelection(e), false);
        var empty = ImageTweak.getCanvas(this.Document, 1, 1);
        this.EmptyDragImage = empty.canvas;
        this.Inited = true;
        this.Repaint();

those ghost tabs are not visible in the tab bar but in the tabview (panorama) CTRL+SHIFT+E, ShowCase can display them too in global preview.

as blank tabs are no eye catcher some need to investigate constantly when they appear.

the latest version is from July 29, 2012, so pretty old.
the only function i actually miss is ctrl + right click on images in websites to display them in same tab, not "open graphic in new tab". and i did not find a replacement.
Post Reply