Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-2426

Covers block: should use smaller image size

    XporterXMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.24.0
    • Labels:
    • Story Points:
      4
    • Sprint:
      Sprint #47, Sprint #48, Sprint #49, Sprint #50
    • P4 User role:
      Non-logged in
    • Section:
      Block: Take Action
    • P4 site:
      All sites
    • Track:
      Development

      Description

      Covers block uses 'post-thumbnail' image size for background images.
      It doesn't seem that images stored in media library have the specific image size/thumbnail generated.
      https://github.com/greenpeace/planet4-plugin-blocks/blob/master/classes/controller/blocks/class-covers-controllers.php#L160

      Check gpi act page loaded images.
      https://www.greenpeace.org/international/act/

      Find and use a better suited image size for the block's background image.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              atheodor Angelos Theodorakopoulos
              Reporter:
              kdiamant Kyriakos diamantis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: