Topic: Gallery Ext.
Is there going to be a Gallery Extension for PunBB or is there one that exists that works with version 1.3.2?
Thanks
Bingiman
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 discussion → Gallery Ext.
Is there going to be a Gallery Extension for PunBB or is there one that exists that works with version 1.3.2?
Thanks
Bingiman
I was going to make one a while ago... but I guess I could make it tomorrow (not 100% sure).
That would be so awesome. It is the only thing keeping me from launching my site. I didn't want to use an external gallery script, so this is why I was looking for one with PunBB. Anyway, I look forward to seeing it if you do decide to make one.
Thanks
Bingiman
lol i,m planning one to :0
i'm currently integrating my whole site into punbb, need to integrate a links section, a gallery and some sort of article syste
Sounds fun.
I might have to upgrade my server for more hard disk space if I install it though!
It would be good if there was a maximum file size or perhaps the system could resize/optimise each uploaded photos. With all the 10MP cameras about these days, file sizes are getting too big for web use
Then, I guess Cereal can make it.
both make it then we can choose better one !
Nah, that's a waste of time, lol
it also depends; if he's not making one for community or free or fast (i.e. very soon)...
then the one that is public access deserves priority no?
also the one that hits the market first has first-mover advantage
edit: some typos as usual
mine will be public accessible
but there are a couple of others that are first on my todo list
1- the qq must be finished
2- the links db must be finished
also here is an overview of the features i would like to add (maybe we can add more if others want more)
1- simple gallery with admin page
2- users can post images to this gallery
3- option to allow posting to the gallery without mod approval
4- forum_gallery_random tag for the templates, displays a random (approved) image from teh gallery
5- forum_gallery tag for the templates, displays the latest gallery adition
6- main gallery page where all images can be viewed
anything else?
Sounds fun.
I might have to upgrade my server for more hard disk space if I install it though!
It would be good if there was a maximum file size or perhaps the system could resize/optimise each uploaded photos. With all the 10MP cameras about these days, file sizes are getting too big for web use
Code from my resizing function:
function image_resize($input, $width, $height, $delete = false)
{
list($currwidth, $currheight, $type) = @getimagesize($input);
if (empty($currwidth) || empty($currheight) || $type > '3')
{
return false;
}
$ratio = $currwidth/$currheight;
if ($currwidth < $width && $currheight < $height)
{
if (file_exists($input))
{
return $input;
}
else
{
return false;
}
}
else
{
$output = $input.time();
if ($width/$height > $ratio)
{
$width = $height*$ratio;
}
else
{
$height = $width/$ratio;
}
$zwidth = $width;
$zheight = $height;
$dimg = imagecreatetruecolor($zwidth, $zheight);
if ($type == '1')
{
$simg = imagecreatefromgif($input);
imagecopyresampled($dimg, $simg, 0, 0, 0, 0, $zwidth, $zheight, $currwidth, $currheight);
imagegif($dimg, $output);
}
else if ($type == '2')
{
$simg = imagecreatefromjpeg($input);
imagecopyresampled($dimg, $simg, 0, 0, 0, 0, $zwidth, $zheight, $currwidth, $currheight);
imagejpeg($dimg, $output, 85);
}
else if ($type == '3')
{
$simg = imagecreatefrompng($input);
imagecopyresampled($dimg, $simg, 0, 0, 0, 0, $zwidth, $zheight, $currwidth, $currheight);
imagepng($dimg, $output);
}
@imagedestroy($dimg);
@imagedestroy($simg);
if (file_exists($output))
{
if ($delete)
{
unlink($input);
}
return $output;
}
else
{
return false;
}
}
}
@cereal: cool.
but don't you just want to publish something with less features and have people test it and give you feedback. of course if you can add all those features and put it all in version 1.0 all the better. but it's hard to get things right from start?
always helps me to see something in action and then by using it notice what else I'd need.
but don't you just want to publish something with less features and have people test it and give you feedback. of course if you can add all those features and put it all in version 1.0 all the better. but it's hard to get things right from start?
always helps me to see something in action and then by using it notice what else I'd need.
i have no use for this extension if it doesn't has all these features ... so why wouldi code something that i can't use?
fair point. good progress then.....
I think Cereal and I have different ideas of "gallery". My idea is something like the attachment extension, except it'll show you the pictures' thumbnails. Basically, a per-post gallery.
At this point I will take any one of them. I am just desperate here. All I really am looking for is a gallery that allows members to submit their pics (approved option for admins - optional, or not) and categories. It should also be accessible in the forums as well, and by that I mean a member can submit a pic in a post and they could have the option via a dropdown menu as to which category it should be submitted in. Once posted, then a thumbnail is displayed and you can click for the full size image.
Bingiman a.k.a Shedrock
have these ideas been abandoned, or am i just failing to find 'em?
Picture gallery is like record of your happy memories. You must save your pics in the form of galleries, the ideas and suggestions are very helpful.
PunBB Forums → PunBB 1.3 discussion → Gallery Ext.
Powered by PunBB, supported by Informer Technologies, Inc.