Redbrick Gallery

From Redbrick Wiki
Revision as of 22:02, 12 December 2012 by D fens (talk | contribs) (Outdated, added TOC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IMPORTANT: The content of this page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice.

RB Gallery is your free online picture gallery. Running Gallery2, you as a member of Redbrick are given unlimited storage space for all your photo's under a url of http://gallery.redbrick.dcu.ie/username

RB Gallery Basics

To begin, simply login to the system (using Pubcookie of course) to have your own gallery auto created. From there you can begin to upload your pictures and start your album.

Custom Themes

To get your own custom theme for your gallery, simply create your own theme, then mail the webmaster and ask nicely for it to be added. Any custom theme you create MUST contain your username to stop any naming conflicts with other user themes. It's worth noting that almost everything in the interface is customisable so there is no reason why your rbgallery can't be embedded directly into your website. Let us know on the discussion page if you do. DCU Sub Aqua have the best example so far which can be seen here.

Random Image

The random image that appears on the side of your gallery will normally display a random image from somewhere within the entire rbgallery. If you don't want some of your pictures to appear on that image block then go into Edit Album, then Album, then put a tick in Prevent this album from being displayed in the Image Block. If however your looking to only display random images from your own album within the image block, you will need to create a custom theme and use the settings below to customize the stream. The same will work from your own website too.

Use a PHP block like the one shown below to include an image block in a PHP page outside of Gallery.

<?php @readfile('http://gallery.redbrick.dcu.ie/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>

g2_blocks Pipe(|) separate list chosen from: randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage, weeklyImage, monthlyImage, dailyAlbum, weeklyAlbum, monthlyAlbum, specificItem; default is randomImage
g2_show * Pipe(|) separated list chosen from: title, date, views, owner, heading, fullSize; the value can also be: none
g2_itemId Limit the item selection to the subtree of the gallery under the album with the given id; or the id of the item to display when used with specificItem block type
g2_maxSize Scale images to this maximum size. If maxSize exceeds the thumbnail dimensions, you must also specify g2_show=fullSize
g2_linkTarget Add a link target (for example, to open links in a new browser window)
g2_itemFrame * Image frame to use around images
g2_albumFrame * Image frame to use around albums

If a parameter marked with * is omitted then the site default defined above is used.

Image frames require CSS to be displayed correctly. Include the following in the <head> section to support image frames.

<link rel="stylesheet" href="http://gallery.redbrick.dcu.ie/main.php?g2_controller=imageblock.ExternalCSS&g2_frames=wood"/>

Specify the frame id (or pipe separated list of ids) in the frames parameter. Omit the parameter to support the image frames configured above. Frame ids are the directory names in the modules/imageframe/frames directory.

Additional Modules

If there are any that you would like added then just mail the webmaster and ask for them to be installed and enabled. Usually they will be added unless there is good reason not to. Most of the defaults are already enabled and setup with the exceptions listed below. The following upload methods are currently disabled:

  • From Local Server (Pending a total rewrite of the module for security)
  • From Web Page (Will work for anything that doesn't require the proxy. Proxy support pending)

Errors

  • Why do I get an error about user 5 not having permissions when using the Gallery Remote?

This is caused by cookies not being set correctly. Best thing to do is clear your cookies and restart your browser. If it still doesn't work after you login back in, repeat the previous steps and also clear the cookies from Java itself.

  • Windows XP upload system doesn't work

As the message on it says, you need to login via Internet Explorer before this system will work.

  • Why does my gallery never make it to the front page?

The system for rearranging the gallery frontpage bases who gets up the front on a number of different items such as view count, item count in the gallery, recent activity (i.e. if you uploaded photo's today), and lastly if you have an image assigned to your gallery or not. If you do not have an image assigned to your gallery then do not expect to ever reach the front of the gallery. The script isn't run on any regular basis currently as it's not completely accurate so be patient.