LWE-Gallery

LWE-Gallery is a simple, fast, and easy wordpress plugin for showcasing more than a few photos to your posts and pages.
Reasons to use this plugin:
- lightweight: ~20 kilobytes total
- easy: integrated into how wordpress already works
- fast: uses timthumb to create cached scaled images. (13 of the 20 KB)
- now with per-post dimension override [lwegallery 300x220]
LWE-Gallery is LightWeight Embedded Gallery. Tested with 2.7.1- 2.8.1
Planned improvements:
- more customization (colors, thumbnail size)
- better javascript, less inline.
- option to link to full image
Created Jul 17, 2009
1985 Hits
1985 Hits

- i put a descritption text above the lwe code, and it always shows bellow the thumbnails.
- my text is with accentuation. and the plugin change the accentuation for other carachteres. how i can resolve this?
thanks. - marujo (1 year ago)
Use: [lwegalleryinclude width=500 height=300 float=right]
Update lines
- 73: function lwegallery_return($final_width, $final_height, $final_float) {
- 82: $output = ''."n";
Delete:
- function lwegallery($final_width = '400',$final_height = '300') { (lines 39 -> 44)
- function content_lwegallery($content)
- add_filter('the_content', 'content_lwegallery');
And add at bottom
function include_lwegallery($atts) {
$options = get_option('lwegallery');
$final_width = (($final_width != '') ? $final_width : $options['final_width']);
$final_height = (($final_height != '') ? $final_height : $options['final_height']);
extract(shortcode_atts(array('width' => $final_width, 'height' => $final_height, 'float' => 'left'), $atts));
$content = lwegallery_return($width, $height, $float);
return $content;
}
add_shortcode('lwegalleryinclude', 'include_lwegallery');
jf.hermans
gmail.com - JFH (9 months ago)
Thanks
Russ - Russ (3 months ago)