[Button] Imagefit

Finished Scripts and Buttons ready for download can be found here.

[Button] Imagefit

Postby bigC » Sun Jan 06, 2008 8:07 pm

Adds a button to your Add-on Buttons bar that resizes the images you're currently viewing to fit your screen.

This works only on images that are opened in their own window/tab.

Click Here to Auto Install
...or download below,
ImageFit.aba
(3.25 KiB) Downloaded 790 times
bigC
User avatar
Offline
AvantGuard
AvantGuard
Avantus Maximus
 
Posts: 7239
Joined: Thu Jan 30, 2003 10:40 pm
Location: New York
Windows Version: 8.1
Avant Version: 2014 Build 7
Default engine: Firefox
IE Version: 11
Skin: Crystal
Top

Re: [Button] Imagefit

Post Reply #1 by shasha » Tue Aug 25, 2009 2:52 pm

Is there anyway to make this so that it resizes pictures on forums so that the scrollbar on the bottom is gone? I ask because a lot of times a picture may be wider than the frame that it is in even though it is smaller than the client window size.
shasha
Offline
Newbie
Newbie
 
Posts: 30
Joined: Sun Mar 08, 2009 8:35 pm
Windows Version: XP SP3
Avant Version: 11.7 build 22
IE Version: 7
Top

Re: [Button] Imagefit

Post Reply #2 by bigC » Tue Aug 25, 2009 7:54 pm

I don't think so with this script but I imagine an addon could be made for that. Start a thread in Scripts and Buttons Development and Discussions, perhaps someone more skilled with javascript can come up with something.
bigC
User avatar
Offline
AvantGuard
AvantGuard
Avantus Maximus
 
Posts: 7239
Joined: Thu Jan 30, 2003 10:40 pm
Location: New York
Windows Version: 8.1
Avant Version: 2014 Build 7
Default engine: Firefox
IE Version: 11
Skin: Crystal
Top

Re: [Button] Imagefit

Post Reply #3 by sulpherdragon » Wed Aug 26, 2009 1:34 am

shasha wrote:Is there anyway to make this so that it resizes pictures on forums so that the scrollbar on the bottom is gone? I ask because a lot of times a picture may be wider than the frame that it is in even though it is smaller than the client window size.

Can you give an example website so people can try out peices of code? It would help
Image
sulpherdragon
User avatar
Offline
Contributor
Contributor
Avant Fanatic
 
Posts: 222
Joined: Sat Dec 15, 2007 9:51 pm
Windows Version: Windows 7
Avant Version: 2013 Build 23
Default engine: Firefox
IE Version:
Skin:
Top

Re: [Button] Imagefit

Post Reply #4 by André » Wed Aug 26, 2009 1:41 am

I'm thinking the best way to do this would be to take all images greater than a particular size and shrink them.
Formerly known as DrDrrae.
Image
I am not a member of the development team.
Please search the forum before posting questions.

Avant Force Wiki || Avant Force Blog
Desktop:
Intel C2Q Q9550 @ 3.7GHz || 8GiBs DDR2 800 @ 435MHz || Asus P5E
112 GiB SSD || 931 GiB HDD || 2x ATI 5770 in CrossfireX || Picture

NetBook:
ASUS Eee PC 1000HE || 1.66 GHz Atom N280 || 2 GiB DDR2 667 || 320 GiB HDD

NAS:
Intel E5200 @ 2.632 GHz || 4 GiB DDR2 800 @ 421 MHz || Foxconn G31MXP-K
5.45 TiB RAID 6
André
User avatar
Offline
Administrator
Administrator
Avantus Maximus
 
Posts: 5787
Joined: Sat Dec 14, 1901 3:19 am
Location: Baltimore and McHenry, Maryland, USA
Windows Version: Windows 7 x64
Avant Version:
Top

Re: [Button] Imagefit

Post Reply #5 by shasha » Sun Sep 06, 2009 7:52 pm

Here's an example although it's not that extreme in this case.

http://acapella.harmony-central.com/sho ... 098&page=5

Basically the image fit would ideally fit the image so that the text didn't go off the screen. Perhaps I am just expecting too much.
shasha
Offline
Newbie
Newbie
 
Posts: 30
Joined: Sun Mar 08, 2009 8:35 pm
Windows Version: XP SP3
Avant Version: 11.7 build 22
IE Version: 7
Top


Return to Scripts and Buttons Releases



Who is online

Users browsing this forum: No registered users

ABPro style designed by Statm1