img4me just released an API to their text to image service. This basically allows you to send any peice of text through a URL and have it convert it into an image. Now you wouldn’t want to convert a whole paragraph, but this does work especially nice for email addresses or other information you don’t [...]
Things you’ll need: PHP jQuery jQueryRotate plugin DEMO | DOWNLOAD PROJECT We’ll first setup the control div since it should help make things clearer starting here. We have the two rotate buttons (clockwise and anit-clockwise) and the save button to save our final rotated image. We also have an input box that will store the [...]
Dave in Michigan contacted me and wanted to know if it was possible to take the script used from this previous post and only display the last X number of pictures uploaded to a directory. Something to note before you get started though. The script will read the entire directory so if you have a [...]
1. Add your subdomain You can do this as a normal subdomain or as a standalone domain. 2. Add your certificate to Plesk Use the Plesk control panel to add your certificate. Where the shortcoming comes into play is that Plesk will continue to use the default certificate. 3. Find your certificate Head over to [...]
This is a more practical way to display an image or text while an AJAX request is loading. DEMO | DOWNLOAD FILES What we’re basically doing is forcing a DIV to have a starting image and then replacing it with the text return from the AJAX request. function loadingAjax(div_id) { $(“#”+div_id).html(‘ saving…’); $.ajax({ type: “POST”, [...]
This is an addition to the Find Time Between Two Dates in PHP post. Here is a quick way to find the years and months between two dates using PHP. The dates are not exact since we’re assuming that each year and month has the same number of seconds. function yearMonthDifference($start_date, $end_date) { // 31556926 [...]
One of the biggest inconveniences about the Motorola Droid is the lack of ease when it comes to sync media. (videos, music – whatever) Now I could always plug in the phone via USB, mount the SD card and transfer files that way, but it just seems to take way to many steps. What you’ll [...]
I’m just finishing up a little project to improve the search ability on a website and I want to display an image and message say “loading…” until the script finished running. Below is an easy way to do that. UPDATE: Please view the updated way to do this that is a little more practical in [...]