Obvious In Hindsight
Archive of tips, tricks and solutions for designers and programmers!

Posts Tagged ‘path

PHP: Using predefined variables in paths

January 13, 2010

Predefined variables can be used to replace specific parts of the paths of files or images. Predefined variable in a path for an include file It’s important to understand that the path for an include file is relative to the web server and not the web root where the home page is stored. The predefined […]

Web Design: Absolute paths, document relative and root relative paths

January 13, 2010

A path, in effect, is like a postal address. Paths generally lead to a file (e.g. image) or a folder (e.g. directory). Web root vs. document root A web root is the upper most layer of your website in which all files and subdirectories are stored. Generally this is where the home page is stored. […]

Illustrator: Cutting out a shape or a path

January 8, 2010

Cutting out a shape or a path from a background For the purposes of this explanation, we have a larger image upon which a shape (rectangle tool, ellipse tool etc.) or path (drawn using the pen tool) is overlayed and whatever of the larger image falls outside the perimeter of the said shape or path is to be […]

Photoshop: iStock images with clipping paths

January 6, 2010

Certain images on iStock come with a clipping path. This means that the image can easily be cut out if you have an image editor like Photoshop. Finding images with clipping paths To find images with clipping paths type the following into the search box: Keyword + ‘clipping path’ (e.g. apple ‘clipping path’). If the […]

Photoshop: Basics of using the pen tool

January 6, 2010

The pen tool in Photoshop may look daunting at first though it’s actually fairly straightforward. Select the pen tool by clicking on it or using the ‘P’ shortcut i.e. type the letter ‘P’ on your keyboard. Whatever line/shape is drawn with the pen tool is known as a ‘path’.  A path is basically an outline. An […]