You are either not logged in or not registered with our community. Click here to register.
 
December 09, 2016, 11:37:47 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Make image accessible via spoiler bar?  (Read 587 times)

0 Members and 1 Guest are viewing this topic.

Offline ManoirTopic starter

Make image accessible via spoiler bar?
« on: November 02, 2012, 07:42:53 PM »
Is it possible to make an image available by clicking a spoiler bar, and if so what's the syntax?

Thanks!

Offline Saffron

  • ღ Your Designer Drug ღ Myobi's Hither and Thither Girl ღ
  • Dame
  • Addict
  • *
  • Join Date: Dec 2008
  • Location: ღ I would have you, right here on this desk, until you begged for mercy twice. ღ
  • Gender: Female
  • ღ Twice. ღ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 6
Re: Make image accessible via spoiler bar?
« Reply #1 on: November 02, 2012, 07:44:31 PM »
Spoiler: Click to Show/Hide

Code: [Select]
[spoiler][img]http://elliquiy.com/forums/avs/avatar_4415_1351793368.png[/img][/spoiler]
Same as you would a normal image, just add spoiler tags. :-)

Offline Trieste

  • Faerie Queen; Her Imperial Lubemajesty; Willing Victim
  • Dame
  • Carnite
  • *
  • Join Date: Apr 2005
  • Location: In the middle of Happily Ever After with a dark Prince Charming.
  • Gender: Female
  • I am many things - dull is not one of them.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: Make image accessible via spoiler bar?
« Reply #2 on: November 02, 2012, 07:46:05 PM »
More completely, if you want to label the spoiler bar:

Code: [Select]
[spoiler=The text on the spoiler bar.]
[img]URL of the image to be displayed.[/img]
[/spoiler]

As far as I know, it's NOT possible to display an image directly inside the spoiler bar label itself, but that's how you put an image under a spoiler.

Offline ManoirTopic starter

Re: Make image accessible via spoiler bar?
« Reply #3 on: November 02, 2012, 07:50:01 PM »
That should do it, thanks!

Offline Saerrael

  • ~~~Seraph ; In love~~~ Do you like what you see? Let me entertain ya ítill you scream.
  • Champion
  • Carnite
  • *
  • Join Date: Aug 2009
  • Location: You don't know how you took it You just know what you got Oh Lordy you've been stealing from the thieves And you got caught
  • Gender: Male
  • Hold me, thrill me, kiss me, kill me.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 6
Re: Make image accessible via spoiler bar?
« Reply #4 on: November 02, 2012, 07:52:00 PM »
Side question, but I think it's related.

When do spoilered pictures load? When one opens the spoiler, or at opening of thread?
As I do think I see a lower loading time when pictures are spoilered.

Offline Trieste

  • Faerie Queen; Her Imperial Lubemajesty; Willing Victim
  • Dame
  • Carnite
  • *
  • Join Date: Apr 2005
  • Location: In the middle of Happily Ever After with a dark Prince Charming.
  • Gender: Female
  • I am many things - dull is not one of them.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: Make image accessible via spoiler bar?
« Reply #5 on: November 02, 2012, 07:55:40 PM »
Side question, but I think it's related.

When do spoilered pictures load? When one opens the spoiler, or at opening of thread?
As I do think I see a lower loading time when pictures are spoilered.

Only when the spoiler is clicked. They are not loaded until that time, whereas unspoilered images are loaded on thread click.

Offline Saerrael

  • ~~~Seraph ; In love~~~ Do you like what you see? Let me entertain ya ítill you scream.
  • Champion
  • Carnite
  • *
  • Join Date: Aug 2009
  • Location: You don't know how you took it You just know what you got Oh Lordy you've been stealing from the thieves And you got caught
  • Gender: Male
  • Hold me, thrill me, kiss me, kill me.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 6
Re: Make image accessible via spoiler bar?
« Reply #6 on: November 02, 2012, 07:58:07 PM »
Only when the spoiler is clicked. They are not loaded until that time, whereas unspoilered images are loaded on thread click.

Thank you! That is pretty epic and very usable.

Offline Trieste

  • Faerie Queen; Her Imperial Lubemajesty; Willing Victim
  • Dame
  • Carnite
  • *
  • Join Date: Apr 2005
  • Location: In the middle of Happily Ever After with a dark Prince Charming.
  • Gender: Female
  • I am many things - dull is not one of them.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 4
Re: Make image accessible via spoiler bar?
« Reply #7 on: November 02, 2012, 08:05:23 PM »
You're welcome. :)

Offline ManoirTopic starter

Re: Make image accessible via spoiler bar?
« Reply #8 on: November 03, 2012, 06:53:05 AM »
Yes, thanks!

A further question. I seem to recall seeing, in some posts, spoiler bars that were more like buttons, that is, they didn't go all the way across the page but consisted of a shorter bar, also labeled. Is there a way to do this?

Offline Saffron

  • ღ Your Designer Drug ღ Myobi's Hither and Thither Girl ღ
  • Dame
  • Addict
  • *
  • Join Date: Dec 2008
  • Location: ღ I would have you, right here on this desk, until you begged for mercy twice. ღ
  • Gender: Female
  • ღ Twice. ღ
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 6
Re: Make image accessible via spoiler bar?
« Reply #9 on: November 03, 2012, 06:55:44 AM »
Yep!

Stuff Goes Here
Insidey stuff goes here.


Code: [Select]
[floatleft][spoiler=Stuff Goes Here]Insidey stuff goes here.[/spoiler][/floatleft]
You can also substitute floatleft for flotright if you like.

Offline ManoirTopic starter

Re: Make image accessible via spoiler bar?
« Reply #10 on: November 03, 2012, 09:36:01 AM »
Fabulous, thanks!