No images in evga.com forum posts

Forums » General Opera topics » Open the Web

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

27. February 2009, 14:24:20

No images in evga.com forum posts

To answer a question by sinephase:

The forum post:

http://www.evga.com/forums/tm.asp?m=750044

should show a US dollar note, and does so in IE and Firefox, but not Opera. The reason is the following code on the page (near the top):
.msg img	{ max-width: 440px; width: expression(this.width > 440 ? 440: true); content: attr(x)}[/url]The important part is the "content: attr(x)" part. What this does is replace the content of the image with the value of the attribute "x". The problem is the image does not have an attribute "x". That results in the image being replaced with an empty string. Other browsers do not fully supply this CSS (yet), and so do not have this problem.

The fix is for the site to remove that instruction from their web page template.

Edit: PS, for smooth image zooming (your other question) go to:

[url]opera:config#Multimedia[/url]

and make sure Interpolate Images is ticked.
Web Site (Opera pages) : Blog
(currently using Opera 10 and a fairly recent v10.10 alpha)

27. February 2009, 18:18:06 (edited)

sinephase

Posts: 3

Thanks for the reply.
So if I get the gist, you're saying that the site's coding is made for browsers that don't support CSS very well? (I'm not great at programming websites, especially CSS sad )
Also, interpolate is already checked in the config, so I'm not sure why it's like that?
Here's a screenshot comparison, Opera is the left emoticon, FF is the right:
http://i39.photobucket.com/albums/e182/sinephase/smoothFFvsOP.jpg

28. February 2009, 02:29:55

I can't explain why "content:attr(x)" was put in in the first place, but I'm sure it was forgotten because it had no visible effect in the browsers they were testing (probably IE and Firefox).

A lot of web designers don't really know what they're doing, and write all sorts of random code in the hope it will turn out the way they want. If it messes up, they delete it. If it doesn't, it's often left in. The problem with the latter is if the code is acted on by browsers other than those they tested with, as happened in this case.

PS, I see the pixellation in the smilely. Maybe interpolation has been disabled? It used to be in the Preferences dialog, but perhaps it was removed because it doesn't work.
Web Site (Opera pages) : Blog
(currently using Opera 10 and a fairly recent v10.10 alpha)

28. February 2009, 22:38:46

BtEO

Posts: 1018

Interpolation is only applied by Opera to images with bit depth of 24 or 32-bit. The smileys here are GIFs, and so don't qualify.
MyOpera Community Enhancements — by xErath & BtEO
MyOpera Community Optimizations — by fearphage
Scribit improved posting tools for the MyOpera Community — by xErath
Improve Weeklies Blog — by MisterE & fearphage

Forums » General Opera topics » Open the Web