Subscribe to Feeds

Articles under Tag : Reviews

02 Jan

PHP + Javascript Image Replacement

Javascript , Resources , Reviews , Tips n Tutorials

Some of you would have already used this but we thought to review this for those who haven’t put their hands on it.

This method is basically to get smooth font over your headings/titles. The package comes with a PHP and a Javascript file which replaces all the specified tags with images (dynamic). This can be applied to IDs/Classes/Tags on your site.

A few options over this:

  • Line Breaks (enable/disable)
  • Custom Fonts
  • Font Size / Color
  • Transparency
  • Image flickering (enable/disable)
  • more…

Customization

ifr.js

replaceSelector(” h2 “,” ifr.php “,false);
var testURL = “ test.png ” ;

  • h2 - Tag to be replaced with the image
  • ifr.php - the URL of the PHP file which generates the images.
  • false - Enable/Disable line breaks (splits each word into an image so it floats below and goes on)
  • test.png - the test image which loads to check if images are enabled on the browser (if not… the php will not generate the images)

.

ifr.php

$font_file = ‘futura.ttf’ ;
$font_size = 30 ;
$font_color = ‘#000000′ ;
$background_color = ‘#ffffff’ ;
$transparent_background = true ;
$cache_images = true ;
$cache_folder = ‘cache’ ;

The above is very much self explanatory…

.

Here is a working demo for download:

Download

This file has been downloaded 3733 times.

All the files from the download has to be placed in the PHP server (localhost of your system). After you make the above changes you will look at index.php from your localhost for your new image replaced titles…

The final output:

This is a smooth font title generated over this method.

Another popular method would be sIFR where the titles are replaced with an SWF object.

Find more about movie downloads.
End of Article
26 Sep

If you are a DESIGNER….

Reviews

We are proud to be part of a huge designer community and sure you too are… What softwares do you use for your DESIGN ? This is one question even we ask every designer we meet.

Well, its good to know what your fellow designer friends are using, so we decided to have a poll and let all the designers know what you are on top of…

If you are a DESIGNER… (Web / 3D / 2D ) then please take the poll below. (The list below are only a few popular ones. If we have missed out any important one, please put them in the other field.)

NOTE: Multiple Choices are enabled.

End of Article

Small Life

Naturaaa

Droplet

Chameleon

Snail

South Lake Tahoe

Hill View

© 2007 - 2008 Dezinerfolio. All Rights Reserved.
Powered by Wordpress & Hosted at Zone.net