Once you’ve made the image, it’s time to edit the Tumblr html code. First, upload the first image in your original discrete sequence onto Tumblr as a photo post. On the upload page, choose a unique identifier that has no spaces and use it to set a custom post url, an option which you’ll find on the right column of the upload photo screen. For instance, a valid id could be “firstImage” without quotes, so that your post URL will become “/post/123456/firstIMage”. I’ll reference this unique identifier by imageID. Afterwards, you need to find a way to upload the composite image online so that Reel can reference it. I chose to upload mine to imgur. What’s important is that you have a url for the image which I’ll call imageURL. Now go into your tumblr html editor and add the following code just after the end of the <body></body> block, which should be at the bottom of the page:
<script src=”http://code.vostrel.cz/jquery.reel.js” type=”text/javascript”></script>
<script type=”text/javascript”>
var pid = imageID;
var width = imageWidth;
var height = imageHeight;
var frameNumber = imageFrames;
var imageUrl = imageURL;
$(document).ready(function() {
$(“.photo”).each(function(){
var photoID = $(this).attr(“id”).match(pid+”$”);
$(this).attr(“width”,width);
$(this).attr(“height”,height);
if(photoID == pid){
$(this).attr(“id”,pid);
}
});
$(“#”+pid).reel({frames: frameNumber, image: imageUrl, suffix: “”});
});
</script>
This will include the Reel plugin into your page so that you may use its functionality, as well find the post corresponding to the id you gave it and make it Reel. Make sure to change the data in the variables accordingly. Next, find the portion in the code that looks like the following
{LinkOpenTag}<img src=”{PhotoURL-500}” width=”320” height=”240” class=”photo” alt=”{PhotoAlt}” />{LinkCloseTag}
{LinkOpenTag}<img id=”{Permalink}” src=”{PhotoURL-500}” width=”320” height=”240” class=”photo” alt=”{PhotoAlt}” />{LinkCloseTag}
and add the id=”{Permalink”} portion to it as shown above. As a final note, make sure that your theme includes JQuery itself.
Once this last part’s done, so are you! Save and go look at your fancy new blog.