drawings
My main portfolio site is http://www.ericthomasbostrom.com this site is for scraps and etc
My Facebook Fan Page

To make Galleria Classic theme have a 'fullscreen' toggle in the upper right hand corner of the gallery stage (replace all brackets "[]" with angle brackets "<>":

1. Add this div to your main styles-sites.css (adjust position/top/right as necessary) to style a fullscreen link in the top right of the galleria stage:
#fs {
position: relative;
top: 30px;
right: 20px;
text-align: right;
color: #ccc;
font: italic 11px/1 arial,sans-serif;
z-index: 2;
}
#fs a:hover,a.fs:active {color:#fff; background: none;}

2. Add this to your page before you call the galleria to add a "fullscreen" link in the top right of the galleria stage:

[div id="fs"][a id="fullscreen"]fullscreen[/a][/div]

3. Add this to your galleria.ready function to enable fullscreen toggle:

$('#fullscreen').click(function() {
gallery.toggleFullscreen(); // toggles the fullscreen

4. so your full galleria script will look like:

[script type="text/javascript"]
Galleria.loadTheme('galleria/themes/classic/galleria.classic.min.js');
Galleria.configure({
});
Galleria.run('#galleria');
Galleria.ready(function() {
var gallery = this; // galleria is ready and the gallery is assigned
$('#fullscreen').click(function() {
gallery.toggleFullscreen(); // toggles the fullscreen
});
});
[/script]

crit?: 1

To enable hylafax/faxmail/exim4 to process mail as 12345678@yourdomain.tld, that is, fax number as $local_part follow the directions below.

Please note this is best for standalone hylafax servers that do not process other email for local delivery. If you are using hylafax on a server that performs other functions, particularly email for your domain/local delivery, you would do best to use the traditional foo@12345678.fax transport route seen here.

1. Put the following in: /etc/exim4/conf.d/transport/40_exim4-hylafax-gateway substitute your country code as necessary by changing +1 to +33

######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
# ORDER DOES NOT MATTER #
# Only one appropriate transport is called for each delivery. #
######################################################################

# A transport is used only when referenced from a director or a router
# that successfully handles an address.

#These configure for sending of fax for email
fax:
driver = pipe
user = faxmaster
command ="/usr/bin/faxmail -n -d +1$local_part"
home_directory = /tmp
use_shell = true

2. Put the following in: /etc/exim4/conf.d/transport/050_exim4-hylafax-gateway make sure you change yourdomain.tld to your domain, such as foobar.com


######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
######################################################################

fax:
driver = manualroute
transport = fax
route_list ="*yourdomain.tld"

3. Edit /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs to change from the local delivery option of mail_spool to the new fax transport you've created.

.ifndef LOCAL_DELIVERY
# The default transport, set in /etc/exim4/update-exim4.conf.conf,
# defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities
LOCAL_DELIVERY=fax
#LOCAL_DELIVERY=mail_spool
.endif

4. If using single-file config, proceed to step 5. If using exim4 split configuration, update your configuration file with update-exim4.conf.template -r

5. Restart exim4 /etc/init.d/exim4 restart

6. Send a test fax to 2345678@yourdomain.tld the transport will add the country code automatically, resulting in 12345678@yourdomain.tld

crit?: 0

4/2012: 'Drawing Rally', ArtStart, Santa Rosa, CA
5/2012: 'Thought Nachos Issue 3', Thought Nachos
5/2012: 'I Like Soup', Virginia Museum of Contemporary Art, Norfolk, VA
6/2012: 'Enter the Void', Ayden Gallery, Vancouver, BC

crit?: 0