Quote:
Originally Posted by MarkFL
I am thinking you will need to hack the file "/includes/class_bbcode.php" to include this extra HTML, if I am interpreting your question correctly.
Open that file, and locate the text:
PHP Code:
// Display the attachment with no link to bigger image
Beneath this you will see the code:
PHP Code:
$replace[] = ($fullsize ? '<div class="size_fullsize">' : '') .
"<img class=\"image\" src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&d=$attachment[dateline]$stc\" border=\"0\" alt=\""
. construct_phrase($vbphrase['image_x_y_z'], $attachment['filename'], $attachment['counter'], $attachment['filesize'])
. "\" " . ((!empty($align) AND $align != 'config') ? " style=\"float: $align\"" : '') . " />";
Now it's just a matter of adding the HTML markup you want.
|
NO.
I just wanted to post my img, after finishing post I want the code to be like this:
Code:
<a href="http://domain.com/picture.jpg"><img src="http://domain.com/picture.jpg" /></a>
<div class="des">description...</div>