Skip raster images and just output the images as SVG. OK, only works in Firefox 1.5+, but it would get you everything in one file without bloated encoding. :-) On Thursday 28 June 2007, Marek wrote: > It's not really a limitation but a personal goal. > > I develop a small public script that is meant to be very compact and > portable. All of its functionality fits nicely in one php file. But at > the moment it requires a bunch of tiny icons. I would like to eliminate > this and just have a single file. But without ruining the graphical > interface. > > So far the best solution i just came up with is to have two files - one > would be an image with all the icons and i could use css to display the > right icon. > > Marek -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php