Saturday Site Work

I’ve come to the conclusion that this blog needs my single window technique implemented. Currently, when you click on a link or an image, it opens in the same window (or tab) as the blog page.

When you click on the back button to return here, my blog has to reload itself. Using the single window, a new window/tab will open just once, and subsequent images or links will reuse that window/tab. The blog page is left open in it’s own tab, and doesn’t have to reload.

To see this in action, click a photo in the post below (Friday: 7/8/11). A new window/tab will open the photo in the Viewer. Leave that window/tab open and come back here and click on another photo. Your browser will switch to the new window and display the photo.

Think of that new window/tab as your work area for this blog. All links will open in there without opening multiple tabs. It’s a pretty slick technique.

I’ll start working down through all my posts and implementing this. It’s a lot of work for me today, but it will be worth it…

Update 10:00am: Done!

Published
Categorized as Site Stuff

Blog Design Work

I’m redesigning some aspects of this blog, for quicker access. Dropped the Tetons header image and implemented the Google Font code, with shadows, for topic headers.

(Damn, if I can just get the cat hair off my keyboard, I’ll be able to type…) Steph’s off to Music On Main, with the girls, in Victor. Pipers laying on the floor here in my office, attacking my feet every time I get up.

Anyway, big weekend coming up and I want the blog in good shape because I’m going to throw a lot of media content at it. I’m also driving the Flickr API hard and coming up with some new apps, which will appear under the Photos menu item above.

And, if I could just remember what I had for dinner… (dementia is setting in, really)

Published
Categorized as Site Stuff

Saturday Chores

Today I tackled one of my major chores: draining, cleaning and refilling the hottub. We’ve been here a few years so I know this drill well. All the while, I’m writing a new app in my head, bopping into my office to write code between each step.

I’m also going into the back forty, now and then, to intimidate the damned (Robin’s nest raiding) Magpies with the pellet rifle. Had dead aim on one but Steph hadn’t reloaded. My fault, I should check ammo before grabbing the gun.

Just finished the new app. It’s a Flickr Photo Set Viewer, just for my photos, that uses some very cool dynamic font code from Google, which shades the text.

It grabs all of my Photo Set titles when started and when you click on a title for the first time, it loads the thumbnails for that set. Subsequent clicks on a title simply redisplay the thumbnails. And, of course, clicking a thumbnail opens the Photo Viewer.

Check it out Here, feedback is welcome…

• Update 6/26: Fixed some cross-browser issues and implemented single tab code for the Photo Viewer. Once you open it the first time, leave it open and it will be reused with the next photo.

Sweet Code

Sometimes I just blow my own mind. I have a Flickr plugin installed that doesn’t work for general photo viewing. It puts my photos in a small lightbox with options. Actually, I’m keeping it around for showing Galleries, but I needed better.

So, I’ve redone my Photo Viewer app to go full screen and all my thumbnails, big and small, link directly to the new code.

Scroll down to the “Drictor” set below and click on a thumbnail to see it in action.

In case you’re interested, I’ve written a new PHP app that takes a Flickr PhotoSet ID and generates a block of thumbnail code that I can insert directly into a blog post.

The little Flickr icon that bounces down in the upper-left corner of a Photo Viewer full screen image, is a direct link to the photo on Flickr.

It’s great to be a programmer…

Published
Categorized as Site Stuff

Flickr API

I’ve been diving deep into the Flickr API. Wrote a PHP module to grab all of the data for a specific photo-id, including the large image for my new Photo Viewer app.

Now I can send a specific photo-id to the API and get back everything I need to make this blog work. Very cool…

Non geek speak = The larger icons use the Photo Viewer directly, and the smaller icons have a link to the Photo Viewer within the lightbox.

Published
Categorized as Site Stuff

Photo Viewer App

I have two sizes of thumbnails. The larger ones get their images from Flickr directly and I previously just showed them in the browser as an image link. Flickr requires (as I’ve recently learned) that they have a direct link to the contents Flickr link, from any content hotlinked from their site. (Even though I’m paying for the server space…)

So, I’ve written a sweet little app that accepts each photos Flickr image data as parameters and displays the photo in a nice frame, with a link to Flickr at the top. All of the larger thumbnails in this blog now follow that procedure. I’m working on the small thumbnails from the Flickr Gallery plugin, to do the same.

Click any large thumbnail to see the new app!

Published
Categorized as Site Stuff

New Flickr Account

I’m totally ready for that new camera. I just signed up for a premium Flickr account with unlimited upload capacity for one year at $24.99.

I’ve redone the Vegas posts to process Flickr sets, as opposed to storing them on my server. See: Notes from the Strip ( 7 ) and ( 4 ).

WordPress and the plugin community are blowing my mind. I’ve been able to put together an amazingly slick website in a very short amount of time.

Of course, my tech chops are high and my knowledge base is deep. I read PHP, MySQL, JavaScript and jQuery like other people read children’s books…

Published
Categorized as Site Stuff

Tetons Header Photo

I took that picture of the Grand Tetons in the header above, it’s not a stock photo. The original is actually quite a large photo with much more detail, taken off Stateline Road between Idaho and Wyoming. The blog required a 940×198 image so I just cropped out a section, thus no resizing needed. Here’s a reduced view of the original:

Published
Categorized as Site Stuff