• How to easily caption an animated gif

    So the challenge came up to add a caption to an animated gif without purchasing software and preferably without watermarks. While there are likely many ways of adding text to an animated gif, the all online solution we came up with works very well. Furthermore, as of this writing at least, there will be no watermarks on the resulting image either.

    The big problem when it comes to adding text to an animated gif is most tools open every single image contained in the gif, thus you can edit every image and hope that you can save it again in a working state with your caption.
    Then many free online tools that can do this like to watermark the image and charge you to have it removed in some cases. Here is our free solution for captioning an animated gif.

    Read the rest of this entry »

  • Showing images on WordPress search page

    When searching a blog using the twenty-twelve theme the images get commented out. It only will display an excerpt so your image is commented out. In order to fix this you must edit your CONTENT.PHP file, not your SEARCH.PHP.

    Open content.php and find the following lines:

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>
    <div class=”entry-summary”>
    <?php the_excerpt(); ?>
    </div><!– .entry-summary –>
    <?php else : ?>
    <div class=”entry-content”>
    <?php the_content( __( ‘Continue reading <span class=”meta-nav”>&rarr;</span>’, ‘twentytwelve’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘twentytwelve’ ), ‘after’ => ‘</div>’ ) ); ?>
    </div><!– .entry-content –>
    <?php endif; ?>

    Read the rest of this entry »

  • Adding Adsense Code in Responsive Design

    We needed to be able to display different sized adsense ad’s based on the end user’s display size. What was happening is the large banner advertisements would ‘break’ the design on smaller resolution screens like iphone’s and android phones. In order to accomplish this, we had to adjust the adsense javascript, in accordance with Google Adsense TOS for responsive design.

    This is what the modified adsense code for responsive design looks like:
    Read the rest of this entry »

  • Rails Application and SSL Problem in Internet Explorer

    Recently we ran across a very annoying problem when deploying a Ruby on Rails application running under SSL when viewed in IE7. When we loaded the page in Internet Explorer 7 there was a content security error. This made no sense at all as everything was secure, and even when we hard coded absolute links the problem still persisted. What could possibly be causing this problem.

    Thinking perhaps it was some random HTTP link sitting in the code, the developers went over everything with a fine tooth comb and could not find the problem. Knowing that a secure content error could be the result of a number of things we broke parts out of the page and rebuilt the page one line at a time until we recreated the content error. Low and behold we found a single JS file that was causing this problem!

    Read the rest of this entry »

  • Disposable Email Addresses

    So many times on the web you are asked for an email address when you would really prefer not to give it out. There are so many ‘one time use sites’ that once they get your address you are a victim of SPAM forever. Wouldn’t it be great if there was a service that could provide a temporary email address for sign ups? Well there is and they have existed for quite some time.

    Enter Melt Mail, a disposable email address service. Now they aren’t the only kids on the block, but I like them a lot.

    Read the rest of this entry »