PDA

View Full Version : spoiler tag for non-worksafe images


punchbowl
02-20-2008, 11:04 AM
Is it possible with ajax to load an image on demand (onclick) ?

At the moment we have a spoiler tag that, although it hides the image from human eyes, still includes the image in the page i.e. if you save the webpage to your desktop it'll include images behind spoiler tags.

Or am I barking up the wrong tree?

Any pointers would be appreciated.

tia

update: Still can't do it! :D I looked at the hide hack resurrection to no avail and also a mod for allowing conditionals in bbcode. This is what I'd like to have in the bbcode:

<if condition="is_member_of($bbuserinfo, 11)">
{param}
</if>
<if condition="!is_member_of($bbuserinfo, 11)">
[nsfw content hidden. please join nsfw group to view.]
</if>

but I'd like it to work lol - is_member_of doen't seem to parse.

oh well

GotWalked
02-22-2009, 03:11 AM
I would like this as well.