External html files wrapped in img tag
-
Hi, thanks for the plugin, seems to be running well so far, but with one odd glitch/feature:
I’ve added the following shortcode into a post:
[MMFileList folder="../../2011/01/results_jan_14_2011/" format="li" types="html" target="new" /]
And I’m trying to display a list of html files that have been uploaded to that directory. The list is built in the post fine, but every list item looks like this:
<li><a href="https://localhost/wp-content/uploads/2015/02/../../2011/01/results_jan_14_2011/FTD_Round1_Mini Mod.html"{target}><img src="https://localhost/wp-content/uploads/2015/02/../../2011/01/results_jan_14_2011/FTD_Round1_Mini Mod.html" class="image" title="FTD_Round1_Mini Mod.html (1.70K)" /></a></li>
There’s a few problems here obviously. Firstly, where is it getting the
<img>
tag from? There are no images in that directory, and I’ve stipulated html file types. Secondly, how do I get the{target}
parameter to display correctly so that links open in a new window? I’ve triedtarget="_blank"
but that didn’t work either.Thanks
- The topic ‘External html files wrapped in img tag’ is closed to new replies.