Thread Starter
dycent
(@dycent)
on a second thought its not really a width issue but more of a photo issue
-you can view here.. & if you notice only 1 photo is shown, I would like at least 6 photos to be shown before having to scroll… of course I only have 4 loaded but even with a width of 300 it still only shows 1 image.
http://dyceentertainment.com/designs/
Thread Starter
dycent
(@dycent)
Not sure why I was racking my brain, but there is a simple solution for this… “press spacebar duh” …
remove the [slide] code between photos and just leave empty space.
For example: [cSlider]“photo” “photo” “photo” [/cSlider]
Simply Creating “space” between the photos as much as you like will show all photos under 1 bullet…and pressing the arrow in the direction will scroll the gallery, just make sure you have infinite loop checked in the c slider settings so it will go back to the start.
Also I was searching the net for this and couldn’t find it here but for anyone who wants to use lightbox with there photos so they don’t open in a full window or in a new window you have to do download lightbox 2.51 just search plugins and install then you can do 2 things.
For individual photos use this “text” code at the end of your photo link:
<a href="your_image.jpg" rel="lightbox" title="this is a caption">
If you just want to save the time of doing each image and just use light box for all images, go to your editor and look for functions.php and place this in the body.
}
add_filter('the_content', 'my_addlightboxrel');
function my_addlightboxrel($content) {
global $post;
$pattern ="/<a(.*?)href=('|\")(.*?).(bmp|gif|jpeg|jpg|png)('|\")(.*?)>/i";
$replacement = '<a$1href=$2$3.$4$5 rel="lightbox" title="'.$post->image_title.'"$6>';
$content = preg_replace($pattern, $replacement, $content);
return $content;
}
THISE PART OF THE CODE CAN BE MODIFIED AT YOUR CHOICE WHAT IT DOES IS PLACE AN TEXT TITLE AT THE END OF THE PHOTO, IF YOU READ IT SAYS “IMAGE_TITLE. ” YOU CAN DELETE THIS OR PLACE YOUR OWN TITLE :NOTE!!! EACH PHOTO WILL HAVE THAT POST OR PAGE TITLE.
rel="lightbox" title="'.$post->image_title.'"$6>';
HOPE THIS SAVES YOU THE TIME I COULD HAVE SAVED.
Thread Starter
dycent
(@dycent)
PS. In my use the default image count is 5. So after 5 images just use the [slide] code and cslider will create an 2nd bullet.
Thread Starter
dycent
(@dycent)
Correction
1200 width fill fit 7 images
900 width will fit: 5 images
600 – maybe 3
300 – maybe 1