fix me beautifull
category: general [glöplog]
Manwe: added.
Just for the record. I have added a shitload of soundtrack-links to atari productions today.
Ayee!! Images in threads are displayed using a fixed percentage of the page width. I'm using Opera (9.52) and all images are ~666 pixels wide (1024 x 768).
Is it easily fixable by you or do I have to apply a userjavascripthack?...
Is it easily fixable by you or do I have to apply a userjavascripthack?...
put http://www.pouet.net/prod.php?which=51805 in amiga demo compo, plz
lol, already did it myself 8D
ps : I thought I was the only one but it seems that since yesterday, some threads with images make IE 7 crash (Salinga) or freeze (me).
Who changed my entry #51088 (Crossover intro for Atari 8bit)? There is no group called Unreal on the Atari and they definitely didn't produce it. Not even C.P.U. are the authors, except that Raster was a betatester.
PG: can't remember if I maybe did it... so who's the author then?
http://capped.tv/playeralt.php?vid=ate_bit-ribbons_tunnels_techno0
is a capped.tv video for this:
http://www.pouet.net/prod.php?which=51668
is a capped.tv video for this:
http://www.pouet.net/prod.php?which=51668
prodigy: its supposed to only resize images larger than the bbs frame.. but its probably resizing too small. or is it resizing everything? fuck, i'll need to install opera to fix this -_-
keops: i need a screenshot to know wtf is going on in ie7/ie8, i only have ie6 where its working properly and no desire to upgrade.
i can only assume that width auto is crashing ie in some unknown image size circumstances
and also that opera recognizes the javascript thing but applies the css differently from ie and ff -_-
p01!! help! how the fuck do i make this thing work for all browsers? is it impossible? im trying to resize to 95% the pics which would b0rk the tables with their size. im tempted to drop trying to fix it on the css -_-
keops: i need a screenshot to know wtf is going on in ie7/ie8, i only have ie6 where its working properly and no desire to upgrade.
i can only assume that width auto is crashing ie in some unknown image size circumstances
and also that opera recognizes the javascript thing but applies the css differently from ie and ff -_-
p01!! help! how the fuck do i make this thing work for all browsers? is it impossible? im trying to resize to 95% the pics which would b0rk the tables with their size. im tempted to drop trying to fix it on the css -_-
I have the scaling problem with all the browsers I'm using. All the picures are sceled up in FF2, IE7, Opera and GC.
Hope you get any luck fixing soon this as it is getting rather annoying. :P
Hope you get any luck fixing soon this as it is getting rather annoying. :P
i'm getting the scale-up thing on opera 9.52 as well... every posted image everywhere is the same width.
my two cents on the resize issue...
this would seem to work on ff3 and opera (and therefore hopefully any sane browser such as ff2, safari and chrome):
as for the ie workaround, i think the reason why you can't refer to this.width in the javascript expression is that the img tags don't have the width property set. max-width is still broken in ie7, so until ie8 catches on, i'm guessing our best bet is to just display the part of the image that fits into the table and crop the rest. you'd do it with something like this:
and because embedded css hacks are a no-no, you'll probably want to use conditional comments in the <head> block for the ie styles, something like
this would seem to work on ff3 and opera (and therefore hopefully any sane browser such as ff2, safari and chrome):
Code:
.bbimage {
max-width: 100%;
width: 100%;
}
.bbimage img {
max-width: 100%;
width: auto;
}
as for the ie workaround, i think the reason why you can't refer to this.width in the javascript expression is that the img tags don't have the width property set. max-width is still broken in ie7, so until ie8 catches on, i'm guessing our best bet is to just display the part of the image that fits into the table and crop the rest. you'd do it with something like this:
Code:
.bbimage {
/* 0.75 because the width of the table apparently is 75% */
width: expression(document.body.clientWidth * 0.75);
overflow: hidden;
}
.bbimage img {
width: auto;
}
and because embedded css hacks are a no-no, you'll probably want to use conditional comments in the <head> block for the ie styles, something like
Code:
<!--[if lte IE 7]> <style type="text/css">
/* css goes here */
</style> <![endif]-->
Check with javascript if the width is bigger that the available width. If it is, insert it into a div with constant width and overflow auto. I would really prefer the scrollbar than the browser resize. And, use "Internet Explorer Application Compatibility VPC Image"
reed:
works fine on ff3 but not on opera 9.52
Code:
.bbimage {
max-width: 100%;
width: 100%;
}
.bbimage img {
max-width: 100%;
width: auto;
}
works fine on ff3 but not on opera 9.52
ah wait, now it works. dropping .bbimage altogether and just using .bbimage img
right, lets try to patch the ie shit now then
right, lets try to patch the ie shit now then
uh, no. fucks up on ff3 -_- grah
all images scaled up on google chrome too
texel: my point was, you can't check the width with javascript if you don't have a width attribute on the img tag
ps: it worked on my opera 9.52 when i tried applying the style with a user script (and thus added !important to the css rules)
ps: it worked on my opera 9.52 when i tried applying the style with a user script (and thus added !important to the css rules)
Crossover (entry #51088) authors:
Code: Marek Pavlik (MaPa)
Idea,Gfx,Msx: Zdenek Eisenhammer (PG)
Betatesting: Radek Sterba (Raster)
Minor optimizations: Bob!k
Code: Marek Pavlik (MaPa)
Idea,Gfx,Msx: Zdenek Eisenhammer (PG)
Betatesting: Radek Sterba (Raster)
Minor optimizations: Bob!k