Related Items extended not showing images properly
- Posted by Magnus Ehinger (33) Offline
OK, I think I have zoomed in on the problem here! The first line of an article where the image doesn't show properly in the Related Items extended module reads like this:
However, when I change it to this, the image is rendered correctly:
Reference: ehinger.nu/undervisning/starta-har/nyhet...odlan-i-bolivia.html (related to ehinger.nu/undervisning/starta-har/nyhet...ingsexplosionen.html)
7 years 5 months ago #7
by Magnus Ehinger
<p><img src="images/related-items-images/11/hqdefault06.jpeg" alt="Den helande ödlan i Bolivia" width="0" height="0" />
<iframe src="https://www.youtube.com/embed/tb0_ZeHYayA" frameborder="0" width="640" height="360" allowfullscreen="allowfullscreen"></iframe>
</p>
However, when I change it to this, the image is rendered correctly:
<p><img src="images/related-items-images/11/hqdefault06.jpeg" alt="Den helande ödlan i Bolivia" width="0" height="0" /></p>
<p><iframe src="https://www.youtube.com/embed/tb0_ZeHYayA" frameborder="0" width="640" height="360" allowfullscreen="allowfullscreen"></iframe>
</p>
Reference: ehinger.nu/undervisning/starta-har/nyhet...odlan-i-bolivia.html (related to ehinger.nu/undervisning/starta-har/nyhet...ingsexplosionen.html)
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5263) Offline
Hmm maybe it because both of <img and <iframe tag do have similiar 'src' attribute, but I have already re-checked the regex code and it should be working fine.
Anyway, can you try to delete all images under /undervisning/images/relateditemsxtd/ so the module will recreate the thumbnails again?
7 years 5 months ago #8
by TemplatePlazza
Anyway, can you try to delete all images under /undervisning/images/relateditemsxtd/ so the module will recreate the thumbnails again?
Please Log in or Create an account to join the conversation.
- Posted by Magnus Ehinger (33) Offline
Already did that, but I will try it again … and now, they are deleted.
7 years 5 months ago #9
by Magnus Ehinger
Please Log in or Create an account to join the conversation.
- Posted by Magnus Ehinger (33) Offline
- Posted by TemplatePlazza (5263) Offline
HI, sorry I still have no clue I'm also still unable to replicate the issue on my local computer, it works fine for both of <img tag separated by <p or without separator.
Could you tell me what related extended version do you have before, so I can try to find the difference between those versions?
7 years 5 months ago #11
by TemplatePlazza
Could you tell me what related extended version do you have before, so I can try to find the difference between those versions?
Please Log in or Create an account to join the conversation.
- Posted by Magnus Ehinger (33) Offline