Archiv

Archiv für die Kategorie ‘coding’

DropBox Gallery Demo

15. Juli 2011 moldi Kommentare ausgeschaltet

It’s been a while since I first mentioned my Dropbox Gallery Plugin.

Up to today I did not release it for two major reasons:

  1. You have to get your own dropbox developer key to use the plugin . That’s a barrier for most users.
  2. I did not manage to (and didn’t really try to) optimize memory consumption when the images are cached. Right now you have to reload the page several times, until all images are cached. That’s a real show stopper.

After all I do know, that some people might like to use the plugin nevertheless and perhaps they might even optimize it.

Please drop me a line if you use the Dropbox gallery , enhanced it or even pushed it to github or google code.

dropbox-gallery.tar.gz

If you ant to use the plugin, make sure to configure it and to get a Dropbox API-Key.
It’s recommended to use WP-prettyPhoto along with the dropbox gallery.

Kategoriencoding Tags:

jQuery.printQr: use QR-Codes for your Print-Stylesheet with Google Charts API and jQuery

18. März 2011 moldi Kommentare ausgeschaltet

It’s a common practice to make the URIs of links visible in a print styleheets via CSS:

@media print {
a:after {
content: " (" attr(href) ")";
}
}

Quite often you would not like to type a cryptic url by hand. Here is what you may utilize jQuery.printQr for.

Here is all you have to do:

<script src="jquery.printqr.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
    $('a').printQr();
});
</script>

These lines of code will add QR Codes for all links to the bottom of the page when you print it.
I built a little demo page.

Have fun with it, I’m interested in some feedback.

Kategoriencoding, common, printQr Tags:

Image Galleries from DropBox

3. März 2011 moldi 1 Kommentar

My previous post gave a little sneak peek to my very first wordpress plugin “Dropbox Gallery”.
Although it is not ready for press right now, I’ll tell you about its features and advantages.

No (manual) upload needed
All you do is drag a file to your Dropbox folder. You should upload an image with a reasonable filesize, so don’t use your 20 megapixel raw image. Thumbnailing is done by dropbox.

Caching, not copying
The images from your Dropbox are cached for faster access. The cache has a configurable lifetime.

Update galleries or individual pictures
On the other hand every new revision of an image is detected and updated. You altered your image in Photoshop? No need to update your image in WordPress.

Choose any folder from your Dropbox account
You may choose any folder to create an image gallery out of its contents. All images of the folder you chose are displayed in your article.

And here is what you get

Kategoriencoding, common Tags:

Connect Photo Galleries from DropBox with your WordPress Blog

22. August 2010 moldi Kommentare ausgeschaltet

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1413533 bytes) in /var/www/vhosts/stefan-motz.de/httpdocs/wordpress/wp-includes/functions.php on line 251