Archive for the ‘Design’ Category

Add SWFir to WordPress for nice rounded corners, shadows and other effects

Sunday, February 14th, 2010

While collaborating with our colleagues at Red Door on a project, we came across SWFir,  an amazing way to add some nice subtle effects to WordPress site images. SWFir automatically adds a flash layer on top of images that can round the corners, add a shadow, rotate, or add a border.  I found the directions on their site a little skimpy for WordPress users so I thought I’d share how to integrate SWFir for WordPress users.

CSS3 is also great for rounded corners and shadows, but unfortunately we still need to keep in mind people using all different versions of Internet Explorer.

  1. Download SWFir
  2. Upload swfir.js and swfir.swf into a folder called swfir into  your theme directory
  3. Include the swfIR JavaScript file in the <head> of your document like this:
    <script type="text/javascript" src="swfir.js"></script>
  4. Add this to footer.php just before the closing body tag<script type=”text/javascript”>
    // swfIR
    window.onload = function() {
    var sir = new swfir();
    sir.specify(“border-radius”, “15″);
    sir.specify(“src”, “<?php bloginfo(’stylesheet_directory’); ?>/swfir/swfir.swf”);
    sir.swap(“.latest-posts-center img”);
    sir.swap(“.latest-posts-center a img”);
    sir.swap(“img.rounded”);
    </script>

    You may choose from any of these parameters:

    • border-radius
    • border-width
    • border-color
    • shadow-offset
    • shadow-angle
    • shadow-alpha
    • shadow-blur
    • shadow-blur-x
    • shadow-blur-y
    • shadow-strength
    • shadow-color
    • shadow-quality
    • shadow-inner
    • shadow-knockout
    • shadow-hide
    • rotate
    • overflow
    • link
    • elasticity
  5. Add this in the loop somewhere Note: this is assuming that your images are not organized by month and day under Settings > Miscellaneous – the box is unchecked.
    Also, you can change the width to whatever you want and it will resize automatically

    <?php if ( get_post_meta($post->ID, ’rounded_img’, true) ) {
    $postimg = get_post_meta($post->ID, ’rounded_img’, $single = true);
    if((stristr($postimg,’http’)===FALSE) && (stristr($postimg,’wp-content’)===FALSE)) {
    $postimg = get_bloginfo(’siteurl’).”/wp-content/uploads/”.$postimg;
    } ?>
    <div>
    <a href=”<?php the_permalink(); ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”>
    <img src=”<?php echo $postimg; ?>” alt=”" width=”140″  /></a>
    </div>
    <?php } ?>

  6. When you create a post, upload an image and copy the Link URL. Create a custom fields key rounded_img and paste the Link URL in the Value Box.
[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

User Interface Icons in three different sizes

Monday, November 12th, 2007

User Interface Icons.com has released 140 very pretty icons in .png format, and in 3 different sizes: 48×48 pixels, 32×32 pixels, and 24×24 pixels. Definitely worth adding to your icon arsenal.

User Interface Icons.com

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

More feed icons

Monday, October 29th, 2007

iLemoned points us to Zeusbox Studio’s update to their Feedicons icon pack.

feedicons2.jpg

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Case study: How blog design contributed to Blogsolid’s success

Monday, September 10th, 2007

Blogging seems to be all about content. It’s about what you write, how you write it, who you link to, etc. So how does design come into play? Most people say that design is important, and that you should have a professional design that is easy on the eyes, and simple to navigate. It is generally agreed that a bad blog design may have a negative impact on your blog readership.

But I’ve rarely heard people say that a fantastic blog design will be the key to blogging success. Well, Blogsolid is a good case study of how a unique and beautiful design can bring in torrents of readers.

Blogsolid officially launched on July 31st. The content on the site is pretty good, but not anything out of the ordinary. By August 9, the blog was picked up by a bunch of web design galleries. The onslaught of visitors crashed the poor guy’s servers for 12 hours.

Blogsolid’s design and architecture are brilliant. The blog has three categories, which appear on the home page as options for entering the blog. You can also enter the general blog by clicking on the header (this should probably be made clearer somehow – I think there should be four options for entering the blog, i.e. the three categories plus the blog with everything).

Blogsolid homepage

Of course, the guy/gal behind Blogsolid is a graphic designer, and it shows. As we’re not all graphic designers, we can theoretically pay someone for a unique design. However, blogging is not always the most profitable of activities, so this is often not viable. But this case study just goes to show how significant design can be in the success of your blog. So try to make sure your blog is presentable and professional, either by creating your own design, or carefully selecting and customizing an existing theme.

(I am working on customizing a new theme for WordPressGarage as we speak – even I can’t stand the way this blog looks anymore!)

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Crystal icon set – free beautiful icons

Monday, July 16th, 2007

Everaldo has a few icon sets available for download. They are really beautiful:

Crystal icon set - free beautiful icons

Download the Crystal Icon Set>>

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Iconlet – the icon search engine

Sunday, June 10th, 2007

I love icons. They’re just so…cute. I also find that, when used in the right places, they really add a nice touch to blogs.

Iconlet is an icon search engine. It’s minimalist home page has a search field, and you enter the type of icon you are looking for. I did some test searches for “save,” “search,” “rss,” and “emoticons, with great results.

Iconlet>>

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

More CSS Layouts

Monday, April 9th, 2007

If you are looking for CSS layouts to use as a foundation for your blog or site, you can find a whole range of layouts here. You’ve got 750px width, 950px, 100%, and under each width you have 56 different layouts, with 1, 2, 3 and four columns, all with different widths and in different places.

CSS Layouts>> 

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

If you want to be inspired, you have to see this site!

Tuesday, March 20th, 2007

CSS Import’s latest entry in its gallery is one of the most amazing sites I’ve seen. It is the online CV and portfolio of Danny Blackman, a 3rd year BA Communications & New Media student at University of Leeds, UK and a freelance designer & developer. This is a one page site that has amazing design elements and scrolls down for you where required. I’d hire this guy…if I could afford to…and I lived in England…

Danny Blackman>>

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Another CSS gallery – CSS Impress

Saturday, March 17th, 2007

Waynne sent in a comment recommending CSS Impress as another CSS gallery worth checking out. Thanks Waynne!

CSS Impress>> 

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

25 Code Snippets for Web Designers

Tuesday, March 13th, 2007

This is a really amazing collection of links to code snippets for creating the following:

  • Bubble tool tips
  • Box-over tool tips
  • Star rating systems
  • Forms
  • Rounded corners
  • Speech bubbles (like those used in comments)
  • Bar graphs
  • Gallery lightboxes
  • CSS image maps
  • Tabbed navigation

25 Code Snippets for Web Designers (Part1)>>

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Premium News Themes