If you’ve been paying unnaturally close attention to the goings on of the WordPress universe you may have noticed my name popping up in a post on Make WordPress UI about a new project to create a better image editing experience for WordPress. As the post explains Siobhan McKeown has put together a team that will be working on a new feature plugin to reimagine, redesign, and redevelop the image adding and editing process in WordPress, and that team includes yours truly.
So, to start off my contribution to this project I’m writing this post to provide my initial thoughts on what image editor in WordPress could look like as well as reflections on images in our culture, the different scenarios in which images are added in WordPress, and what the process of adding these different types of images should look like.
I would very much like to hear your thoughts on this and solicit your participation in this project as we move forward. WordPress is for the people who use it and your opinion about how image editing should be is vital for the process to be successful.
Image Editing as a First Rate Citizen
One of the primary goals for this process is to make image editing a first rate citizen of WordPress. Currently the option to edit an image is hidden under a text link in the Add / Edit Media modal. In the future rendition of this modal image editing should be part of the process with a prominent place in the modal.
The Transformed Role of Images
In my interactions with students from lynda.com, Emily Carr, BCIT, and all the other places I’ve spoken about and taught WordPress I’ve learned that of the many features in WordPress that don’t work the way users expect and/or want the image adding and editing experience ranks pretty high. There are many reasons for this, and many of them have nothing to do with WordPress but rather how our thinking about digital images and their place on the web has changed over the last few years.
Whereas the taking of images used to be something confined to a dedicated device (a camera) and the editing and adding of images involved complex and expensive software, we now live in a world where a large majority of the population carry a high resolution camera in their pocket. And that camera has software built in to not only edit but publish the images taken through an endless variety of channels.
How images are consumed has also changed: Once an image is published the viewing public can typically interact with it by liking it, sharing it, commenting on it, and even republishing it. There are also tools available that treat images embedded in larger contexts (images supporting articles or displayed in galleries and slideshows) as individual items that can be interacted with and shared outside the context they were presented in (Pinterest’s browser extensions and note taking apps like Evernote are examples of this phenomenon).
Image editing itself has undergone a transformation with the introduction of RAW image data and editing. The original image file can now be changed an infinite number of times and render an infinite number of versions without the image data itself being altered. The actual changes happen in separate layers – be that associated files or through filters and frames – while the original is left intact. While this is currently the realm of image editing applications like Photoshop and Lightroom, advances in web technologies means we will soon have similar capabilities through new HTML elements and CSS filters.
All this is new and evolving and demands a complete rethink of the role of images in the context of published materials:
- What is the intended role or purpose of an image when presented on the web?
- Are images to be considered objects in their own right separate from the context they are presented in?
- And if so, should the viewer be able to interact with the image outside the context it was presented in?
There are also technical considerations that need to be addressed:
- Is the original version of the image important or should the cropped / edited version of the image be considered the actual object?
- Does editing of an image belong in a dedicated application or in the context of the publishing application?
- Should the editing of images be destructive (changing the original file), iterative (generating a new file), or visual (happening in separate layers without touching the file)?
WordPress has for the most part clear and definite answers to these questions, but they are largely based on a time we no longer live in. As technology and behavior changes we need to revisit these questions and redefine the role of images in WordPress and how the people who use WordPress can get the most out of their images.
Images and How We Use Them
The first and most important question that needs to be answered is how people use and want to use images within WordPress. The challenge here is that there are as many answers as there are people using the application. Even so we can hone in on some general scenarios that are common and can be addressed:
Images can be the main item or even only item of a publication. In this case the image will often be edited before upload and the publisher will want the display of the image to stay true to the original. Single images can be accompanied by text but this text is secondary.
While adding these images as Featured Images makes sense from a social sharing perspective, the way Featured Images are handled within WordPress removes control from the publisher so she is more likely to add the image in the editor.
Not to be confused with galleries, grouped images are added within the editor for more control. Like single images the publisher will likely do all editing prior to upload and care about positioning and display.
Currently there is little support for this usage scenario within WordPress.
Galleries can be displayed as primary elements (the focal point of a publication) or as secondary or supportive elements. The publisher can choose positioning, display mode (columns, layout, etc) and on-clicked behavior.
Link to Attachment Page is the default option for image galleries in WordPress, but the Attachment Page template is an oft ignored feature of WordPress themes. This leads to inconsistent behavior and often forces the publisher to turn to plugins to display images in a visually pleasing and easily understandable way. The Attachment Page has tremendous value for publishers if the image is displayed along side the image description (content of the media post) but this requires theme support.
Images in Context
A common use of images on the web is as contextual elements. Images are placed throughout text as illustrations or further information. These images can contain image captions and link to other publications, larger versions of themselves, or their respective Attachment Pages.
The publisher utilizing images in this role is likely different from the one publishing Single Images. Here image editing is likely to be expected from WordPress itself, and that editing will be expected on a per-instance basis (the edit only affects the current iteration of the image). For images in context the publisher wants tight control of display, position, and behavior.
The evolution from Post Thumbnails to Featured Images and now images shared on social media has produced a new role for images and new complications for publishers: The Featured Image is handled as a stand-alone object that can be called along side other elements of a single publication and displayed independently in templates. This takes control of cropping, display, position, and behavior of the image out of the hands of the publisher and leaves it to WordPress itself and the theme designer / developer.
For publishers who seek tight control over how images are cropped and displayed this is a non-starter, but these publishers are often forced to use the feature anyway to ensure control when content is shared through social media.
Reimagining What Image Editing in WordPress Could Look Like
As this process begins, here are my preliminary ideas on what the image editing experience in WordPress could look like. Keep in mind these are my initial thoughts and they cannot be taken as anything other than ideas. In other words this is not a list of new features you can expect to see in WordPress in the near future but rather a list of features I think we should explore as we move forward.
When an image is added or given focus in the editor it should be displayed as true to final size as possible and retain proportions within the editor. All editing should happen on this image to allow the publisher to preview the result before saving.
There is precedence for this work process established by apps like Instagram, Twitter, Facebook, and Flickr, and these behaviors and user interactions have become expected from users. There is also precedence in WordPress: The ability to rotate, reflect, and crop images already exists and new features could be an extension of this same functionality.
In WordPress core new features should be limited to basic editing (contrast, lightness, black & white, standard color filters) and endpoints should be left open for plugin developers to add additional filters and editing functionalities.
Image Editing Within the Content Editor
In addition to editing and managing images through the Add / Edit Image modal window some limited editing should be available from within the content editor. In particular this could include positioning (none, left, center, right) and link-to. These capabilities would appear on hover within the editor and allow contextual WYSIWYG editing in a way we don’t have currently. This type of editing will become more important when work on front-end editing nears completion and publishers move away from the back-end editor.
The Image Adding and Editing Algorithm
While the scenarios above are not complete they provide us with a basic guideline for future development of image adding and editing in WordPress. The scenarios can be grouped into three different objectives:
- Adding images to posts
- Creating image galleries
- Defining Featured Images
The commonality between all of these is the optional ability to edit the images once uploaded. They are also sequential: 2 and 3 rely on 1, and in most cases a Featured Image will be selected as the last step when and if a gallery is created.
Within the Add / Edit Image modal
Looking at images as elements added to a post or page for the first time (as opposed to images selected from the Media Library) we can construct a common algorithm for all three objectives:
- Uploader is opened
- One or more images are selected and uploaded
- Each image is edited (cropped, rotated/mirrored, filtered, sized)
- Metadata (title, alternate text, caption, description) is added for each image
From this point on the procedure changes for each objective:
For single images and images displayed in groups:
- Image positioning (none, left, center, right) is selected
- Size is selected
- Link to is selected
- Images to go in gallery are selected
- Gallery is organized
- Captions are added to each image
- Title of gallery is defined (grid with column number, slideshow, other)
- Type of gallery is selected
- When-clicked action is defined
For Featured Images:
- Image is assigned as Featured Image
- Cropping option akin to cropping of header image is opened to allow the publisher to control crop (this should possibly happen for each Featured Image size).
For existing images in the Media Library the process will be much the same with the main difference that the editing in step 3 can be reapplied and only affects the new location of the image (non-recursive editing).
Share Your Thoughts, Join the Conversation, Help Shape the Future
As I said in the beginning, this is all about you, the people who use WordPress. The true value of Open Source lies in the community and its ability to contribute to and build the solutions they use. Your input matters and we want to hear it. Share your thoughts, ideas, and concerns about the current and future image editor in the comments below or on Siobhan’s post over at Make WordPress UI. And if you feel that simply commenting isn’t enough, you can join the team!
2 replies on “Building a New Image Editing Experience for WordPress”
Another great post, Morten. Thanks for this.
I agree that the image editing functionality of WordPress desperately needs an upgrade. If I could make a request or suggestion to the team, it would be this:
For the Scale and Crop functions of the image editor, it would be great to be able to create and save to the database (wp_options table), preset dimensions that could be selected from a drop-down list, instead of remembering a cropping ratio or pixel dimensions for scaling.
I know that WP offers ‘thumbnail’, ‘Medium’ and ‘Large’ size settings in the Media Settings, and additional sizes can easily be added to the functions file, but some of us prefer not to set those for our themes, but instead, create the images in the dimensions we intend to use them, thus avoiding unnecessary ‘bloat’ of storage space on the server. This can be important to users uploading large numbers of images.
Having a feature where only some images can be copied and scaled and/or cropped, without having to remember the exact required dimensions would be an outstanding feature of the media library.
…just my 5 cents worth (because Canada has officially dropped the penny)…
Great ideas. I will pass them on to the team.