![]() |
|
View Poll Results: If yes to 3, how much? | |||
N/A |
![]() ![]() ![]() ![]() |
35 | 94.59% |
almost match her |
![]() ![]() ![]() ![]() |
0 | 0% |
match her |
![]() ![]() ![]() ![]() |
1 | 2.70% |
beat her |
![]() ![]() ![]() ![]() |
1 | 2.70% |
Voters: 37. You may not vote on this poll |
![]() |
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
![]()
I'll add one, its a simple work around someone posted a while back but I think really handy. If someone posts an oversized image and breaks the thread, if you use the following javascript, it resizes it down. You can adjust the 800 in the first line depending on your screen resolution. Just add it (as one single line) as a bookmark, then use the bookmark in any threads with a big image.
javascript:maxwidth=800;pi=document.getElementsByT agName("img"); for(var%20i=0;i<=pi.length;i++){var%20aspectrat io=(pi.item(i).height/pi.item(i).width); if(pi.item(i).width>maxwidth){pi.item(i).width= maxwidth;pi.item(i).height=aspectratio*maxwidth;}} |
#12
|
|||
|
|||
![]()
ty
|
#13
|
|||
|
|||
![]()
[ QUOTE ]
I'll add one, its a simple work around someone posted a while back but I think really handy. If someone posts an oversized image and breaks the thread, if you use the following javascript, it resizes it down. You can adjust the 800 in the first line depending on your screen resolution. Just add it (as one single line) as a bookmark, then use the bookmark in any threads with a big image. javascript:maxwidth=800;pi=document.getElementsByT agName("img"); for(var%20i=0;i<=pi.length;i++){var%20aspectrat io=(pi.item(i).height/pi.item(i).width); if(pi.item(i).width>maxwidth){pi.item(i).width= maxwidth;pi.item(i).height=aspectratio*maxwidth;}} [/ QUOTE ] |
#14
|
|||
|
|||
![]()
[ QUOTE ]
I'll add one, its a simple work around someone posted a while back but I think really handy. If someone posts an oversized image and breaks the thread, if you use the following javascript, it resizes it down. You can adjust the 800 in the first line depending on your screen resolution. Just add it (as one single line) as a bookmark, then use the bookmark in any threads with a big image. javascript:maxwidth=800;pi=document.getElementsByT agName("img"); for(var%20i=0;i<=pi.length;i++){var%20aspectrat io=(pi.item(i).height/pi.item(i).width); if(pi.item(i).width>maxwidth){pi.item(i).width= maxwidth;pi.item(i).height=aspectratio*maxwidth;}} [/ QUOTE ] Ok, I posted this shortly before sleeping and probably didn't step through it enough. Big disclaimer, I have never written any Java in my life, but found this script really handy when someone else posted it previously. To add the bookmark to fix oversized images. 1) In firefox, click bookmarks->organise bookmarks. 2) In the bookmarks manager that opens, name it whatever you want, "resize" or something. 3) Then into the location field, copy and paste the 3 lines of code 1 at a time, such that you have one giant line. 4) Click ok, then use the bookmarks manager to put this bookmark wherever you want, and you're good to go. The 800 in the first line means that any images > 800 pixels in width will be scaled down to 800. If you're running a higher resolution, like 1600*1200 or more, you may be able to get away with using a higher number here, play around with it however you want. |
#15
|
|||
|
|||
![]()
Btw, I love this site themaninblue.com ... great place to read about web design/programming stuff.
|
![]() |
|
|