Images

Learn how to add relevant photos and screenshots to your articles to make things clearer.

staff training

Optimise your image

Before uploading your image, you'll want to make sure it has been optimised for web. Put simply, you want to make sure you're using an appropriate file format and that the file size is nice and low, ideally below 100kb.

Choosing a file format

Your file format will make a huge difference to the overall size of the image. Typically, you want to use JPGs wherever possible. The exception is if you are uploading a logo that needs to have a transparent background. At this point, if you have a vector version of the logo then saving it as an SVG is your best bet. If not, a PNG works too. 

Optimising within Photoshop

You can do this easily in Photoshop by using the Save For Web option - CTRL + Shift + Alt + S on Windows, or CMD + Shift + Alt/option + S on a Mac.

Optimising with online tools

Alternatively, you can use online tools such as Tiny PNG or Tiny JPG.

Uploading your image

While creating or editing your article, and while clicked into the part of the article that you want the image to appear, select the image icon from the MSL editor (make sure you're not in Source mode or the option will be greyed out). You'll then see a popup that asks for the image as well as other bits of information about the image.

Choosing an image

Hit the 'browse server' button. Another window will open where you can choose an image. Upload your file and then select it from the list. That window will close and you'll be taken back to the initial popup, where the URL will now be populated.

Alternative text

Here's where you need to provide a description of the image. This is important - users with screen readers will only hear this, and if you don't provide anything then their screen reader won't pick it up. You want your users will screen readers to get as much the same experience as any sighted user, so make sure you put something here. The more descriptive the better!

Those are the only two bits you'll need to fill in. Press OK and your image will be dropped onto the article.

Editing the code

By default, the MSL system will have added a fixed width and height to your image, which isn't great for creating responsive pages. To get rid of it, you'll need to switch into the Source view. 

Your existing image code will look something like the following:


<img src="path-to-image" width="100px" height="100px" alt="Description of image">

You want to get rid of the width and get rid of the height, so that your code looks like this:


<img src="path-to-image" alt="Description of image">

That's it! You're all done.

 

Enable Recite Me accessibility tools

 

Other news


Wrapping up Disability History Month 2024 at GSU

As Disability History Month comes to a close, we’ve compiled five simple, actionable ways you can be an effective ally and be inclusive of disabled friends, students, and colleagues – even after the month is over.

Tue 17 Dec 2024

Introducing your 2024/25 Liberation Chairs

At Greenwich Students’ Union (GSU), we are proud to introduce the eight Liberation Chairs for this academic year. Elected by you, these roles are vital in ensuring that every student feels represented, valued, and supported during their time at the University of Greenwich.

Mon 09 Dec 2024

Reclaiming Narratives - Episode 2

Reclaiming Narratives - our Black History Month podcast series where we explore and amplify under represented stories, voices and experience within the black community.

Tue 26 Nov 2024

Insight: How will the tuition fee changes and the Autumn Budget impact students?

The recently elected Labour Government have announced their first budget, as well as increases to tuition fees and maintenance loans.

What are the most important changes and how will they affect students?

Mon 11 Nov 2024

Reclaiming Narratives

Reclaiming Narratives - our Black History Month podcast series where we explore and amplify under represented stories, voices and experience within the black community.

Mon 04 Nov 2024