All Things Web 2.0
Gen X Design is dedicated to providing quality, innovative solutions for all of our clients, no matter what the size of the project may be. Our focus is on the end-user, and all of our solutions are designed with that focus in mind. Our development process starts with extensive customer interviewing and planning, not only to make sure that all needs are met, but that we customer’s business and their needs. It’s very hard to design successful solutions without a clear understanding of the client’s goals, and we carry that philosophy from planning to implementation.
To find out what we can do for your company, feel free to contact us at: info at gen-x-design.com
I’ve been developing web sites professionally for over 7 years, and have always tried to stay on the cutting edge of web trends and technologies. I created this blog as a means to share my thoughts and feelings about all things development-related, as well as to contribute to the community that has taught me so much and made me successful. Most of what I know has been learned from other people’s hard work, both in the form of open-source projects and articles.
Recently, I’ve joined the growing number of developers that are of the belief that usability and the user experience are the most important thing when writing web applications, and have personally evolved from a programmer into more of a hybrid designer/developer.
I encourage everyone that visits this site, to visit the sites I link to, and to read all the articles that I mention. There is so much going on with emerging web trends and technologies right now that it’s next to impossible to keep up. I hope that this site becomes a valuable resource to any developer wishing to advance themselves outside the realm of traditional programming and into the so-called “web 2.0″ world.
2 Responses for "About"
just drop it into your class
$thumb->watermark(’watermark.png’, 0);
———————————————————————-
function watermark($insertfile, $pos = 0, $transition = 40)
{
// 0 = middle
// 1 = top left
// 2 = top right
// 3 = bottom right
// 4 = bottom left
// 5 = top middle
// 6 = middle right
// 7 = bottom middle
// 8 = middle left
if (empty($this->workingImage)) {
$this->resizePercent(100);
}
if ($pos == ”) {
{
$pos = 0;
} elseif ($pos > 8 || $pos workingImage);
$sourcefile_height = imageSY($this->workingImage);
$insertfile_width = imageSX($insertfile_id);
$insertfile_height = imageSY($insertfile_id);
// middle
if ($pos == 0 || empty($pos)) {
$dest_x = ($sourcefile_width / 2) - ($insertfile_width / 2);
$dest_y = ($sourcefile_height / 2) - ($insertfile_height / 2);
}
// top left
if ($pos == 1) {
$dest_x = 0;
$dest_y = 0;
}
// top right
if ($pos == 2) {
$dest_x = $sourcefile_width - $insertfile_width;
$dest_y = 0;
}
// bottom right
if ($pos == 3) {
$dest_x = $sourcefile_width - $insertfile_width;
$dest_y = $sourcefile_height - $insertfile_height;
}
// bottom left
if ($pos == 4) {
$dest_x = 0;
$dest_y = $sourcefile_height - $insertfile_height;
}
// top middle
if ($pos == 5) {
$dest_x = (($sourcefile_width - $insertfile_width) / 2);
$dest_y = 0;
}
// middle right
if ($pos == 6) {
$dest_x = $sourcefile_width - $insertfile_width;
$dest_y = ($sourcefile_height / 2) - ($insertfile_height / 2);
}
// bottom middle
if ($pos == 7) {
$dest_x = (($sourcefile_width - $insertfile_width) / 2);
$dest_y = $sourcefile_height - $insertfile_height;
}
// middle left
if ($pos ==
$dest_x = 0;
$dest_y = ($sourcefile_height / 2) - ($insertfile_height / 2);
}
// The main thing : merge the two pix
imageCopyMerge($this->workingImage, $insertfile_id, $dest_x, $dest_y, 0, 0, $insertfile_width, $insertfile_height, $transition);
}
Hi Ian
You had a really good script here:
http://www.gen-x-design.com/demos/ajax_primer/index.html
but I cant get the download link, really wanted to use it on a project I am working on - please let me know asap
Much appreciated in advance - great work
Leave a reply