Wilson Mar bio photo

Wilson Mar

Hello. Hire me!

Email me Calendar Skype call 310 320-7878

LinkedIn Twitter Gitter Google+ Youtube

Github Stackoverflow Pinterest

Get just the right 1900x500 picture for your website


Overview

Photo editing programs

Adobe Photoshop is the choice of professionals, and premium features means money. Add a lot of training if you’re not into frustration.

Windows machines come with Paint (in)

Sketch on Mac OSX

I have adopted Sketch on my Mac.

The theme that I am using makes use of 1900x500 photos.

Here’s how I’ve learned to make images of that size.

The easiest thing is to avoid cropping altogether by finding

Search in images.google.com for “1900x500”.

Screen capture

http://lifehacker.com/5880540/the-best-screen-capture-tool-for-mac-os-x

Crop

  1. Open the image file with Skitch.

  2. Click the Scale button and specify one of the dimensions (Width 1900 or Height 500, not both).

    Create a mask area:

  3. Click the Insert icon at the upper-left corner.

  4. Select Shape Rectangle.
  5. On the screen drag a small rectangle. Don’t worry about the size because it’s too difficult to come up up with a precise box with the mouse.

  6. Specify the Size: type in width: 1900 and height: 500.

    This needs to be done with the aspect ratio lock off (the default).

  7. Drag the mask area onto the picture.

    PROTIP: The Golden Ratio is for the subject of the canvas to be 0.618 from the edge.

    • 1900 * .618 = 1174 + 726
    • 500 * .618 = 309 + 191
  8. At the left, select both the Rectangle and the picture: hold down the shift key and click.

  9. Click the Mask icon.

Export image

  1. Click menu File | Export. Select Export Selection.

  2. Select the Format (JPG) at the lower right.

  3. Click Export Slice 1.

  4. Specify the file name and folder name.

  5. Copy the file name to the clipboard so you put a reference to it somewhere.

Response images

https://24ways.org/2012/responsive-images-what-we-thought-we-needed/

Services to generate images at various breakpoints, for use in HTML such as:

<picture width="500" height="500">
<img 
sizes="(max-width: 2000px) 100vw, 2000px"
srcset="
castle_c_scale,w_200.jpg 200w,
castle_c_scale,w_424.jpg 424w,
castle_c_scale,w_576.jpg 576w,
castle_c_scale,w_708.jpg 708w,
castle_c_scale,w_819.jpg 819w,
castle_c_scale,w_915.jpg 915w,
castle_c_scale,w_1012.jpg 1012w,
castle_c_scale,w_1106.jpg 1106w,
castle_c_scale,w_1185.jpg 1185w,
castle_c_scale,w_1276.jpg 1276w,
castle_c_scale,w_1355.jpg 1355w,
castle_c_scale,w_1435.jpg 1435w,
castle_c_scale,w_1505.jpg 1505w,
castle_c_scale,w_1575.jpg 1575w,
castle_c_scale,w_1649.jpg 1649w,
castle_c_scale,w_1720.jpg 1720w,
castle_c_scale,w_1795.jpg 1795w,
castle_c_scale,w_1864.jpg 1864w,
castle_c_scale,w_1932.jpg 1932w,
castle_c_scale,w_2000.jpg 2000w"
src="castle_c_scale,w_2000.jpg"
alt="">
<p>Accessible text</p>
</picture>

Resources