Profile cover photo
Profile photo
Peter Adams
28,402 followers -
Photographer In Startup Land, author of The Guide To WordPress for Photographers
Photographer In Startup Land, author of The Guide To WordPress for Photographers

28,402 followers
About
Peter's posts

Post has attachment
Egg Farmer -- Ojai, California

Dusting off the old Google+ account. I hope folks are still looking at photos here.

#shotoniphone today with the #iphone7plus portrait lens which I am loving.

#tinyformat 
Photo

Anyone making their images responsive based on height instead of width? I'm working on a website full of vertical portraits and am wanting the images to be properly resized backed on the height of the browser so they never go below the page fold...

Post has attachment
Milky Way Rising -- Hanalei, Hawaii

Just back from Kauai and sorting through some favorite images.
Credit for this one goes to Nyla who woke me up when the rain clouds finally parted to reveal clear sky and billions of stars.

This was shot with my trusty +Sony  RX1 and is a series of seven shots stitched together using Autopano Pro and then finished in Photoshop.
Making Panoramas like this is actually really straight forward when you use a Pano-Gimbal tripod head from the folks at +Really Right Stuff 

Prints are available here: http://goo.gl/zTf1Ws
Photo

Post has attachment
A Walk Through Paris

Just posted a long photo essay filled of street photography I did while in Paris earlier this year.

Normally for these types of photos, I would shoot with my Sony. However, this trip I shot everything on iPhone.

Post has attachment
Shooting Tiny Format

New post up on my blog about all the gear that I use when shooting with the iPhone or as I call it: tiny format.

If you are interested in turning your iPhone into a legitimate camera system, then give this post a read.

Post has attachment
Retina.js is Evil. Kill it before it crashes your WordPress Website

Do yourself a favor right now and check to see if your WordPress theme uses a javascript library called retina.js (you can see this by using a request inspector like Firebug for Firefox or Fidler).

If it is being used keep reading. If you are not make sure than any future themes you buy do not use it.

Ok, why am I so worked up over this? Simple: it has the potential to bring your website to its knees.

Here's the deal. Retina.js is a piece of javascript that replaces normal images on your website with larger versions that are more suitable for display on Apple's retina displays.

Sounds good right? Wrong. 

The way this crafty little thing works is that it lets your web page load and then fires off a new request to the server to check to see if there is a "retina" version of the image (identified like so /images/my_image@2x.png).

It does this for EACH and EVERY image on your page.

If the @2x version is found it pulls it down for display. If not WordPress tries to figure out what to do and ultimately throws a 404 error.

So what's the problem? If you had a simple blog with some light theme graphics this might not be too bad. But if you have a photography website with pages that are full of images, then you have a big problem.

Specifically the problem is that  _missing_ image requests are actually very expensive requests due to the fact that WordPress has to be loaded to handle them.

You see, normally when your web page loads the browser only makes one (or maybe two) requests that WordPress has to handle. However, when retina.js is used on an image heavy website (that does not have @2x retina versions of all images) the browser generates tens of requests that WordPress has handle.

And thus the rub... if your theme uses retina.js you are inadvertently increasing the load on your server exponentially by flooding it with expensive requests.

That's not all. Because retina.js doesn't want it's image swapping thing to be noticeable it basically fires off all of these requests at the same time which can easily create a denial of service situation that can crash your web server when you have a handful or more of simultaneous visitors.

I noticed that this was happening to me on one of my own websites which was periodically running out of memory and becoming unresponsive. Looking at the logs revealed that a ton of 404 errors were happening because of these requests for @2x images on my gallery and taxonomy pages.

Ok end of rant. Here's how to fix this... you have two options:

1. Modify your theme by commenting out the use this evil script. Pretty obvious.

2. Install W3 Total Cache plugin and check the option called "Do not process 404 errors for static objects with WordPress" (It's on the  Browser Cache Settings page). This adds a rewrite rule prevents WordPress from being loaded on requests for missing images. Retina.js will still do it's silly stuff, but this time the 404 errors won't be handled by WordPress.

Happy hunting.

Post has attachment
WooThemes Gets Acquired By Automattic

Big moves in the WordPress economy today. A sure sign of interesting things to come.

I use WooCommerce to sell ebooks at wpphotog.com and support subscriptions for my plugins over at photopressdev.com.

Can wait to see how this fits in with WordPress.com over time.... Feels like Automattic is going head to head with Squarespace.com.

You can also read about this over on +Matt Mullenweg's blog: http://ma.tt/2015/05/woomattic/


Post has attachment
The Guardian of Notre Dame -- Paris, France

On my recent trip to Paris, I climbed the 387 steps to the top of Notre Dame Cathedral to see the numerous chimeras and gargoyles that adorn the facade. 

Chimeras and gargoyles were typically used by the church as a reminder of evil, however, standing up there, I couldn't help but feel that this group of mythical creatures was guarding the place. 

Someone or something is definitely looking out for Notre Dame. I forget where I heard this, but when the allied forces liberated Paris at the end of World War II they found the cathedral riddled with explosives presumedly set by the occupying Nazi forces. Thankfully the explosives were never detonated.  But why not? I always wonder what happened. Could no one bring themselves to press the trigger? Or was the trigger person stopped?

I bet this gargoyle knows the answer.

Order a print here: http://goo.gl/IkxTXg

Shot with the amazing +Sony RX1 in #paris
Photo

Post has attachment
Eiffel Tower Sparkle -- Paris, France

Just back from a trip to #Paris and now have a lot of photo processing to catchup on. On this trip I mostly shot "tiny format" (iPhone 6 + Moment lenses) but did make some images with the +Sony RX1 as well.

Here's an shot of the Eiffel Tower mid sparkle. 20,000 light bulbs were just  enough the illuminate the low clouds seen here.

Order a print here: http://goo.gl/ZwlZe3

Shot with the amazing +Sony RX1 in #paris
Photo

Post has attachment
Intergalactic Theme from Automattic

The folks over at Automattic have released a very cool new free theme called Intergalactic that some of you might really like.
Wait while more posts are being loaded