Problem/Motivation

When a node or block is created, the progressive image is applied to the image field, so the thumbnails of the uploaded image is missing; also the placeholder svg generated presents a structure error.

When inspect the image-widget code the src property have a broken svg

data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1 1%22 width=%22100%22 height=%22100%22%3E3C/svg%3E

Steps to reproduce

Create a block or node with image field.

progressive image missing

Comments

zberges created an issue. See original summary.

zberges’s picture

Issue summary: View changes
StatusFileSize
new14.56 KB
zberges’s picture

facine’s picture

Status: Active » Needs work

Thank you very much for reporting, I think we could reduce the paths to exclude.

  1. +++ b/config/install/progressive_image_loading.settings.yml
    @@ -7,6 +7,9 @@ excluded_paths: |
       /node/add
    +  /node/add/*
    

    We can use: /node/add*

  2. +++ b/config/install/progressive_image_loading.settings.yml
    @@ -7,6 +7,9 @@ excluded_paths: |
    +  /block/add/*
    +  /block/*
    

    We can use: /block/*

mmaldonado’s picture

Patch #3 work for my

suresh prabhu parkala’s picture

Status: Needs work » Needs review
StatusFileSize
new1.71 KB
new427 bytes

Updated patch as mentioned in #4. Please review.

rvilar’s picture

Status: Needs review » Reviewed & tested by the community

The patch in #6 works for me

facine’s picture

Status: Reviewed & tested by the community » Fixed

Fixed, thank you!

Please download and review the latest dev release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.