Join Aaron Quigley for an in-depth discussion in this video Responsive images, part of Learning Captivate 8.
As you start working with images inside of your responsive templates, there's a few things you can do to help speed up your design process and make sure that your images look great in all the different views. In this video we'll be using the responsive images project in Chapter 4 of the exercise files. Now, the first thing I'd like to point out is that this particular slide has two images on it. Here we have an image of the school as well as an avatar image for the student that's walking us through the presentation. Now, I still have smart positioning on, and so if I click on either of these images, I can see that this particular avatar is 15% of the way from the top and 82% of the way from the left-hand side of the screen. Right away, one thing that I like to do is to make sure the images are positioned to their closest edge. So this 82% all the way across could cause some issues as we move between our different views. So I'm going to go ahead and grab its anchor point and drag it all the way over to the far right-hand side and then release. I can now see that this image is positioned 15% of the way from the top and 1% of the way from the right. With the image selected, if I click on positioning, I can see that left is showing a negative 1.0, meaning it's not being used, and right is now showing 1.2%. The other thing I'd like to take a look at, is how our object's height is being determined. As of right now, the height is automatically being determined based on the width. The width of this image is 16% of the screen, and then his height is the appropriate ratio for that 16%. Sometimes, especially with avatars, we want to make sure the height is the important attribute. That's for several reasons. First off, if we look here in the primary view, I can see that it's wider than it is tall. Yet if I switch over to a mobile view, I can see that it's more narrow compared to its height. And if I leave the avatar changing where the height is in reference to the width, he's really small when I get down to the mobile view. So let's go ahead and click back up to our primary view. All I'm going to do for this is switch which one of these boxes is auto and which one's percent.
Now, if I just drop down the width, I don't have auto as an option. The reason being is you can only select auto once another box is a percent. So I'm going to come back over to his height, and I'm going to open up the drop-down box. Now, we have several choices here. If I really want to make sure that Jeff here is the exact same height, I could actually choose pixel. I could go ahead and choose percent and I can see he's 79% of the height of this particular slide. Or I can also choose percent relative. Percent relative's going to take a look at what's his percent compared to both the distance above and the distance below in reference to everything else on the slide. Let's just go ahead and choose percent so Jeff is always going to be 79.7% the height of the slide, and now on the width, let's select auto. So no matter what happens as I move between my slides, Jeff here is always going to be a nice tall height, so I can easily position him for these different views. So now that we've taken care of Jeff, let's go ahead and head back to the tablet view and see what's happening with this picture of the school. So right away, it looks like the picture of the school did not do well as it moved from one view to the next. And sometimes these images even become slightly distorted. If you find yourself in a situation where the image isn't fitting well or is distorted and you really just want to get to a clean slate so you can position the image exactly how you'd like it for this view, what you can do is select the image, go to Properties and click Fit to Stage.
Fit to Stage is going to make the image as big as possible with the right width and height dimensions so that the image isn't being warped at all. And now, I can simply click one of the corners, hold down Shift, and reposition this to exactly the size that I'd like it to be. So now that I have the picture in place, it's actually creating this blank white area here, which is okay because I also have a button that's overlapping Jeff. So I'm going to grab my button, drag it over into this blank white area so that I can utilize the space properly. And then I'm going to go ahead and just take Jeff and move him up the page a little bit. And I think for the tablet view, it's okay if he hangs off the slide, he'll just show up slightly cut off as someone accesses this slide on the mobile view.
You know, we're still making sure the text is the front and center of this particular learning.
- Choosing a project layout
- Applying and changing themes
- Adding text, media, and shapes
- Inserting interactive elements and widgets
- Adding audio and video
- Adding closed captions to video
- Using responsive templates, text, and images
- Accessing elearning
- Creating software simulations
- Publishing a Captivate project