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


Image shows students doing different activities - one is serving a customer at one of out tills, two

See the progress on our strategy

As the 2023/24 academic year starts to close and we look ahead to the next one, we've been reflecting on 2022/23 and the progress made on our strategic goals in our GSU Plan 2026. See how we're doing and helping you Become Your Best.

Mon 13 May 2024

Your School Network Officers sat down with Student and Academic Services

On Tuesday 9th April, your School Network Officers sat down with Directors from across Student and Academic services to discuss the issues impacting students the most.

Mon 13 May 2024

Parent and child facilities on campus

We have dedicated baby changing and breastfeeding facilities for parents across all three University of Greenwich campuses.

Thu 25 Apr 2024
Photo showing officers from GSU and Christ Church Student Union standing alongside Kelly Tolhurst MP

Your GSU Officers hold meeting with Kelly Tolhurst MP

On 23 February, GSU Officers Anuj and Aminul met with Kelly Tolhurst, the MP for Rochester and Strood.

Wed 27 Mar 2024
Decorative

Multi-faith spaces on campus

Read on to see where there are multi-faith prayer rooms available on campus.

Mon 25 Mar 2024