localgov icon indicating copy to clipboard operation
localgov copied to clipboard

Make it easier to add images to pages

Open willguv opened this issue 1 year ago • 3 comments

Mentioned at LGD Camp and elsewhere

Not sure of specific issues, suggest special content group meeting with one of our devs

willguv avatar May 08 '24 11:05 willguv

One example of an issue with images is that we publish images at a certain file size and the CMS is increasing the file size. This was picked up by Silktide:

image

I checked the media library and the original image sizes were 132Kb and 388Kb.

Further investigation by @snpower found that both images are rendered using an image style, but it’s an image style called large_3_2_2x. The image style is upscaling the images. One image is in an 'Image block' in a subsite and the other is in an 'Image' paragraph type within a service page. Neither of those offer a choice over the size of the image.

Our developer is going to have a look at the image style settings, but it would be good if this worked out-of-the-box.

Dixonj1 avatar May 31 '24 14:05 Dixonj1

@markconroy do you have a view on this please? Cheers for your help

willguv avatar Jun 03 '24 15:06 willguv

I think we have 2 issues here to tease out.

  1. Make images easier to add to pages (I guess the question is "what is hard about adding images?" ... "what problem are trying to solve?"), and
  2. Image sizes once images are added

For Item 1, I think we need more info.

For Item 2, we should have a review of

  • Our current image styles
  • Where each is used
  • How can we make things better

From @Dixonj1's comments above, it looks like we are using some image styles for small images which should be for large images. An image style called large_3x2 sounds like it's part of a responsive image setting and that there should be a corresponding image style called small_3x2 that would be used on small screens or in teasers.

Sorry, I realise this is more questions than answers.

=== Thanks to Big Blue Door for sponsoring my time to work on this.

markconroy avatar Jun 05 '24 11:06 markconroy