Archive for June, 2006

Submit button “inspired” to Macromedia Buttons

I like very much Macromedia buttons, and I wanted to have it one like these in my forms.

That's all... here it is

the style is
PLAIN TEXT
HTML:

<input style="width: 120px; border: 3px double #999999; border-top-color: #CCCCCC; border-left-color: #CCCCCC; padding: 4px; background-color: #EEEEEE; background-repeat: repeat-x; color: #333333; font-size: 11px; font-weight: bold; font-family: Verdana, Helvetica, Arial, sans-serif;" type="submit" value="Push me" [...]

Photoshop photo to pastel sketch action

Converting a photo into a pencil or pastel sketch is one of the most challenging task to automate with Photoshop.
Here it is an attempt.
Run the action on a photo and let me know what do you think about it.
Please give me feedback and send to my email any good result you achieve to let me [...]

Photoshop Lomography Photo Action

I am always looking for nice effects to give to my photos.
The "Lomo" effect is one of them.
From Wikipedia: Lomography is a commercial trademark of Lomographische AG, Austria for products and services related to photography. The name is licensed from a former state-run optics company LOMO PLC in St. Petersburg, Russia. The 35 mm LOMO [...]

Photoshop photo to painting effect

A quite simple Photohsop action to give a painting effect to a photo with Photoshop.
Before

After

Download the action.
If you use this action and are satisfied of the result, please tell me where to find your before/after photos to add them to my example page.
If you liked this post buy me a beer (or two)

Wordpress PHP Exec Plugin

When you need to execute php code inside a WP post you are in trouble. So was I, when I tried to do it.
But I found a plugin that saved my life, and my blog.
This plugin lets you execute dynamic PHP code in posts. It masks PHP code before balanceTags, and unmask them afterwards, so [...]

Simple php calendar with any day offset

I am coding a quite huge calendar script for various works I have in progress.
The barebones of this calendar I have coded today represent a php function that returns a calendar into an html table of any month of any year (according to php limits) with any day offset.
This means your calendar could start on [...]

Finally a nice WP theme!!

I was about to give up, but finally I found a WP theme that fits my needs!!!
And it's easy to modify too!
I am talking about blog.txt, an elastic, two-column layout for WordPress 2.0+. It’s styled, but light with less than 300 lines of CSS. With its (somewhat) unique theme options, you can easily make blog.txt [...]

Check cookies with php

Today, an interesting script to check cookies with php. I had to used it because a bad configuration on the server turned off cookie settings, and I have on my server various shopping cart using cookies.
You may get different results according to your register_globals settings.
Remember to reload the script to have the correct results as [...]

dafont.com - a big font collection

dafont.com is a wonderful site if you are looking for free fonts. At the time I am writing, there are more than 6,000 fonts and the list is growing every day.
http://www.dafont.com/
Fonts are archived by look, serif, category and so on. Very interesting the preview system where you can type a phrase and see it written [...]

Javascript chronometer/stopwatch

I needed a javascript chronometer/stopwatch to be inserted in a project, and I didn't find anything on the web that fit my idea, so I created one almost from scratch, with all functions a chronometer should have, such as milliseconds measurement, start, stop, lap time and so on (well... that's all).

Time:
Lap:

Let's see the javascript
If [...]