Foreground Image Variations

Maroon fragments coalescing into the University of Galway Logo Roundel, then moving to the left to reveal the name of the University in Irish and English

Above is an example of a foreground image - this one is an animated gif, which loops only once.

Foreground images can be added to a page, ensure the image you wish to use has been made Web Ready, is saved in the Media Library as a Foreground image. Using the WYSIWYG Editor:

  1. Click on the t4v8 Insert Image or Link Icon from the WYSIWYG Editor  icon.

Alternatively:

  1. Click on the 'Insert' tab
  2. Choose 'Insert file link or image'
  3. From the Select media popup go to your Media Library folder where your image is stored
  4. Select the image you wish to use.

Full-Width Images

There is no point in adding an image that is bigger than the maximum available width on the screen.

If you do, the site vistor will experience a slower page load time than necessary - this impacts negatively on your page's google rankngs.
And the browser will resize the image to fit (which it's not very good at), making the image blurry.

So before you upload your image, you should resize your images.  The max size depends on the type of page you'll be putting the image onto:

Maximum Foreground Image Widths:
Normal page (left-nav, no rightbar):  735px
Normal page (left-nav & rightbar):  450px
Widescreen: 990px
Ultra-wide:  1386px 

See how to resize an image here: Image FAQs.  or watch a video of me doing it.

 

Smaller Images

the ideal posture and position when using a computerWhen you add a foreground image to a page, The bottom of the image is aligned with the botttom of the text.  As you can see here, the image changes its line's height so it introduces a lot of white-space to your page.

You can change the behaviour of your foreground images after you add them to a page.  Simply select your foreground image (you might have to drag it a little and bring it back to its original place to do this).  You'll know it is selected when it goes slightly blue.  Then double click it to see its properties.  In the properties popup, you can set the class to left or right and optionally adding  border, roundel, or polaroid for extra effects. Here are examples of all of these options:

Left / Right

the ideal posture and position when using a computerIf you change a foreground image's class to 'Left', it will be left-justified, and the page's text wrap around it from the top of the image.  The text will come close to it but will never touch it.

the ideal posture and position when using a computerYou can also right-justify an image.  Note, the size (width) of the image is unaffected when you do this.

Any images you plan to float left / right should ideally be 200px wide.

Notice how the right image is a little lower. That's because I typed a paragraph and pressed <Enter> (to start a new paragraph) before I added the second image.  It's right-justified but the top of the image will be where the caret (the flashing vertical line that signifies where the next letter will appear) was when the image was inserted.

 Border

the ideal posture and position when using a computerAdding the class border will give the ideal posture and position when using a computer the foreground image a thin border.  This is demonstrated using the same 2 images as above. 

Tip: if you want 2 images to appear on the same line, like this, make sure there are some words between the 2 images - otherwise SM will treat them as the same image (applying the same class to both).

 

Roundel

Square Quad Image for news itemsUsing the class roundel is a popular effect for foreground images which adds a border and makes square images round (or makes letterbox images oval).   It has a wide margin of white-space between it and adjacent text an displays the image's description (from the media library) below the image.

Roundel images are auto-resized to 200px wide. But browsers are not good at resizing images so you should upload a 200px-wide version of your image to the media library.  This ensures the image will look good on all browsers and will load quickly (which helps your google rankings).  For best results, use an image that is 200px x 200px, with the subject centered in the image.

By default, roundel images are right-justified but you can use the class roundel left to change this.

Polaroid

the ideal posture and position when using a computer

The polaroid class can be applied to images on your page. Simply select your foreground image (you might have to drag it a little and bring it back to its original place to do this).  Then double click it to see its properties.  In the properties popup, you can set the class to  polaroid right to style it as a polaroid photo and show its description (from the media library) underneath.

Polaroid images that appear on the left or right of the page will be resized to 200px wide by the browser but that's not an excuse to avoid preparing images - you should use images that you've already sized to this width so that the pages loads quickly and performs well in Google rankings.

Use polaroid left to make it appear on the left, resized to 200px wide.

Coloured dice on a black background

If you set the class to polaroid only (and leave out left or right), it'll behave like you said 'polaroid left'.  However, the image will not be resized.

If your foreground image has no description (in the media library), no text will appear under the polaroid image.  This is not a good thing - the description needs to be there to ensure accessibility for visually-impaired users.  If you want to have no text appearing, use the keyword border instead.