Missing Pics in the Random Thumb Mod
Status: Inactive
Brought to you by:
ubik77
Thanks for all your hard work on the program. I LOVE
it! I'm not sure if this is a bug or if maybe I screwed this
up during installation. All I did was unzip the mod into
the modules folder and it seems to work except, when I
click on one of the random pictures, the "new" random
pic doesn't show up. The empty pic does link to the
correct picture, but you just can't see it.
For an example, visit my blog and click on the random
picture:
Logged In: YES
user_id=1158612
OK, I think I fixed it. What was happening was that it was
using a relative link that got screwed up when you went to a
page other than the main page. I did a real quick and dirty
fix. I went in and changed it to an absolute path. I know
there has to be a better way, but I'm pretty inexperienced at
this so I did it the only way I know how. What I did was
change line 6 in mod_randomthumb.tpl to this....
<img alt="{ITEM.postalt}" src="http://*YOUR URL*/img/posts/
{ITEM.img_id}_thumb.jpg" width="{ITEM.imagewidth}px"
border="0px"/>
It seems to work for me. I hope it will for you, too.
Logged In: YES
user_id=1126528
a bit late i know, but i only just spotted the problem -
seems like you got it working though