Re: Include images in php file
| From: | Larry Garfield | Date: | Fri, 29 Jun 2007 03:56:52 +0000 |
| Subject: | Re: Include images in php file | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257932@lists.php.net to get a copy of this message | ||
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@garfieldtech.com 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