[TYPO3-core] RFC #16409: Implement fallback solution for box-shadow of module menu and tree frame

Steffen Gebert steffen at steffen-gebert.de
Tue Nov 16 09:49:57 CET 2010


> Am 15.11.2010 23:08, schrieb Steffen Gebert:
>> +	background-image: url("data:image/png;base64,R0lGODlhAgABAIAAAMjIyLOzsyH5BAAAAAAALAAAAAACAAEAAAICRAoAOw==");
>
> is this really the way to go and how to get an image out of that again?

It's the way I'd like to go, yes.

The path to the image file is two lines below, needed for IE<8:
 > background-image: 
url("data:image/png;base64,R0lGODlhAgABAIAAAMjIyLOzsyH5BAAAAAAALAAAAAACAAEAAAICRAoAOw==");
 > *background-image: url("../../images/backgrounds/module-menu-right.png");

And.. we're developers, aren't we?
 > file_put_contents('image.png',
 >   base64_decode('R0lGODlhAgABAIAAAMjIyLO...'));
Too hard to get the image back, even without the file path?

I see no reason in not having data-uris for 2px images.

Are you okay with this, Georg?

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member

Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list