LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
BackTrack 3.0 / 4.0
Pre-Final

5,487
Ubuntu 9.10
4,487
VLC 1.0.3
3,388
Wine 1.0.1 / 1.1.32
2,824
Yahoo Messenger
1.0.4

2,483
Adobe Flash Player
for Linux 10.0.32.18

2,320
Thunderbird PST
Import plugin 1.2

2,290
Mandriva Linux
2010.0

1,992
Super Grub Disk
0.9799

1,577
Yellow Dog Linux 6.2
1,441

WEEK'S BEST

  • Ubuntu 9.10
  • Ubuntu Netbook Rem...
  • Pidgin 2.6.3
  • Wine 1.0.1 / 1.1.32
  • Linux Kernel 2.6.3...
  • Mozilla Firefox 3....
  • Fedora 11
  • OpenOffice.org 3.1.1
  • Firestarter 1.0.3
  • The Gimp 2.6.7 / 2...
  • FileZilla 3.2.8.1 ...
  • Transmission 1.76
  • Super Grub Disk 0....
  • Gufw 9.04.2
  • Skype 2.0.072 / 2....
  • openSUSE Linux 11....
  • Opera 10.01 / 10.1...
  • Adobe Flash Player...
  • wine-doors 0.1.3
  • Google Gadgets 0.1...
  • Home / Linux / Internet / HTTP (WWW)

    CSS Sprite Generator 4.0

    Download button

    Downloads: 1,451  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    14 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ed Eliot & Stuart Colville | More programs
    BSD License / FREE
    July 28th, 2009, 08:50 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    CSS Sprite Generator description

     

    CSS Sprite Generator is an application that allows a user to create one CSS Sprite images from multiple source images.

    CSS Sprite Generator is an application that allows a user to create one CSS Sprite images from multiple source images.

    What are CSS Sprites?

    CSS sprites are a way to reduce the number of HTTP requests made for image resources referenced by your site. Images are combined into one larger image at defined X and Y coorindates. Having assigned this generated image to relevant page elements the background-position CSS property can then be used to shift the visible area to the required component image.

    This technique can be very effective for improving site performance, particularly in situations where many small images, such as menu icons, are used. The Yahoo! home page, for example, employs the technique for exactly this.

    Requirements:

    · Apache
    · Mod Rewrite (optional)
    · PHP >= 5.2 (with Imagick or GD 2)
    · Image Magick binary (optional)
    · Command line ZIP binary
    · OptiPNG (optional)

    Set Up

    1. Copy "spritegen" directory to your server.
    2. Set up new Apache virtual host and configure document root to point to "htdocs" (preferably other files should not be accessible via the web server).
    3. Optionally add mod rewrite rules to Apache virtual host config (see "setup/mod-rewrite-rules.txt" for rules).
    4. Additionally you may want to GZIP CSS & JS for improved performance and set far futures expires headers for CSS, JS & images (see "setup/gzip-expires.txt" for rules to add to your Apache virtual host config).
    5. Ensure Apache can write to the sub-folders of "cache" (run chmod +w cache/{source-images|sprites|translations}).
    6. Copy "includes/conf/example.inc.php" to "includes/conf/live.inc.php" and configure settings according to your server environment.
    7. Modify "templates/sidebar.php". It's empty by default.
    8. Load in browser and enjoy!

      


    TAGS:

    CSS Sprite | Sprite images | CSS generator | CSS | Sprite | image



    HTML code for linking to this page:


    Go to top

    Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM