Design & UX - - By Tara Hornor

7 Sites and Strategies for Pixel-Perfect Photoshop-to-HTML Conversion

It doesn’t matter if your design is destined for a large or small company website, you may find that you are regularly required to prototype a website in Photoshop before actually moving to the design phase. There are lots of benefits to this process. As a designer, you don’t have to edit, cut, save as, upload via FTP, and update the HTML. Instead, you can just make a few changes, save the design, and email the resulting changes to the client.

But for all the early gains that building and quickly iterating a PSD can provide, the back end of the design project can be a real time killer. Taking your PSD design to HTML can be very time intensive. Worse, it may be that your design doesn’t function as a website without major work. (Resist that temptation to just make your design the background…RESIST!)

The following are a few resources to help you get your design from a PSD prototype into functional HTML. With a little planning, you can make it happen and reap all of the benefits of fast design changes without the massive HTML development headache later.

Establish Layout Standards First

Using Chrome’s right-click -> Inspect Element feature helps find layout dimensions quickly.

Even if you get handed a screenshot from a client where they say, “We want our site to look like this,” slow down and establish the layout standards. Stage the site in Photoshop with the proper dimensions first. This will give you a simple way of defining the various elements of the site and organizing your own design process.

Later, when it’s time to break the design into its HTML components, you already know your dimensions and can set up the files much more easily. Even if you’re not the one doing the HTML programming, you can hand a well-organized Photoshop project to someone else. It’s always good to have friends who can do HTML magic in our field!

Professional Firms

Another option for converting your PSD to HTML is going with a professional firm. If you’re a graphic designer that can’t code, this may be your best bet. There are lots of options, but here are two that I recommend at two different price points:

  • PixelCrayons – a premium PSD to HTML conversion company that provides one of the highest quality PSD conversion services on the web.
  • MarkUpBox – a PSD to HTML conversion company for folks on a tight budget; they do an excellent job for those needing a quick conversion for tweaking later.

Using a professional firm can be a huge time saver — just send off the file and it comes back in a day or two, freeing you to focus on other projects. Of course, you pay for the time saved, but it’s totally worth it if you can’t take the time to code the design on your own or are crunched for time.

Templates

Another way to expedite the programming side is to start with a template. Let’s say you usually work with WordPress sites, so you may go find the theme that the client is or will be using and develop the design around the theme files. In this way, you are using the theme as a template for your process. You can name the files properly, have them sized the right way, and organize the images as needed once the design has been approved.

But templates can be as straightforward as a skeleton set of site layouts you are familiar with. You can download tons of free website templates from a number of sites:

These are just a few to get you started. So when a client shows you a ballpark idea of what they’re looking for, find a template and build your design in Photoshop around it. It will save you a load of time later when it’s time to start cutting the design into pieces.

Responsive/Adaptive Design Considerations

Lots of sites are shifting toward responsive web design (RWD) — in short, this is just a way of making the layout of a site adapt to the screen size of the site visitor. Adaptive web design generally means that, in addition to being responsive, the site may incorporate other features using JavaScript and other languages to enhance the experience if the visitor’s browser supports those technologies. But if the browser doesn’t support JavaScript, as an example, then the site gracefully handles delivering the content still.

If your client is going to be using RWD, you need to know this! Your layout is going to change dramatically depending upon the screen size of the visitor. You may have to work with the developer on the front end to discuss how the site will look at various screen widths so you can design accordingly and keep these designs in the approval process.

Software

You can use software that converts a PSD file to HTML. Typically these programs require you to stage your design in Layers within Photoshop and name the Layers according to set specifications. Then you load the PSD into the software, hit “Start”, and go get coffee while the software cuts your design up and creates a site.

There is a steep learning curve to these software packages. Nothing most designers can’t handle. But be aware that there’s no such thing as a piece of software that can automagically replace a web developer when it comes to cutting up a design from a PSD file. It takes staging the design properly to make it work.

The following are just a few examples of software you can review if you’re interested in this approach:

  • SiteGrinder by MediaLab – boasts over 20,000 active websites to have used their software; check out their free trial.
  • PSD to CSS Online – this software requires no downloading; do all of your converting online by uploading your files to this website.

Don’t forget that Photoshop already has some built in tools for exporting layers to images. This is where working with a template can come in handy. In Photoshop, go to “File” > “Scripts” > “Export Layers to Files.”

Select the PNG file format and check the “Trim Layers” box for a simple export feature.

It’s not going to work perfectly every time without a lot of work and you’ll probably have to rename a bunch of files, but it’s a nice workaround in a pinch.

Hand-Coding

If you can handle it yourself, ideally you can hand code your own designs into HTML. There aren’t a lot of designers who can both create a brilliant design and then kick out a perfect rendition in HTML format, but if you can, you should. This guarantees that your design translates exactly how you intended it to from the beginning.

Having set up your design using a template or a well-planned layout is going to make this part of the job a LOT easier. There’s nothing more frustrating than trying to figure out how to get that 317×84 banner to sit just right about the darn sidebar area if you don’t already have the HTML in place.

Converting web designs from PSD to HTML is no easy task, so if you are in doubt with your abilities, play it safe and hire a professional.

How do you go about converting your designs to HTML? Do you have your own process that I didn’t mention?

Sponsors
Login or Create Account to Comment
Login Create Account