In der Anleitung steht :
Description: The Highslide Attachment Mod for phpBB3 makes attached images open in a nice popup layer.
Angehängte Bilder werden also in einem POPUP dargestellt .
zuerst :
Code: Alles auswählen
Copy: root/highslide
To: highslide
Code: Alles auswählen
Open: styles/prosilver/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.
Code:Select all
</head>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
<link rel="stylesheet" href="{ROOT_PATH}highslide/highslide.css" type="text/css" />
<script type="text/javascript" src="{ROOT_PATH}highslide/highslide-with-gallery.js"></script>
<script type="text/javascript">
hs.wrapperClassName = 'controls-in-heading';
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
slideshowGroup: 'highslide',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: false,
overlayOptions: {
opacity: 1,
position: 'top right',
hideOnMouseOut: false
}
});
</script>
Code: Alles auswählen
<link rel="stylesheet" href="{ROOT_PATH}highslide/highslide.css" type="text/css" />
<script type="text/javascript" src="{ROOT_PATH}highslide/highslide-with-gallery.js"></script>
<script type="text/javascript">
hs.wrapperClassName = 'controls-in-heading';
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
slideshowGroup: 'highslide',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: false,
overlayOptions: {
opacity: 1,
position: 'top right',
hideOnMouseOut: false
}
});
</script>
</head>
Code: Alles auswählen
Open: styles/prosilver/template/attachment.html
Find
Tip: This may be a partial find and not the whole line.
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
<dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
</dl>
<!-- ENDIF -->
Replace with
Tip: Replace the preceding line(s) to find with the following lines.
<!-- IF _file.S_THUMBNAIL -->
<div class="highslide-gallery">
<a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" class="highslide" onclick="return hs.expand(this, { wrapperClassName: 'controls-in-heading', slideshowGroup: 'highslide' })"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a>
<div class="highslide-heading"></div>
<!-- IF _file.COMMENT --><br /> {_file.COMMENT}<!-- ENDIF -->
</div>
<!-- ENDIF -->
Habe dann im ACP Templates , Themes und Grafiksammlung aktualisiert , den Cache geleert und den Browser aktualisert .
Egal ob ich jetzt ein Bild in einem Beitrag hochlade oder ein Bild aus dem Internet mit BBCode [ img ] verlinke ,
es passiert nichts , es ist alles genau so wie vorher , hab ich was vergessen ?
EDIT : es funktioniert mit BBCode [ hsimg ] link to image [ /hsimg ]