Avant Browser

Avant Browser community forum
It is currently Wed Oct 22, 2014 9:36 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [Button] Imagefit
Poston: Sun Jan 06, 2008 8:07 pm 
Offline
AvantGuard
AvantGuard
Avantus Maximus
User avatar

Joined: Thu Jan 30, 2003 10:40 pm
Posts: 7240
Location: New York
Windows Version: 8.1
Avant Version: 2014 Build 7
Default engine: Firefox
IE Version: 11
Skin: Crystal
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,
Attachment:
ImageFit.aba [3.25 KiB]
Downloaded 801 times


Top
 Profile  
 
 Post subject: Re: [Button] Imagefit
Post Reply #1 on: Tue Aug 25, 2009 2:52 pm 
Offline
Newbie
Newbie

Joined: Sun Mar 08, 2009 8:35 pm
Posts: 30
Windows Version: XP SP3
Avant Version: 11.7 build 22
IE Version: 7
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.


Top
 Profile  
 
 Post subject: Re: [Button] Imagefit
Post Reply #2 on: Tue Aug 25, 2009 7:54 pm 
Offline
AvantGuard
AvantGuard
Avantus Maximus
User avatar

Joined: Thu Jan 30, 2003 10:40 pm
Posts: 7240
Location: New York
Windows Version: 8.1
Avant Version: 2014 Build 7
Default engine: Firefox
IE Version: 11
Skin: Crystal
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.


Top
 Profile  
 
 Post subject: Re: [Button] Imagefit
Post Reply #3 on: Wed Aug 26, 2009 1:34 am 
Offline
Contributor
Contributor
Avant Fanatic
User avatar

Joined: Sat Dec 15, 2007 9:51 pm
Posts: 222
Windows Version: Windows 7
Avant Version: 2013 Build 23
Default engine: Firefox
IE Version:
Skin:
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


Top
 Profile  
 
 Post subject: Re: [Button] Imagefit
Post Reply #4 on: Wed Aug 26, 2009 1:41 am 
Offline
Administrator
Administrator
Avantus Maximus
User avatar

Joined: Sat Dec 14, 1901 3:19 am
Posts: 5787
Location: Baltimore and McHenry, Maryland, USA
Windows Version: Windows 7 x64
Avant Version:
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


Top
 Profile  
 
 Post subject: Re: [Button] Imagefit
Post Reply #5 on: Sun Sep 06, 2009 7:52 pm 
Offline
Newbie
Newbie

Joined: Sun Mar 08, 2009 8:35 pm
Posts: 30
Windows Version: XP SP3
Avant Version: 11.7 build 22
IE Version: 7
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group