Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Adobe Photoshop

Responsive Design with Adobe Photoshop CC and Adobe Edge Reflow CC (Preview)

📄 Contents

  1. Let’s look at the workflow
  2. Final Thoughts
Ever since responsive design came into being, designers and developers have been faced with workflow challenges. Do you design several iterations (mobile, tablet, desktop) in a program like Photoshop and hope an explanation of interactivity will suffice, or do you design “in-browser,” or a combination? Adobe expert Brian Wood shows how by using Edge Reflow CC and Photoshop CC, a designer can create a working mockup that will give the client an idea of what the finished responsive design will look like.
Like this article? We recommend

Like this article? We recommend

Constant change. That’s seems to be the mantra of the web. Over the past several years, a lot has changed with regards to how we conceptualize, design, and build sites. For years, lots of us have started our web designs in a program like Adobe Illustrator or Photoshop (“how about Fireworks?” I can hear someone yell). Ever since responsive design came into being, designers and developers have been faced with workflow challenges. Do you design several iterations (mobile, tablet, desktop) in a program like Photoshop and hope an explanation of interactivity will suffice, or do you design “in-browser,” or a combination? Responsive design and all of the exciting new technologies we have at hand are definitely a game changer.

The web design landscape is changing, but with Edge Reflow CC and Photoshop CC, a designer can create a working mockup that will give the client (or other) an idea of what the finished responsive design will look like. Adobe Edge Reflow CC connects directly to Photoshop CC so that you can easily import assets, content, and shapes directly into Reflow, creating a starting point for your responsive designs. Edge Reflow is actually a design tool that you can use to design and test designs in different screen sizes (see Figure 1).

In this article, I’ll take you through a generic responsive design process, starting in Photoshop, to give you an idea of how it’s intended to work.

Figure 1 Edge Reflow in action

Let’s look at the workflow

So, let’s take a look at the Photoshop CC to Edge Reflow CC workflow.

  1. If you want to follow along, download a trial of Edge Reflow CC and Photoshop CC (if you don’t already have it). Also, download the demo Photoshop file towards the bottom of that same page (see Figure 2).
  2. Figure 2 Download the programs (if necessary) and demo file.

  3. Save the demo Photoshop file called BracketsIO.psd that you downloaded from the Edge Reflow site in step 1, in a folder on your hard drive. Open that .psd file in Photoshop CC.

Adobe Photoshop CC recently updated with a new feature called Adobe Generator. This allows you to create image assets in real time as you work, eliminating the tedious steps of copying, slicing and exporting each layer manually, and saving you time. This is going to come into play in the Edge Reflow workflow, as you’ll see.

Next, you’ll see how you need to set up your design file in Photoshop CC to be able to use that content in Edge Reflow.

  1. Look in the Layers panel in Photoshop CC, and you will see that some of the layers that contain vector and raster image content are named with an image extension, like “hero.png” (see Figure 3).
  2. Figure 3 Setting up the layer and group naming

    In order to generate web-optimized images from content in Photoshop, you need to rename the layers or layer groups you want to export, adding a web image extension like .png, .gif, or .jpg. So, for instance, if a layer were called “logo” and you wanted it to be a PNG8, you could name it as “logo.png8.”

    Here are some examples:

    • .png (the default value is png32 with semi-transparent alpha), .png8, .png24, .png32
    • .jpg (the default value: 9), .jpg(1-10), .jpg(1-100%)
    • .gif
    • 1-n%, (Number) px x (Number) px for scaling

    Here are some examples of how tags can be used:

    • “logo.png” produces a png32 file
    • “hero.jpg10” produces a 1x asset with max quality

    You can even go so far as to create multiple assets for each image. This can be useful for creating images for high-res and standard resolution displays; “200% logo-retina.png, logo.png” produces both a 2x (high-res) and a 1x (standard res) asset.

    The Adobe Generator will be used to create the images used in Adobe Edge Reflow and make it so that we no longer have to slice in most cases.

    Figure 4 Use Adobe Generator to create image assets

    Now that the image content is prepped in the Layers panel, you can create the Reflow project.

  3. Choose File > Generate > Edge Reflow Project.
  4. Look in the folder that contains the open psd (BracketsIO.psd). You will see a new folder called “BracketsIO-reflow.” This folder contains the Reflow project file called BracketsIO.rflw as well as the generated assets in a folder called “assets” (see Figure 5).

    Figure 5 The Reflow project file and assets

  5. Open the BracketsIO.rflw file by double-clicking, and it should open in Adobe Edge Reflow.
  6. You most likely will see a Replace Missing Fonts dialog box (see Figure 6). Edge Reflow allows you to access and work with the web fonts available with your Creative Cloud subscription (called Edge Web Fonts). If you used a Creative Cloud font by just syncing your Typekit fonts using the Creative Cloud to get them on your desktop, I found that they are currently not supported (this may change in the future).

    The font “Myriad Pro” isn’t a supported web font, so you can either choose from one of the Edge Web Fonts (click the T+ or choose Manage Fonts from the menu) or by adding a Typekit ID.

  7. Choose Source Sans Pro from the menu to replace Myriad Pro with Source Sans Pro.
  8. Figure 6 Replace a missing font

    After fixing the missing fonts, the layout will be generated in Edge Reflow. This is just a starting point for you and may not mirror the Photoshop file exactly.

  9. Click the Asset Library panel icon on the right side of the workspace to show the project assets. You should see all of the images that were generated from the named layers/groups in Photoshop. This panel is where you can delete an asset, update an asset, and relink to another asset (among other things).
  10. Figure 7 The assets generated for our Edge project by the Adobe Generator engine

    At this point, you could go about selecting content in the design and making edits to get the design where you want it to be.

  11. Grab the resize handle on the right side of the design area and drag it to the left.
  12. Figure 8 Resize the design

    You will see the content shifting, some of it not the way you would want it to. The resize handle is how you see how the design appears in different viewport widths (think browser width). Currently the design view is set at 2500 px in width because that was the width of the Photoshop file. That is huge—and much wider than most screens. Our job is to design for all viewport widths so that the necessary content appears and that it looks good (and is easy to navigate).

  13. Drag the resize handle to roughly the 1000px mark on the horizontal ruler. Click the + to the far right of the ruler to add a media query breakpoint. A color bar appears above the ruler (mine is purple), and it has a number on the right that indicates the viewport width at that breakpoint.
  14. Figure 9 Set your first media query breakpoint

    In responsive design, a media query is a way to indicate to the browser changes in CSS styling based on parameters like width or orientation (among others). We call these breakpoints because they are inserted to fix design and UI issues (among other things). Breakpoints come in major (like the three main device sizes—desktop, tablet, and mobile)—and minor sizes (a size where a small fix may be necessary).

  15. Drag the resize handle to roughly 768 px (for this exercise, don’t worry about it being exact). Click the + again to set another breakpoint.
  16. Figure 10 Set another breakpoint

  17. Click each of the color bars above the design (just above the ruler) to quickly change between the viewport sizes.
  18. Figure 11 Navigate between breakpoints

    The hard work comes in when you need to reconfigure the design to work at a specific viewport size (breakpoint). I would check out this Adobe TV video (and other videos on Adobe TV) to learn more about editing the responsive design.

    These days, mobile-first design is all the rage, and it makes sense in most cases. Mobile-first means you design for mobile devices first, and then, based on that design and content, progressively enhance the design based on the viewport size and device (tablet vs. desktop sometimes). I wanted to mention this because the design Adobe offers is not geared towards mobile first. If you wanted to do this, you could design the Photoshop file at a mobile width (see Figure 12).

    Figure 12 The desktop design version in Photoshop (left) and mobile design (right)

    Another great feature of working with Photoshop CC is that you can create new pages based on other designs or update the assets (images) from the original Photoshop file on the fly.

  19. Click the Photoshop CC Connect icon on the right side of the workspace, and you will see that the Edge Reflow project file is connected to the BracketsIO.psd file.
  20. One interesting thing to note is that whatever file is open in Photoshop, the panel in Edge Reflow will show that the project file is connected to that open file.

    Figure 13 The Photoshop CC Connect panel

    If you were to make a change to the BracketsIO.psd file in Photoshop, like a text or image change, that change would not be reflected in Edge Reflow, by default. If you do want to bring in the changes you made in Photoshop CC, you could click Create New Page to create a new page in Edge Reflow based on the current state of the open (and saved) Photoshop file. You can view the pages in your Reflow project by clicking the Pages icon above the Photoshop CC Connect icon.

    By enabling the sync feature in Edge Reflow, we can update the image content based on the Photoshop file, which is what you’ll do next.

  21. In Edge Reflow, with the Photoshop CC Connect panel showing, click the Photoshop Sync button to enable the sync feature.
  22. Now, if you make changes to the image content in the Photoshop file in Photoshop, it would update the asset in the Edge Reflow project. Any changes to content (like text made in Photoshop) won’t be updated in your Edge Reflow project.

    Figure 14 Enable sync with Photoshop CC

  23. Back in Photoshop CC, select the large “hero” image to the right of the “Code the web” heading. Choose Image > Adjustments > Invert. Leave the file open in Photoshop (you don’t have to save) and return to Edge Reflow.
  24. Figure 15 Make a change to an image in Photoshop

  25. Notice the Asset Library panel icon now has a yield sign on it. Open the Asset Library panel and scroll to find the hero.jpg image. An update icon appears to the right of the name. Click the update icon to update the image in Edge Reflow.

Figure 16 Update the asset in Edge Reflow

One last feature in the Photoshop CC Connect panel in Edge Reflow is the Asset Library Button. If you were to click the Asset Library button with our project open in Edge Reflow, the assets for the current project (in our case our images), would be added to the Reflow library and be available to other projects as well.

As I mentioned earlier, by default, there currently is no mechanism to export the content (HTML, CSS, etc.). BUT, if you preview in a browser from Edge Reflow, by choosing View > Preview in Chrome (for instance), the necessary content needed to preview the site in a browser (HTML, CSS, etc.) will be generated and put into the assets folder that is next to the Reflow project file. As a word of warning, this content (css, html) is not intended to be used as-is in a final production site. Currently it is set up for preview purposes only (but you could make it work if you or someone you work with knows what he or she is doing).

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020