wiredfool

Archive for January, 2006

Ewwww

Scary out of focus macro spider

No comments

Very Young Moon

Very Young Moon

The 1 day old moon was low over the horizon at sunset today.

No comments

It’s not a phone, it’s a lifestyle

It's a top-secret popsicle phone

No comments

fog

foggy street

foggy tree

No comments

Tree dweller

not normally a tree dwelling species

No comments

Trees, with different lighting

tree branches

tree branches in fog

No comments

Safari and bare images

I was going to post about a bookmarklet and fractional horseposer webserver combination for all my picture uploading needs today, but it’s now more of a ‘works in Firefox’ than an ‘all my needs’ thing. Which is too bad, since I prefer Safari to Firefox right now.

I’m trying to modify my current uploading workflow from using both a web broswser (to select) and command line tool (to upload) to just using a web browser. Less typing, shiny javascript, all that. And a command line tool that’s also a webserver.

The Flow:

  1. Open a page of images, with links to larger ones, which are just links to images, not to pages containing the image
  2. Open the larger ones of interest in new tabs
  3. Weed out.
  4. Hit the post image bookmarklet, add a caption and submit.
  5. The backend uploads a medium and large to my manila site, and the large one to flickr.

Firefox: Great. When you open a bare image, there is a DOM created with an image tag that does the right thing. The img src is correct, and the DOM can be modified to insert my form. The one minor drawback is that once I post to a server, I can’t get back to a flle:\// url.

In Safari, not so good. The image is actually opened with a different renderer than an html page, there’s a DOM but it’s just an html and body with no content and not modifiable. So tack two is to use the bookmarklet to get the document location, post that out, and get a form back from the local server that’s the equivalent of what I can insert via javascript.

Except.

More often than not, the location is about:blank, not the image url. There are cases where the image url is in the location, but not in a pattern that I’ve nailed down yet. It appears that it’s after some manipulation, reloads, or dragging an image from the desktop. Unfortunately, not when it’s just from an ‘open link in a new tab’ operation.

A webkit developer or two have said that they’ll probably fix the first issue, but in the meantime, I’m on Firefox.

No comments

Boy

boy, peering
This from Rose.

No comments

Kayakers

kayackers

No comments

Sweeties

Modeling knits this winter

leaning

No comments

Next Page »