• Resolved rruyter

    (@rruyter)


    Hello,

    I have converted all convertable images on my shop to webp images, but still the jpg files are loaded.

    Now my media is not in the default upload directory. I have set that to be a folder called media. I cant imagine that being the issue though.

    I checked the .htaccess to have the webp stuff at the top and it has. Cleared cache and used the incognito mode chrome to see the network traffic. No images are received as webp.

    Can you please help?

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter rruyter

    (@rruyter)

    Oops, some pages do send webp images. So it’s not a total problem as I thought.

    Thread Starter rruyter

    (@rruyter)

    I also see that 800 images can not get converted. Dont know which though and why.

    Tellingen en bestandsgroottes per status:	
    Totaal:	2634	327,65 MB
    Geconverteerd:	1834	257,88 MB
    Zenden:	0	0,00 B
    Verwerken:	0	0,00 B
    Niet geconverteerd:	800	69,77 MB
    Niet geconverteerd:	0	0,00 B

    Any suggestions to look for?

    Thread Starter rruyter

    (@rruyter)

    Hmm, I saw the unconverted images in the library. Manual conversion gave the error: Failed to retrieve a response. Please reload the page to try again.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rruyter

    Thank you for reaching out and I am happy to assist you with this.
    I can see that most of the images are converted to webp and served as webp

    Failed to retrieve a response. Please reload the page to try again

    This means that there is a problem with the connection between your server and the W3TC conversion server.
    Please note that the Pro users have the advantage when converting, and also, this may happen when the number of requests is very high. Please try to wait a bit and convert the image manually after some time and repeat the process.

    Thanks!

    Thread Starter rruyter

    (@rruyter)

    For the bulk conversion, the button ‘Convert all’ is greyed out btw.

    Thread Starter rruyter

    (@rruyter)

    Thanks Marko,

    I have tried several times. Also overf a long period and different times of day nd days of the week, but that does not resolve te issue.

    I see though that I get a 500 and 417 response on the request

    Thread Starter rruyter

    (@rruyter)

    Undoing a succesful conversion and redoing it again also gives a 417 response

    Thread Starter rruyter

    (@rruyter)

    I see that the Dutch translation of the plugin gives some confusion.

    In the code I found
    —–

    <tr>
    						<td><?php esc_html_e( 'Not converted:', 'w3-total-cache' ); ?></td>
    						<td id="w3tc-imageservice-notconverted"><?php echo esc_html( $counts['notconverted'] ); ?></td>
    						<td id="w3tc-imageservice-notconvertedbytes"><?php echo esc_html( size_format( $counts['notconvertedbytes'], 2 ) ); ?></td>
    					</tr>
    					<tr>
    						<td><?php esc_html_e( 'Unconverted:', 'w3-total-cache' ); ?></td>
    						<td id="w3tc-imageservice-unconverted"><?php echo esc_html( $counts['unconverted'] ); ?></td>
    						<td id="w3tc-imageservice-unconvertedbytes"><?php echo esc_html( size_format( $counts['unconvertedbytes'], 2 ) ); ?></td>
    					</tr>

    —–

    Coming back to the actual report. We have 800 ‘Not converted’ and now 1 ‘Unconverted’

    I do not knwo the diff between ‘Not converted’ and ‘Unconverted’.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rruyter

    Thank you for your feedback.
    Some images may not be converted in the case when the converted image may be larger in size than the converted image. This happens with the images that are well optimized and converting them only increases the size.
    can you please share how many images are showing not converted in the Media library and share the example of the mage?
    Thansk!

    Thread Starter rruyter

    (@rruyter)

    This is the status report:

    Tellingen en bestandsgroottes per status:
    Totaal: 2638 327.71 MB
    Geconverteerd: 1838 257.93 MB
    Zenden: 0 0,00 B
    Verwerken: 0 0.00 B
    Niet geconverteerd: 800 69,77 MB
    Niet geconverteerd: 0 0,00 B

    These are some of the images that won’t convert:
    https://www.dezilverwinkel.nl/media/vijlwas-rond-groen-gat.jpg
    https://www.dezilverwinkel.nl/media/ovaal-draad-categorie.jpg
    https://www.dezilverwinkel.nl/media/aambeeld-met-ronde-armbandtribulet-1.jpg
    https://www.dezilverwinkel.nl/media/aambeeld-met-ronde-armbandtribulet.jpg

    I indeed see other entries in the media library that are not converted because they would be bigger als webp. But I also have media like above that should be able to convert.

    The numbers from the media library are close proximations. I used case sensitive find with firefox to count the entries.

    803 entries of images that would be bigger after webp conversion
    136 entries of images that could be converted, but fail.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Thread Starter rruyter

    (@rruyter)

    Yes, thanks. But those are only a sample of a bigger set.

    What I in addition observed is that when I convert the remaining items by hand, I have to wait for the result of one before proceeding to next one. Otherwise I get the failure message.

    I’ll try some more. And post the ones that don’t work, should be zero.

    Would like of course to have the plugin identify remaining unconverted images and allow me to start converting in batch as most of the images allowed me to do.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WebP images not send’ is closed to new replies.