Thread Rating:
  • 5 Vote(s) - 4.6 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Ver1.4] Latest Attachment Gallery - for MyBB 1.4 [UPDATED]
(2013-03-12, 06:27 PM)mmlg620 Wrote: anyone know how to fix the size of the images because I have images hosted in large size and therefore exceeds the header of my forum.
thank you in advance

You can try in this way, I have fixed height in my forum but you can change also width obviously:

- open atchgallery.php
- find this code:
$thumbnails .= "\t<a href=\"" . $link . "\" target=\"_blank\"><img src=\"attachment.php?" . $image . "=" . $thumbs[aid] . "\" class=\"attachment\" alt=\"\"></a>\n";

- and add width, for example:
$thumbnails .= "\t<a href=\"" . $link . "\" target=\"_blank\"><img src=\"attachment.php?" . $image . "=" . $thumbs[aid] . "\" class=\"attachment\" width=\"200\" alt=\"\"></a>\n";

I have a problem with this plugin.

In my forum I have homepage forum in: site.com/forum/index.php

and homepage site in: site.com/index.php

In acp I have: "Show globally, only index, or only forum?
If you would like to make the gallery show globally, input 0. If you would like to limit it to the forum you pulled from, input -1. Or if you would like to make it show only on the forum index, input 1.
"

So I have put only "1", I want gallery only on site.com/forum/index.php

Attachment gallery works perfectly on homepage forum (site.com/forum/index.php) but also on homepage di site! (site.com/index.php)

How can I exclude gallery from homepage site?
Reply


Messages In This Thread
RE: [Ver1.4] Latest Attachment Gallery - for MyBB 1.4 [UPDATED] - by niere8 - 2013-05-21, 11:15 AM

Forum Jump:


Users browsing this thread: 19 Guest(s)