You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without add_dynamic_image, no images show in the body of the content. I have also tried the option use_noscript_figure_images, and that option does not get the images to show up either.
What does this end up looking like? Here's a couple examples:
Here's the HTML on one of those pages that contains the image:
<aclass="relative block aspect-square h-min w-full sm:float-left sm:mb-20 sm:mr-20 sm:w-[300px] sm:min-w-[300px]"
href="https://www.amazon.com/gp/product/B08MQZXN1X/?tag=theverge02-20&ascsubtag=___vg__p_23537924__t_w__d_D"
rel="sponsored nofollow noopener" target="_blank"><spanstyle="
box-sizing: border-box; display: block; overflow: hidden; width: initial; height: initial; background: none; opacity: 1; border: 0; margin: 0; padding: 0; position: absolute; top: 0; left: 0; bottom: 0; right: 0;"><imgalt="A close-up of the Amazon Fire TV Stick 4K Max streaming dongle beside its remote control on a brown couch."
src="https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/2400x2400/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg"
decoding="async" data-nimg="fill" style="
position: absolute; top: 0; left: 0; bottom: 0; right: 0; box-sizing: border-box; padding: 0; border: none; margin: auto; display: block; width: 0; height: 0; min-width: 100%; max-width: 100%; min-height: 100%; max-height: 100%; object-fit: cover;" sizes="(max-width: 768px) 100vw, 300px" srcset="
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/376x376/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 376w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/384x384/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 384w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/415x415/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 415w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/480x480/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 480w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/540x540/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 540w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/640x640/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 640w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/750x750/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 750w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/828x828/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 828w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1080x1080/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 1080w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1200x1200/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 1200w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1440x1440/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 1440w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1920x1920/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 1920w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/2048x2048/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 2048w, https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/2400x2400/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg 2400w" /><noscript><img alt="A close-up of the Amazon Fire TV Stick 4K Max streaming
dongle beside its remote control on a brown couch." loading="lazy"
decoding="async" data-nimg="fill"
style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%;object-fit:cover"
sizes="(max-width: 768px) 100vw, 300px"
srcSet="https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/376x376/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
376w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/384x384/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
384w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/415x415/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
415w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/480x480/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
480w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/540x540/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
540w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/640x640/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
640w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/750x750/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
750w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/828x828/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
828w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1080x1080/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
1080w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1200x1200/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
1200w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1440x1440/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
1440w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/1920x1920/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
1920w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/2048x2048/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
2048w,
https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/2400x2400/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg
2400w"
src="https://duet-cdn.vox-cdn.com/thumbor/0x0:2040x1360/2400x2400/filters:focal(1020x680:1021x681):format(webp)/cdn.vox-cdn.com/uploads/chorus_asset/file/22909969/DSCF5782.jpg"/></noscript></span></a>
Is this a an issue with the full text conversion process of how it's handling whatever html nonsense theverge.com is using? Or maybe there's a rewrite rule I can use that I'm missing?
The text was updated successfully, but these errors were encountered:
I reviewed the Miniflux code as well as The Verge's HTML. Miniflux is working correctly, the problem is that The Verge web site (the full content loaded when "fetch original content" is checked) actually does have the image twice: a lower and higher resolution.
The higher resolution image is encapsulated in a div tag with a hidden CSS class. This is probably a full-screen image that is shown when a user clicks the lower-resolution version.
My suggestion is to use the remove() rewrite rule to get rid of the hidden image:
remove(".hidden")
I have not tested this but it should resolve the issue.
Here is a link to the feed in question:
https://www.theverge.com/rss/index.xml
Fetch original content is enabled.
For rewrite rules, I have the following:
remove(".duet--recirculation--related-list"), add_dynamic_image
Without
add_dynamic_image
, no images show in the body of the content. I have also tried the optionuse_noscript_figure_images
, and that option does not get the images to show up either.What does this end up looking like? Here's a couple examples:
![image](https://private-user-images.githubusercontent.com/1562427/252821364-2ddbedf6-f0b5-401e-a769-60bfbc416581.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNjU1MTAsIm5iZiI6MTcyMDA2NTIxMCwicGF0aCI6Ii8xNTYyNDI3LzI1MjgyMTM2NC0yZGRiZWRmNi1mMGI1LTQwMWUtYTc2OS02MGJmYmM0MTY1ODEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDRUMDM1MzMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTA1MjdkNDk1ZWM1ODRmMWRiMGZhMGQ4Yjc4ZjYyMzg3N2FjYzNhODU5ZDgxYjhhN2U3OThkMmMwZjdmNDk4ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.rHMShnx1NhzO5iNVeB8rw0vravW_q4gZyXhCNQAO8p0)
Here's the HTML on one of those pages that contains the image:
Is this a an issue with the full text conversion process of how it's handling whatever html nonsense theverge.com is using? Or maybe there's a rewrite rule I can use that I'm missing?
The text was updated successfully, but these errors were encountered: