Closed ghost closed 10 years ago
I might have to make it clearer in the documentation, but you can't actually use the parameterized URL's to get a src
URL for an img
tag (that would be cool, though; I'm going to mark this issue as an Enhancement to remind myself to see if this would actually work). There's also an error in the URL itself. Assuming you could do that (you can't), it would need to look more like: http://www.e-orbits.com/?last_webcomic=webcomic1&size=thumbnail
.
What you should be able to do is use last_webcomic_link
to display this; try something like:
<?php last_webcomic_link( '%link', '%thumbnail', false, false, '', 'webcomic1' ); ?>
Oh, duh. I don't know why I was thinking in HTML instead of PHP when I posted this. Anyway, it worked. Thanks so much for your help :)
Hi everyone, I'm currently working on another website for a friend of mine at http://www.e-orbits.com/
I'd like to have a thumbnail of her latest comic featured in the right sidebar, since her comic doesn't display on the index page. I used an advanced widget and placed the following code in it
<a href="http://www.e-orbits.com/?last_webcomic=webcomic1"><img src="http://www.e-orbits.com/?last_webcomic=webcomic1%thumbnail" class="aligncenter"></a>
What exactly am I doing wrong? Is it the URL?