Mostly about my amusement

Category: Photo (page 1 of 5)

Scrape IFTTT Instagram media into WordPress

I’m a photography nut. I love using my DSLR, I’m mad about film cameras and I use Instagram all the time. I’m also a WordPress user and I have a problem with Instagram: the photos are not preserved on my own site. To fix that I installed the amazing DsgnWrks Instagram Importer plugin and I’ve been using it for years.

While testing WordPress 4.6 beta the plugin stopped working for me. I raised a support topic and I am convinced that my setup has changed. I do not doubt that the problem is mine somehow.

I’m not proficient enough to locate where the break is and I really wanted to share my Instagram photos via my blog. So I created another WordPress account on my photo blog and with my IFTTT account I used this “Instagram to Blog” recipe. That worked, but it loaded the image from Instagram and used the IFTTT URL shortner for link.

I really wanted a copy of my photo on my own server.

I know less about IFTTT recipes than I do the plugin. But I do know how to use WordPress actions and filters so I wrote a small plugin to do the following.

  1. Via the publish_post action look in the content for Instagram image sources and extract those URLs. The wp_extract_urls function is made for this.
  2. When found import those into the WordPress Media Library and attach it to the post using media_handle_sideload.
  3. Make that new attached image the featured image for the post.
  4. Look for IFTTT short URLs and expand them using a simple function I wrote.
  5. Once that’s done then publish the post.

You can view the code via this Gist link. I have that saved and activated as a plugin on my photo blog.

This isn’t the ideal approach for me but it works. The IFTTT recipe successfully publishes a post when I submit a photo to my Instagram account. I’m taking that data and scraping images from another web site. Generally speaking that’s not cool but until I find a cleaner way to do it I’ll have to live with it.

The new Press This in WordPress 4.2 beta 2 is slick

Try this: update to WordPress 4.2 beta 2 and drag the “Press This” to your bookmark bar. Visit a URL that you like and poof.

I just did that on a Flickr photo and I was able to select the image from the options and below is the result.

Explore Alvin Bernardo’s photos on Flickr!

Source: Custom Built HG 1/144 Acguy ( R2D2 Color Ver) | Flickr – Photo Sharing!

The post is complete with a source link for attribution. I added some categories and saved as a draft. The whole update to Press This really is well done. It’s more attractive and easier than ever.

New thrift shop find

I like old film cameras and I often visit Island Thrift to see what they’ve got. Normally it’s just a few 35mm plastic film cameras from the 80s. Those aren’t very interesting, but this week they had some good selections behind the case.

  • Olympus SLR OM-1MD w/50mm f/1.8 lens in good condition.
  • Olympus SLR OM-2 w/50mm f/1.8 lens. The shutter was jammed solid.
  • Yashica Electro 35 G (1968 version, up to ASA 500) with a dented lens rim.
  • Yashica Electro 35 from 1966. The original non-G version that went to ASA 400.

Of course I got the last one. 🙂

original-electro-35-1966-3

I did a check out of all 4 and gave the manager a lesson in old film cameras. I looked at the shutter settings from bulb to 1/1000 on the OM-1MD, checked the aperture changed when moved, the film advance, looked for fungus and scratches on the lens and made sure the shutter didn’t stick.

Except for the OM-2, the cameras worked. The manager removed the OM-2 which I thought was decent of him.

Without a battery the Electro 35 will default to 1/500 exposure. I thought the aperture blades were stuck (they’re not)  but what this new camera needs is work on is the wiring. At home when I put a battery in I got the check battery light working but I also got a ZZZT! noise on the inside.

I took the battery out quickly. This camera is over 48 years old so I do expect some problems. The light seals disintegrate on touch and the whole thing can use a good cleaning.  I’ll do some research, I think I know where I can get this one serviced.

An eBay purchase that worked out

Last week my latest eBay find arrived and I was in for a little surprise: it wasn’t quite what I thought it would be. The listing said I purchased an Olympus Pen EES-2 camera, instead I got an EE-2.

You’re forgiven for not having any idea about the difference. 😉 Both models are half-frame cameras, the EES-2 is just like the Olympus Trip 35 and has a f/2.8 lens and zone focusing. The EE-2 I received has a lens that opens only as far as f/3.5 and is a fully automatic camera. You set the film ASA, frame anything past 1.5 meters and click. If the light is too dark then you’ll get a red flag in the viewfinder and no photo will be taken.

This worked out perfectly.  The camera was one I bought for my daughter to use and reskin. She wanted to use one of mine and I didn’t want to mess with those. This one is 100% point and shoot and Friday I put in a roll of Kodak BW400CN film with 36 exposures. That meant I shot 72 photos because each frame gets 2 images.

I like the results. This may be the perfect street shooter camera. You see something, frame it in the viewfinder and you get an exposure at 1/200 of a second.

Here’s  some shots from that first roll.

I cleaned up the camera with isopropyl alcohol and may change the leatherette. I also left a 5  star review for the seller. Not everyone is into old cameras the way I am and it all worked out for me.

Getting back into the photography routine

Tonight there will probably be another snowfall so I don’t know if I’ll get any street shots tomorrow. I’ve put on the “never ready” case and replaced the camera strap on my Yashica Electro 35 GSN. The original strap worried me and I don’t want risk dropping a camera made after 1973.

It’s a rangefinder camera and takes great shots. I normally use my Olympus Trip 35 for street photography but the mood struck me to use a different camera. It will be dark when I get out of work and I want to shoot some 800 ISO film (the Trip 35 goes up to 400 ISO film). I’ve shot the Trip 35 in the dark and have gotten some good photos but they were strained. Or “retro” if you like those sort of images like this one. 😉

Late night February 2013 in midtown Manhattan shot with an Olympus Trip 35

Late night February 2013 in midtown Manhattan shot with an Olympus Trip 35

Wintertime is not the best for street photography (metal camera, cold fingers) but I’ve been itching to take more photos. Last year I fell out of the habit of packing a camera and taking lots of photos. I want to get back into that routine and I hope to start this week.

I like taking photos. I love old film cameras. With film you get approximately 26 shots per roll and that forces me to think and frame the shot. They’re not always keepers but with practice I’ve posted hundreds of film shots. It’s something I enjoy and I hope this week I go through at least a couple of rolls.

Yashica vs Nikon

My Yashica Electro 35 GSN has a 45mm f/1.7 lens which makes for a comparison with my Nikon D300s with a 30mm f/1.4. My DSLR has an APC sensor which with the 1.5 crop factor makes the 30mm equivalent to 45mm.

It’s not often when I can compare a digital camera with a film camera like that and recently I took both cameras to a family event. In good light most cameras will perform well and that restaurant was well-lit.

I like shooting with film cameras and using a rangefinder is cool. The focusing is completely different from a DSLR. With the Nikon I look through the lens but with the Yashica I need to frame the image in the view finder and line up an overlaid image.

The experience also different because with the DSLR you get instant gratification. It took me over a week to get the roll of film developed and copied onto a DVD but with the digital camera I was able to upload the images the same day.

In the rangefinder I ran Fuji Superia XTRA 400 through it and shot the Nikon at 200 ISO. I also used a fill flash on the Nikon since the background was really bright.

The film images are good but if you have a good DSLR (and I do 😉 ) you can get just as good results without the wait.

Yes I know that’s obviously the case but I’ll continue to shoot with film and the DSLR. For me shooting with both is fun. I like taking photos and collecting old cameras and occasionally I capture some really good images.

First roll from the Yashica Electro 35 GSN

When I get a new camera I usually pop in a roll of Fujifilm Superia X-TRA 400 and just quickly take photos. My recently acquired Yashica Electro 35 GSN is no exception.

My focusing needs work as I’m too used to working with a zone focus camera like the Olympus Trip 35. 🙂

It’s not a big camera but oddly enough it feels like a real camera. It’s very well built and solid. One roll of film isn’t enough for me to describe the pros and cons but so far I like it. A full review will be in a later post.

Tonight I’ll take it to a family dinner and shoot some more with it. I get a kick out of taking photos in a Chinese restaurant, I hope they have a tank of live crab and fish.

Yashica ME 1 Camera: Not bad for $4.88

Yashica-ME-1

I got my test roll back today from Costco for the Yashica ME 1 and I’m sharing the ones that I like below. I bought this camera at a thrift store last week for less than $5 so I can’t really be unhappy with any of the results.

The Yashica ME 1 camera was made in Brazil in the 70s and except for the fact that is has a built-in battery powered light meter and a 38mm f/2.8 lens I don’t know an awful lot about it. The Yashica Guy has some info on his page but the ME 1 is just not a popular model to collect.

It’s an all plastic model but it doesn’t feel cheap or poorly built. It’s light and sits in my coat pocket easily. Unlike my favorite Olympus Trip 35 it doesn’t weigh my coat down.

Like the Trip 35 this camera uses zone focusing and has a “Judas window” so you can see what the aperture setting is well as the focus distance are from the view finder.

The metering is different from what I’m used to. With the Trip 35 if the camera thought there was not enough light then you just set the aperture to f/2.8 manually and took a 1/40 second exposure. I did the same thing on this camera but some of the results were really underexposed.

This  photo came out alright so I may just need to practice some more.

I don’t think this will replace my current walkabout camera but it’s not bad either. When spring arrives I’ll use up a lunch hour or two and walk around Union Square. There you can see some real interesting sights when the weather gets warmer and having a small black camera might be more inconspicuous.

Latest camera additions

It’s called “collecting” and I’ve got it under control and can stop at any time…

collecting

I had been looking at the Yashica Electro 35 GSN for a long time and on Saturday I purchased one from a seller on eBay. It arrived Tuesday and it’s in amazing condition.

I selected this seller because he’d described what he does to make sure it’s fully operational. Part of his routine is to clean out the viewfinder, check for the Pad of Death, replace the battery, etc.

The quick picture I took above (it’s the one on the right) does not do it justice. It looks like a brand new camera and not one that was made in the 70s. It’s gorgeous and the viewfinder is bright and sharp. I’ll take and post some more photos of it this weekend.

The black camera on the left is a Yashica ME1 all plastic camera made in Brazil after 1977. Monday Lily and I stopped in the thrift shop and I picked up that one for less than five dollars. It’s a zone focusing camera with a battery powered light meter.

The ME1 has a judas window just like the Olympus Trip 35 but does not have the solid feel that the Trip has. Like the Trip it has a fast f2.8 lens but I’m pretty sure the similarity ends there.

After I cleaned it up I put in a LR44 battery and have been shooting with it. I’m not expecting too much from it but I’ll see how the photos come out.