Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
no, in fact, look what happened to my layout o.o
i did what u told me
Twighlight wrote:
what dint i do right?
T-T
If you have:
// Start HTML send_html_headers(); ?> <script type="text/javascript" language="javascript" src="lytebox.js"></script> <link rel="stylesheet" href="lytebox.css" type="text/css" media="screen" />
Above the <head> tag in your header.php file, it should work.
Did you upload all of the files within the Lytebox zip?
i cant get this to work.
i put this in the body tag of header
<script type="text/javascript" language="javascript" src="lytebox.js"></script> <link rel="stylesheet" href="lytebox.css" type="text/css" media="screen" />
and this into the body lie rage said
// Print image if ($adult_block_mode == 0) { echo <<<EOF <a href="$master_image" rel="lytebox"><img src="$thumbnail_image" class="$img_class_type" {$scale_size} alt="Pic #{$outerrow['PIC_ID']}" title="Pic #{$outerrow['PIC_ID']}" /></a><br />
its not working right, see?
http://twighlight.tw.funpic.org/Oekaki/
what dint i do right?
T-T
Oh I see what I was doing wrong now. xD Thank you! My users are really enjoying it already. [:
Demu wrote:
I'm confused on what to do in index.php. I'd really love to have this feature for my oekakis.
What exactly am I supposed to do in the index.php file for Lytebox to work for me?
Change:
// Print image if ($adult_block_mode == 0) { echo <<<EOF <a href="$master_image"><img src="$thumbnail_image" class="$img_class_type" {$scale_size} alt="Pic #{$outerrow['PIC_ID']}" title="Pic #{$outerrow['PIC_ID']}" /></a><br />
To:
// Print image if ($adult_block_mode == 0) { echo <<<EOF <a href="$master_image" rel="lytebox"><img src="$thumbnail_image" class="$img_class_type" {$scale_size} alt="Pic #{$outerrow['PIC_ID']}" title="Pic #{$outerrow['PIC_ID']}" /></a><br />
It's pretty easy, and a nice feature, everyone loves it
I'm confused on what to do in index.php. I'd really love to have this feature for my oekakis.
What exactly am I supposed to do in the index.php file for Lytebox to work for me?
Twighlight wrote:
wait, cam u explain what exactly u have to edit and what to edit it to
as in, before and after?
i'd like to use this
^ That's basically what I was asking above Rainbow This looks like a really cool thing to have, my members would love it.
I'm too lazy to log in
Waccoon wrote:
You group images by a label. Here's how Lytebox does it:
Normal images: <img ... rel="lytebox[normal]" />
Adult images: <img ... rel="lytebox[adult]" />
Just use the appropriate keyword depending on the picture's adult rating and the user's adult flag, and of course, don't use a "rel" XHTML tag if the user doesn't have the adult flag at all. The "rel" tag is what tells Lytebox that the image is supposed to be a boxed image.
Thanks! I'll bookmark this forum post and try it out in a couple of months time.
wait, cam u explain what exactly u have to edit and what to edit it to
as in, before and after?
i'd like to use this
You group images by a label. Here's how Lytebox does it:
Normal images: <img ... rel="lytebox[normal]" />
Adult images: <img ... rel="lytebox[adult]" />
Just use the appropriate keyword depending on the picture's adult rating and the user's adult flag, and of course, don't use a "rel" XHTML tag if the user doesn't have the adult flag at all. The "rel" tag is what tells Lytebox that the image is supposed to be a boxed image.