Table
of Contents
Contents
http://www.slooz.com/trinkets.php?proj=expose
Standard
installation via the Joomla! component installer
Nesting
of albums, and assigning thumbnails to albums and album collections
Picture
upload and resize
Flash
video (.FLV files) upload
Copyright
and watermark addition during resize
Assigning
a description to each collection, album & image
Image
strip view for previewing images
Customization
of the interface layout, sizes and the button icons
Playing
slide shows
Image
pre-loading
Multiple
streams per video
SpeedSense
mechanism for automatic stream assignment based on the user's bandwidth
<? Phpinfo(); ?>
Once you have created the file, run it in a web
browser and make sure in the output that you have the required extensions.
You also need to configure php.ini. PHP settings can be
changed in php.ini, as described in the PHP documentation.
safe_mode: safe_mode must be disabled in order for Expos to work
correctly
disable_functions: The disable_functions directive
must not include the functions exec and set_time_limit
file_uploads: file_uploads must be set to On if Expos is to be able to upload
files from your computer
upload_max_filesize and post_max_size: These configuration parameters
control the maximum file size that can be uploaded. Adjust these from the
default 2M
setting to something larger if you have problems
uploading pictures from higher resolution cameras.
Upgrading: This works for upgrading from RC2 to RC3. It has not been tested
from RC1 to RC3.
There is no official upgrade so ALWAYS BACKUP YOUR
components\com_expose folder before you try any upgrade.
If you made any changes to config.xml or strings.xml take a backup
of those files to so you can see the old values and add it to the new ones.
If you have changed the watermark picture/font take a backup of it
too.
If you made any changes in settings in Album Manager take a backup
of settings.xml
Both the watermark.png and the settings.xml are
located in \components\com_expose\expose\manager\amfphp\extra
1.
Take a
backup of your img and xml folders
located in
components\com_expose\expose\manager.
2.
Uninstall
expos from the Joomla component installer
3.
Install
the new version using the component installer
4.
Copy
your old img and
xml folder back
to the server
5.
Edit
config.xml and strings.xml if you had edited them from the Expos defaults
prior to upgrading
6.
Copy
watermark.png back if you used it.
7.
Copy
settings.xml/watermark.png back to components\com_expose\expose\manager\amfphp\extra
8.
Copy
embedcopy.ttf to \components\com_expose\expose\manager\fonts
9.
Clear Private Data (Firefox) or delete temp internet files
(Internet Explorer) or perform a hard refresh (ctrl f5) to clear the cache.
10. If everything fails.
Restore your expos with your backup.
How
wide is your current template?
How
wide is the space in which Expos will be displayed (i.e. your template width
less any space occupied by menus, CSS padding or other modules).
What
size do you want your images to be displayed at?
Consider that you will have small fitting images (thumbnails), normal fitting
images (images displayed within your Joomla! template) and large fitting images
(images that pop-up in new browser windows when you zoom in on a normal fitting
image).
For example, lets assume that your template is 900 px wide with a 200 px wide
module (such as a menu) on the left. This leave 700 px in which to display your
photos. Thus, you will want your regular sized images to be no larger than 700
px, and 650 pixels is a good choice as the extra 50 px will be available for white
space and such around the images.
Based on the above example, you will now need to manually modify 2 files using
a good text editor (such as TextPad for Windows or Text Wrangler for OS X) and
update your server with these files via FTP. All the files are found in the
following location:
<joomla!_root>/components/com_expose/
expose.html.php
Edit lines 95 and 96 (RC3 version of Expos) such that the height and width
macth the space available in the template. This file contains the iframe which
specifies the main container for Expos. This should be set to the maximum
space available, in our example, 700 px. only need to edit
expose.html.php now, lines 95 & 96
/expose/config/config.xml
This is the main configuration file for Expos. Here you can adjust almost
every parameter of expose. The most common parameters that you will need to
modify are the Main Panel options. Read the following thread for a detailed
description of the parameters.
http://www.gotgtek.com/forum/index.php?topic=305.0
Since every template is different, some trial and error is required to see what
works best for you. A small version of Expos has been created (see the
download url above) for use with typical Joomla! templates.
Once expose is installed and customized, you can
get to work creating your collections/albums and populating them with images and
movies. This is performed entirely with the Album Manager. The rest of this
section will describe the use of the Album Manager built into this component.
However, applications for managing your collections/albums are available for
Windows and Mac OS X (see section 3(h), below). Very large collections may be
more efficiently managed using the stand-alone applications.

Small
fitting: thumbnails displayed in the image strip
Normal
Fitting: the image displayed when you click on a thumbnail in the image strip
Large
fitting: the pop-up image displayed when you click the magnifying glass icon on
the Expos toolbar.
Since the small and normal fitting boxes are displayed
within the template, determining the most appropriate sizes will certainly
affected by the template you are using (see 2(d) above for more details) as
well as the available server space and bandwidth.
Photos: To adjust the photo settings, open the Expos
album manager from the component menu of the Administrative back-end (or use
the album manager for Windows/OS X, see below). Click the SETTINGS button to
display the Expos settings dialog. In the example below, we have chosen
settings to fit a space 700 px wide in our template.

If some of your original images will be smaller than the Large fitting box,
you may choose whether these images will be expanded to the indicated size by
selecting Create large image.
This screen also provides options for embedding copyright
information (or other text) including the text size, color and opacity.
Finally, Expos can add a watermark to your normal fitting
and large fitting images. To enable this feature, select the option on this
screen. Customize the watermark by editing the following file:
<joomla_root>/components/com_expose/expose/manager/amfphp/extra/watermark.png
As an example, I desired a copyright symbol in the center of
my 800x600 image (which is the large fitting size in my expose settings). To
achieve this, I created a transparent 800x600 png with my watermark in the
middle, saved it as watermark.png and replaced it with the original file
referenced above. The results can be viewed on this demo site:
http://demo.anything-digital.com/
As you can see, this worked perfectly when you use the
magnifying glass buttton to view the large fitting image. You will also notice
that on the normal image (600x400), the copyright symbol is the same size as in
the large fitting image and it is in the upper-left corner. How does this
happen? While my normal fitting image is being processed, the bottom and right
borders are aligned with the 800x600 watermark.png. Since the medium-sized
image is smaller, the watermark appears full-size but in the upper-left corner.
If I had used a 600x400 watermark file with the centered
copyright symbol, the copyright would be in the center of the normal fitting
image, but shifted down and right in the large fitting image. In short, choose
which image most people will look at, and optimize your workflow accordingly.
Putting the watermark in the bottom-right corner of watermark.png will give
consistency between the normal and large fitting images, but may be less useful
as a deterrent to copying.
Video Settings: Expos supports flash video files that have a .FLV file extension. Existing videos must be appropriately sized (as Expos does not resize video) and converted to FLV format prior to uploading. Flash videos can be created from AVI, MPEG, Quicktime and WMV files using the free FLV encoder from RIVA at the following url:
http://www.rivavx.com/index.php?encoder&L=3
Video settings are found on the Video tab of the same
settings screen for the photo settings (see below). Adjust the fields to modify
the parameters of thumbnails generated from video files (see Creating
Thumbnails, below).

Upload
photos: Choose image files from your computer and follow the instructions to
upload. Files will be resized, copyrighted and watermarked depending on the
settings.
Upload
videos: Choose flash video files from your computer and follow the instructions
to upload. Files will NOT BE resized, copyrighted or watermarked. Files must
also be flash videos with a .FLV file extension.
Add
from bucket: Files (photos and .FLV flash videos) must be manually transferred
to the bucket (i.e. via FTP). The bucket location is:
<joomla_root>/components/com_expose/expose/manager/bucket/
Once the files are transferred to this location, click the Add from bucket
button, select the appropriate files from the list and follow the instructions.
All three upload buttons are found
in the Upload Buttons area of the Album Manager.
To change the Titles of your albums, select the album of
interest and then click the Rename button below the collections/album list.
To change the Titles of your media, simply double-click the Title itself.
Adding dates and locations to your media can be a nice
addition to your collection. Create/edit Dates and Locations by double-clicking
the appropriate textareas for the desired media file. In many cases, the same
Location, Date, Description and Title may apply to an entire album. Expose
makes it easy to propagate this data from one file to all the files in the same
album. Simply right-click the file which already has the desired Location,
Date, Description and/or Title and select the appropriate Apply to rest
option.

Play the video until an appropriate frame is located and
pause the video. Click the Capture to thumbnail button to save the frame as
the video thumbnail. Repeat this process as necessary to achieve the desired
results.
To give your collection the most impressive appearance, you
should also create collection and album thumbnails. These will be displayed
when visitors to your site browse your albums. The only limitation is that
collection/album thumbnails must already exist as photo or video thumbnails. To
create a collection/album thumbnail, browse to the photo or video which has the
thumbnail you desire. Select the photo/video and ensure the thumbnail is
displayed in the Media Thumb Preview area. Next, click the Create album thumb
button and select the desired collection/album. To confirm that the thumbnail
is being used for the collection/album, select the collection/album from the
Album List. The thumbnail should appear in the Album Thumb Preview area. Repeat
this process for any remaining albums or to replace existing collection/album thumbs.
Album Manager for Windows and Mac OS X If your host does not support the strict server requirements for the
album manager contained within this component, or if you have a very large
media collection, you may still use the Expos component to display your pictures. Simply install your component,
create the appropriate menu item as described above and customize the component
to suit your Joomla! template. However, all album management will be performed
using the stand-alone Album Manager application (available for Windows or Mac
OS X operating systems). The use of these applications is beyond the scope of
this documentation, but the basic behavior is similar to that described above
in Section 3.
The applications may be downloaded directly from slooz.com:
Windows: http://www.slooz.com/trinkets.php?proj=expmngwin
Mac OS X: http://www.slooz.com/trinkets.php?proj=expmngmac
A tutorial for the Windows version
of Album Manager is available here:
http://www.slooz.com/article.php?article=intro_win
Note: These applications are limited to managing 3 movies but are otherwise completely functional. Users requiring unlimited movies will need to purchase a license (a license for the Windows and Mac OS X Album Managers is included with the commercial Expos licensing fee as described in section 1(c) above).
URGENT: Using more than one manager is not currently supported so choose carefully what album manger method you will be using or risk losing all your media and albums when switching managers. YOU HAVE BEEN WARNEDALWAYS BACKUP BEFORE EXPERIMENTING.
It is possible to manually synchronize the component Album Managers and the stand-alone applications. More information on this process can be found on the Expose troubleshooting forum at the following url: