Subscribe to Feeds

Articles under Tag : Resources

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 3663 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
29 Nov

dFlover Wordpress Theme

Resources , Wordpress

dFlover was one theme we were thinking to use on our site but after so good feedback we decided to give this lovely resource for download. This is a dark theme with lot of flowers (some like it and even some didn’t…)

Logo

Features:

  • Compact Wordpress theme.
  • Wordpress 2.3 Compatible
  • Included Flickr and Gravatar Plugins

Installation Notes

  • Unzip and replace wp-content in your Wordpress installation directory.
  • Activate the plugis in the wp-admin.
  • Enter your flickr ID in the flickr plugin options to get it work.
  • Choose the blank Gravatar “blank_gravatar.png” (wp-content\gravatars) in the gravatar settings.

Others

  • Change the sidebar welcome note in sidebar.php
  • Change df_logo.gif (theme URL / images) for custom logo
  • Note: This theme is not widget ready

dFlover

Demo

Download

This file has been downloaded 9626 times.

End of Article

Small Life

Naturaaa

Droplet

Chameleon

Snail

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