(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?