10 year anniversary

Home


Hosting Directory


Host Search


Request a Quote


Web Hosting News


Hosting Forums


Web Host Awards


Guides
Web Hosting
Choose a Host
Dedicated Servers
Reselling
Free Hosting
Articles
Industry News
HTML Explained
Advanced HTML
ASP Explained


Free Listings on Web Host Directory and drive buyers to your Web Hosting Business





Advanced HTML Back to Articles & Guides 
Slicing Your Images

There are a number of good reasons why slicing up your images can help your web page design. Sliced images can give your pages a faster download time. Simply, it takes less time to send several smaller images than it takes to send one large one.

Slicing comes in handy when using more than one file format in an image. There are two main image formats on the web. In practice, drawn images or flat colors look best as GIF, while photographic images are best as JPEG. Quite often images have a mixture of flat colors and photographic areas. An easy solution is to save some parts as GIF and others as JPEG. You must slice images to create JavaScript behaviors such as Rollovers and Swapping Images. By slicing up a large image, you can also make the smaller images into active links. This way one image can have a number of links and appear as a working Image Map.

Slice And Dice

Both Macromedia's Fireworks and Adobe ImageReady have functions that export images as a series of numbered graphics, along with the HTML table code to hold them together.

To do this manually, you need to be familiar with an image program like Adobe Photoshop or Paint Shop Pro to create the graphics and then write the code yourself.

Using ImageReady

Open your image and select View > Rulers. Drag down a ruler guide into position on the image where you intend to slice. Drag down more guides, until you have the image divided into a grid.

Select the format and optimization values with the Optimize palette and Optimize preview. Save the file using File > Save Optimized As. This opens the Save As dialog box where you can check the boxes next to Save HTML File and Slice Along Guides.

ImageReady creates your graphics numbered by row and column, as well as the table code to hold them together. All you have to do is copy and paste it into your own HTML file.



  Contents     Image Slicing - Part 2   |  Guides

Related Guides
Advanced HTML
ASP Explained
Related Areas
Search for a web host

Featured Hosts
WebIntellects: Tired of bait and switch hosting? Low cost gimmicks? So are we. See why we are the provider of choice in over 80 countries world-wide!
The Planet Hosting: Dedicated Server Deals: As the leading dedicated server hosting provider, The Planet always gives you the best prices on website hosting. See all our deals.
US2.net: Offers customers another choice in hosting. Our complete and Plus web hosting packages are generous in specification, with a range of essential features, but best of all at an amazing price.
IX Web Hosting.com: As low as $0.81/mo per hosted domain name! FREE Domain Registration, 200,000MB to UNLIMITED Web Space & FREE Website Builder!
SuperbHosting.Net: Starting as low as $2.50/m, 2 FREE Domains, FREE Setup + WebSiteCreator + Blog Software, Unlimited Traffic, 200 GB HD, your own IP, 2500 Emails, daily backups & more, connected to our coast-to-coast backbone.
$5.95/mo – 6 MONTHS FREE: UNLIMITED Disk Space, UNLIMITED Bandwidth, FREE Domain, FREE Site Builder, FREE Setup, and MORE!
Crystaltech.com: Host with the best! 3 FREE months with a waived setup on any new dedicated server! Call 1-877-323-HOST or visit CrystalTech.com today!
Hivelocity.com: Core2Duo- $119/mo, Core2Quad- $149/mo, Quad-Core Xeon- $185/mo, Dual Quad-Core Xeon- $299/mo, Zero Setup- Free Ram Upgrades
Ace-host.net: 500 GB Disk Space, 5,000 GB Bandwidth, Host up to 20 Domains, Unlimited Email Addresses, 24/7 Technical Support, 99.9% Uptime Guarantee, 30-Day Money Back Guarantee - Starting at $6.95/month
Rackspace: Rackspace delivers fully managed windows and linux hosting solutions, a Zero-Downtime Network(tm) and 24x7x365 Fanatical Support(tm).
Aplus.Net: AWARD-WINNING Hosting at Small Business-Friendly Prices (from $5.95 / mo.) - FREE Setup - FREE Domain - 99.9% Uptime - 24/7 Support - LIMITED TIME SALE!
hostgator.com: CALL NOW 1-866-96-GATOR >> 24/7 >>PHONE AND INSTANT MESSENGER SUPPORT >>A TON OF SPACE!! >>> TONS OF >>BANDWIDTH! >> FREE SETUP >> DOZENS OF FREE SCRIPTS INSTALLED >>
Softlayer Technologies: Dedicated Servers, free services & private network; Come to SoftLayer for best in class facilities, technology & customer support

Most Popular Web Hosting Searches Advertisers, Get Listed Here. 
LYPHA.COM - Recommended
2.5TB Storage, 20TB Transfer - $3.95/mo. Free Domain Name.... more
Mochahost.com
From $3.71/mo; cPanel, Unlimited mailboxes, Free Site Builder w/ 500+ templates, PHP5, MySQL5, JSP, Ruby, SVN, 20,000 MB space & ... more
REG2C.COM
Hosting packages for all kind of needs starting from 15$ /year. Go and Check!... more



Unix/Linux Shared Hosts
LYPHA.COM - Recommended
2.5TB Storage, 20TB Transfer - $3.95/mo. Free Domain Name.... more
REG2C.COM
Reg2c.com is an ICANN accredited registrar company.Beside ... more
OKmyhosting
Offer affordable web hosting packages.5G storage and 50G ... more
Unix/Linux Dedicated Hosts
Versaweb Hosting
Get the dedicated hosting solution you need, starting as ... more
Peer1 Network
Boost your performance online with PEER 1's award-winning ... more
Steadfast Networks
High level of service& low price Dedicated Servers & ... more
Top 3 Shared Hosts
LYPHA.COM - Recommended
2.5TB Storage, 20TB Transfer - $3.95/mo. Free Domain Name.... more
REG2C.COM
Hosting Packages for beginners to professionals with the ... more
IX-ONE.COM Domain Company
IX-ONE.COM is a provider of world-class products at ... more
advertisers: Get listed here
> About us
> Terms & Conditions
> Privacy Policy
> Advertising
> Contact us
> Forum Archive
> Sitemap
> RSS  RSS
RECOMMENDED BY
  Copyright © 1997-2008, Web Host Directory Ltd.  Web Hosting Directory