One more hurdle and I think I'll have it pretty well wrapped up.
I've searched everywhere - theme.php - slideshow.inc.php etc - and nowhere can I find out what's causing the issue:
When using the slideshow feature, the slideshow screen shows a large border at the top and bottom of the image - the side widths are alright - (see picture file below)
Any ideas how I can reduce the size of the top and bottom borders so that it equals the side widths ??
[attachment deleted by admin]
Displayimage.php.
function slideshow()
{
global $CONFIG, $HTTP_GET_VARS, $lang_display_image_php, $template_display_picture;
if (function_exists('theme_slideshow')) {
theme_slideshow();
return;
}
pageheader($lang_display_image_php['slideshow']);
include "include/slideshow.inc.php";
$start_slideshow = '<script language="JavaScript" type="text/JavaScript">runSlideShow()</script>';
template_extract_block($template_display_picture, 'img_desc', $start_slideshow);
$params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,
'{IMAGE}' => '<img src="' . $start_img . '" name="SlideShow" class="image" /><br />',
'{ADMIN_MENU}' => '',
);
Amend the '+100' as required.
I reduced the number from 100 to 1
Although it did not reduce it as much as I would have liked (because it looks like it's also dependant on the image width), it did reduce it somewhat, and it looks better than before.
Thanks
it needs some extra space at the top and bottom in case the vertical size of your slides differ - some browsers can not dynamically change the space, so the slideshow script pre-defines the space it might need later. This has been built into the slideshow code deliberately to make the slideshow cross-browser compatible - I guess you have to live with it, or use another slideshow script and incorporate it into the code (e.g. one from dynamicdrive.com). Several hacks have been posted in the mods board that you might want to look into.
Joachim