Raphaël—JavaScript Library
Well I must say that this is pretty cool!
Adobe Flash .. your days are numbered, the only thing you’ll be good for is video,.. then again, html5 has that too.
Well I must say that this is pretty cool!
Adobe Flash .. your days are numbered, the only thing you’ll be good for is video,.. then again, html5 has that too.
If you’re a multi-window user (windows not maximized to full screen) or have a computer with a lower resolution and navigate to anybody’s Twitter page, you may have problems viewing their background image because of the twitter page framework that overlays on the page.
I came across a couple blogs that solely advertised their services of creating eye-catching, advertising backgrounds for anyone’s Twitter page.
This my friends, is a HUGE rip-off – and here’s why:
I don’t have statistics on how many people use Twitter, what their resolutions or screen sizes are, or what apps they use to aggregate Twitter with, but not once have I ever been impressed with someone’s twitter background that has advertising material to promote themselves. Phone numbers, email or website addresses are constantly cut off, and even photos of the Twitter profile user are cut off or whatever they are trying to sell is cut off or blocked by the Twitter content framework.
Twitter needs to add a little more customization to their user profile stylesheet management first before I would ever consider using the background of my Twitter page as another avenue to advertise myself.
Instead, for my Twitter profile, I have ingeniously used one of my artwork pieces and created a simple pattern out of it; there isn’t any important information being cut off, and aesthetic quality of the background image adds a truly unique expression of creativity.
And those other people who are charging money to create custom Twitter backgrounds, I tip my hat off to you; you’re making money from being scrupulous thieves and selling graphics that don’t do their job very well.
The following screen shots were taken at the very popular 1024×768 resolution.
I’ve been working on a new Wordpress theme for my client that involves a billboard concept where certain posts are categorized as homepage billboard items, and those post items have images attached to them within the Media gallery of Wordpress. I found out how to pull out the URI address of the images that are attached to the posts, but it took me some time to figure out how to get the Title, Caption and Description text associated directly with that image attachment.
I borrowed most of my code from here, but I think my example illustrates the concept of retrieving the data needed much easier.
// within the loop...
// gets last image from media library that are attached to current post
$attachments =& get_children( 'post_type=attachment&post_mime_type=image&post_parent=' . get_the_id() );
if (empty($attachments)) {
$imageURI = "/location/to/default/image.jpg";
$imageTitle = "Default Title Text";
$imageCaption = "Default Caption Text";
$imageDescription = "Default Description Text";
}
else {
foreach($attachments as $attachment => $attachment_array );
$imagearray = wp_get_attachment_image_src($attachment, 'full', false);
$imageURI = $imagearray[0];
$imageID = get_post($attachment);
$imageTitle = $imageID->post_title;
$imageCaption = $imageID->post_excerpt;
$imageDescription = $imageID->post_content;
}
echo $imageURI;
echo $imageTitle;
echo $imageCaption;
echo $imageDescription;
Hope this solution works for your custom PHP queries and image retrieval via Wordpress' Media gallery.
I need to put this as a post on my site as I often forget what permission settings are and their corresponding numbers are for CHMOD and the like.
1 execute
2 write
3 execute+write
4 read
5 execute+read
6 write+read
7 execute+read+write
When you find yourself coding a website for multiple browsers and get all caught up with going to the extremes of using browser hacks just to try and meet your personal visual standards verses the W3C compliant standards, you find yourself at a crossroad where both standards are at jeopardy.
What do you do? Which standard should you favour?
You’ve got to make a decision on what is most important, and while you may not like the result, you can justify it with this simple reasoning I read in a blog comment from Brad Czerniak that perfectly sums up how you should approach the solution:
I personally don’t find it necessary for everything to look exactly the same in all browsers, and this is a good example of a place where a minor difference makes a modern browser look good and a legacy browser still function properly.
Take the extremes of web design/development: you want to make the content still accessible on the worst of browsers (ie LYNX), yet display the content as beautifully as possible if they have the best and latest browser versions (ie Firefox 3).
What are the tools/browsers of your ideal audience?
When and how do you show your antiquated audience that they’re missing out?
When and how do you reward your savvy audience?
Lastly, where will you draw the line?