Recent Topics

1 Jul 29, 2006 01:57    

This is the thread relating to development of the 2.x series of the [url=http://forums.b2evolution.net//viewtopic.php?t=7880]Gallery Project[/url].

For 1.x series development, use this thread:
http://forums.b2evolution.net//viewtopic.php?t=8693

2 Sep 27, 2006 13:56

Ok heres a bit of a update on whats happening.

1.3 is gone, as it is now 2.0, so you should all be :D because of the advancements, but also :( because the completion is going to take a while...

On the outside heres what you will notice;
The Gallery Project now has it's own CMS, and atm will use the b2evo user and group database.
Galleries have been renamed to Albums.
And a new thing called Collections is there which are a collection of Albums and Images.

On the inside;
Nearly everything has/is being re-written.
There is a new debug/logging system that will be extremely usefull in the future.
Items have been turned into Classes to make the code dynamic and easier to manage.
There is a Office Class being developed for management of the Office/Administration area.

Also here is the new way images will be uploaded, you will get the following;

[ ] Original
[+] Large
[+] Medium
[+] Small

I think thats it atm.

Yeh it is going to take a while, don't expect anything soon, i'm hoping to get a version done by the start of december. But exams and other things may and probably will destory that, as they have always done in the past.

3 Oct 13, 2006 21:52

Heres some news for the v2 release.

I've just got adding images working successfully!

And when i get the Image class stable, i will do a alpha release so people can see what i've been doing. (The release will only be basicly so you can have a look at the source code, it won't work)

So yeh, heres a list of classes that i've created;
Gallery
Gallery_Office
Gallery_Item
Gallery_List
Gallery_Image
Gallery_Album
Gallery_Collections
Gallery_DB - independent
Gallery_Settings - independent

And here is the current database tables;
gallery_albums
gallery_album_collection
gallery_collections
gallery_images
gallery_image_album
gallery_image_collection
gallery_users

And because of the way the Gallery_DB Class works, you can easily use different tables instead, so instead of using gallery_users, i can use evo_users...

So yeh, the only thing is, exams are next month, and a lot 2 tests are next week, plus i also just got a project-by-project job in web development, so i will really by struggling for time.

So yeh...

A xmas release is looking very achievable :)

4 Oct 14, 2006 10:56

The image class is now fully functional, meaning; Creating/Adding, Updating, and Removing images works.

And was tested with the following;

<?php
	require(dirname(__FILE__).'/includes/_gallery.php');
	$Gallery = new Gallery();
	//$Gallery->install();
	
	echo $Gallery->debug_info();
	
	$sample_images_path = $Gallery->media_path.'samples/';
	
	if ( false )
	{
		
		$Image = new Gallery_Image(
			$sample_images_path.'/gavin\'s display picture.jpg',
			'Me & Gavin',
			'Love is in the air :P'
		);
		
		$Image = new Gallery_Image(
			$sample_images_path.'/gavin\'s display picture.jpg',
			'Me & Gavin',
			'Love is in the air :P',
			array('large')
		);
		
		$Image = new Gallery_Image(
			$sample_images_path.'/alex\'s display picture.jpg',
			'Me & Alex',
			'How cute are we!',
			array('medium','large','original')
		);
		
		$Image = new Gallery_Image(
			$sample_images_path.'my display picture.jpg',
			'My Display Picture',
			'At the tavern, good times',
			array('small','medium','large','original')
		);
		
		//$Image = new Gallery_Image(11);
		
		if ( !is_null($Image) )
		{
			//echo $Image->display('test');
			
			//$Image->update( $sample_images_path.'/alex\'s display picture.jpg' );
			//echo $Image->display('test');
			
			//$Image->update( $sample_images_path.'/alex\'s display picture.jpg', 'Me & Alex', 'How cute are we!' );
			echo $Image->display('test');
			
			//$Image->update( $sample_images_path.'/gavin\'s display picture.jpg', 'Me & Gavin', 'Love is in the air :P' );
			//echo $Image->display('test');
			
			//$Image->remove();
			//$Image->remove(false,true); // remove files
		} else
			echo 'The image does not exist';
			
	} else
	{
		$image_rows = $Gallery->DB->select('images','*');
		
		$image_rows_size = sizeof($image_rows);
		for ( $i = 0; $i < $image_rows_size; $i++ )
		{
			$image_row = $image_rows[$i];
			$Image = new Gallery_Image($image_row);
			if ( !is_null($Image) )
			{
				//$Image->update($Image->images['large']['path'],$Image->title,$Image->description);
				echo $Image->display('test');
			}
		}
	}
	
	echo $Gallery->debug_info();
?>

Now i need to study ;)

5 Nov 24, 2006 12:21

Ok, i'm thinking right now wether or not i should make the Gallery Project v2 built on PHP-5 not PHP-4... As it would make my code a lot cleaner, and it's getting quite huge. If this will affect anyone please post back.

6 Nov 24, 2006 17:38

Ok, i will still go for php4.

Also i've spent today working on it, mainly remaking the classes.

Next thing to do is to go over the code again, and clean it up, make it more readable, and use better coding practices if i can. Then it will be the finishing of the Album and Collection classes, then the creation of the User and Groups classes, and then the work on the office.

Things i could do with some help with;
* Logo designs
* CMS Designs
* CMS Design implementation (css and xhtml)
* Documentation (this will require a fair bit of knowledge on php)

I'm aiming for a January release.

7 Jan 30, 2007 22:42

The above posts are quite old. Here is the latest information.

Gallery 2, is now known as urGallery, you can view the preview here:
http://urGallery.net/preview/

It will be it's own CMS, and will feature plugins for the b2evolution (and possibly wordpress) platforms.

Users will be able to register free accounts at urGallery.com to host their own galleries (limits and adverts will be in effect) - this is currently just an idea.

A Gallery is everything. It consists of Collections, Albums and Images.
Collections consist of multiple Albums.
Albums consist of multiple Images.

Images will have titles, descriptions, and other information as shown in the preview site.

Images will be able to have comments posted on them.

The system will feature tagging.

Collections, Albums, Images, and Searches will be able to be viewed in a slideshow, and also downloaded in a .zip format.

Well thats it for now.

8 Feb 15, 2007 13:04

Hi,

Your plugin seems good, I'm searching a photoblog and b2evolution is really perfect for the blog part, but not yet for the photo part.

There is a beta currently a beta version somewhere ?

I would choose b2evolution but there is no plugins to show a galleries like your plugin v2.0 ...

Thanks

10 Feb 15, 2007 15:10

Ok but I believed the v1.0 doesn't have albums page ?

The goal for me, is to permit a direct access of my photos somewhere in the blog.
On this page, visitors could see all albums and see photos.

And if I have well understand, the v1.0 permit album but only on a special blog ticket ?

11 Feb 15, 2007 16:30

neokod,
If you go to demo.b2evolution.net and look at the most current (unstable) version, you can see some photoblogging features being added into the b2evolution core. I have no idea when they'll be released, but just thought you might like to know that.

12 Feb 15, 2007 17:28

Hi personman,

I don't see any photos albums on the CVS Head 2.0 or Newer 1.10 demo... can you give me a direct link please ?

And about this unstable version, do you know if the release is for few days, weeks.. or months ?

Thanks

14 Feb 15, 2007 18:33

Ok, thanks for this information.

15 Mar 25, 2007 06:08

I would love to have a scrolling photo gallery on one of my blogs similar to myphotoalbum but I want to host my own photos (and have control over them!).

Is there someone with this Gallery Plug-in working on their blog that I could take a look at to see what the output is please?

Also is there any word that a photo gallery will definitely be included in B2Evo 2?

Is there any way of 'protecting' your own photos so people don't rip them off?

Thanks


Form is loading...