-
Notifications
You must be signed in to change notification settings - Fork 158
resize_rendered_image_dimensions example behaves odd #1352
Comments
I added some VLOG's and refreshed the example page a couple of times in Chrome: image_resize_using_rendered_dimensions.html?PageSpeed=on&PageSpeedFilters=resize_rendered_image_dimensions The following lines represent the json string passed to
The original width ("ow") and height ("oh") of the image are 256X192. The JSON seems to alternate between the original size and the rendered size. Inspecting the beacon data that gets posted back at some point shows:
Is the critical image beacon taking the resized image and posting back the resized dimensions as the original ones? |
Any ideas where to start with debugging this? Could it be related to rewriting javascript? |
@petergus |
I'm just an end user at this point, so if you can give me direction to look into, what to edit, and what debug commands to check I can spend some time on testing. |
If [1]
|
resize_rendered_image_dimensions unexpectedly starts serving the unoptimized version of the image linked in the html at modpagespeed.com [1]. I can reproduce it with a couple of page refreshes. I suspect this happens after re-beaconing.
Appending
&random=rnd
to the querystring of the html in a follow-up test restarts the sequence of unoptimized/optimized/unoptimized for the linked image.[1] http://www.modpagespeed.com/resize_rendered_dimensions/image_resize_using_rendered_dimensions.html?PageSpeed=on&PageSpeedFilters=resize_rendered_image_dimensions
The text was updated successfully, but these errors were encountered: