Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
I have been playing around using Backlight's Publisher module to add photos to an album.
All is working as advertised.
However, I noticed a small issue when I attempted to upload a ".tif" file. I know only jpeg is supported, but I didn't realize I had selected a .tif file.
What happens is it appears that the .tif file is uploaded, but when the progress bar hits 100%, it just sits there spinning. The upload never completes. If I hit the "X" in the empty thumbnail image for the .tif file, the upload then completes.
I am not asking for support for uploading .tif files. I can easily convert to jpeg. But I figured you would like to know about this issue.
Thanks for the addition of the JSON interface in Backlight 3!
Any plans to add support for creating albums & uploading photos to Backlight with JSON? That way extensions could be written for other photo handler software, such as gThumb, on Linux.
The rest of the page does not load correctly
I will contact Bluehost regarding this.
I am getting the following error message when I try to go to my photo gallery at pfredd.com:
Something went wrong
Unexpected error: Version warning: Imagick was compiled against Image Magick version 1650 but version 1657 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
Please report error at http://community.theturninggate.net
Backlight 2 is up to date.
My web host is Bluehost.
Any suggestions on how to resolve this issue?
You can upload your video thumbnail to the video's album using Publisher, then edit the album to set the cover photo to that thumbnail.
After installing Backlight 2.0.2, the issue is resolved. The special characters, "'&<>, now display correctly.
Thanks!
OK, finally found it.
Thanks!
That turned off the breadcrumb for the Top Level album set, but the album in that album set still has breadcrumbs.
I would like to be able to configure a top level gallery so that Album breadcrumbs do not show the album set.
So, instead of the breadcrumb looking like: "Home > Album Set > Album 1", I would like it to look like: "Home > Album 1"
Is this possible?
If not, how do I turn breadcrumbs off?
Thanks!
If a photo comment contains a double quote character ("), it is displayed in a Vegas slideshow as ". If it has an ampersand (&), it is displayed as &.
Escaping them by using a backslash (\") does not resolve the issue.
While I can replace double quotes with single quotes (which display correctly), I have no substitute for the ampersand.
Any suggestions on how to resolve this issue?
OK, I have access to my old backlight info and will recreate the templates.
I thought everything in Backlight 1 was supposed to convert to Backlight 2?
Now I have to revert back to Backlight 1 (again) to see how I designed all of my theater templates, then I have to re-install backlight 2 and create new templates.
Are you sure there isn't an easier way to do this?
NOTE: I did install the Theater module before I did the "Update Album Files".
When I upgraded to Backlight 2, I had several templates disappear on me. All of them were based on the Theater module.
After restoring my original backlight 1, I exported these templates and re-did the conversion.
After that I tried to import a template and received an error message that it couldn't find "module-theater". I looked in the modules directory and noticed that the theater module is now named "pangolin-theater".
So I edited the template to reflect the new name, but received a slap on the hand when I tried to import it (cant edit exported templates, I guess...)
How can I get my templates back?
You can download the exported template HERE
I restored my web site to pre-Backlight 2.
I then re-did the upgrade from Backlight 1 to Backlight 2.
It appears to be working correctly.
I published a new album with no problem from Lightroom.
So, I guess I had done something wrong previously.
Will let you know if I run into the issue again....
Commented out the AddHandler and Backlight threw up because PHP wasn't at the right release level:
Your server is running PHP Version 5.2.17. Backlight 2 requires a minimum of PHP Version 5.4. We recommend PHP Version 5.6 or above.
Change your PHP version via your site's Control Panel or contact your host to enable a newer vesion of PHP .
The really weird thing is that I an 99% certain that everything was working OK last night when I first did the conversion from Backlight 1 to 2.
Today I started messing around with mt pages and temlates, including uploading a new album, and that is when I noticed the error.
I may revert my site back to before the upgrade and try again.
Here is the .htaccess that is in my site's home directory:
# Use PHP56 as default
AddHandler application/x-httpd-php56 .php
<IfModule mod_headers.c>
<FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
#RewriteRule ^(.*)$ - [E=BASE:%1]
##RewriteRule ^(.*)$ - [E=BASE:]
RewriteBase /
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ - [E=BASE:%2]
RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]
RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]
RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]
#RewriteCond %{QUERY_STRING} !mod_rewrite=on
#RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
#RewriteRule ^/?$ index.php [QSA,L]
RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]
And here is the one in backlight:
<IfModule mod_headers.c>
<FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
RewriteRule ^(.*)$ - [E=BASE:%1]
#RewriteRule ^(.*)$ - [E=BASE:]
# RewriteBase /backlight/
# RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
# RewriteRule ^.*$ - [E=BASE:%2]
RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]
RewriteRule ^/?search\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=publisher&c=gallery&a=search [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&p1=$4&p2=$5&p3=$6&htline=1 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&p1=$4&p2=$5&htline=2 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&p1=$4&htline=3 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z_\-]+)/([a-zA-Z0-9_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&a=$3&htline=4 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)/([a-zA-Z_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&c=$2&htline=5 [QSA,L]
RewriteRule ^/?([a-zA-Z_\-]+)\/?$ %{ENV:BASE}index.php?%{ENV:QS}&m=$1&htline=6 [QSA,L]
# Enable passing of mod_rewrite for /backlight/ site root
RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS}&htline=7 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ %{ENV:BASE}index.php?%{ENV:QS}&htline=8 [QSA,L]
</IfModule>
After upgrading to Backligfht 2, I get the following error message when I go to my site {pfredd.com}:
Unableto find the SQLite module. Backlight 2 requires the PDO, SQLite and XML modules. Make sure that these modules are installed and enabled.
If I have Backlight list the PHP modules, it appears that the "missing" modules are actually installed:
Installed PHP Modules:
Core
date
ereg
libxml
openssl
pcre
sqlite3
zlib
bcmath
bz2
calendar
ctype
curl
dba
dom
enchant
hash
fileinfo
filter
ftp
gd
gettext
SPL
iconv
session
intl
json
mbstring
mcrypt
standard
mysql
mysqli
odbc
mysqlnd
PDO
pdo_dblib
PDO_ODBC
pgsql
Phar
posix
pspell
Reflection
imap
SimpleXML
snmp
soap
sockets
exif
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
cgi-fcgi
imagick
pdo_mysql
pdo_sqlite
pdo_pgsql
magickwand
mailparse
OAuth
oci8
uploadprogress
mhash
ionCube Loader
SourceGuardian
Zend Guard Loader
If I go directly to an Allbum or Almum Set page, it appears to work fine.
I am running PHP 5.6
Understood. Thanks anyways.
Any possibility of adding a formatting token, maybe {newline}?
It doesn't work in the Slideshow caption. If I set the Caption to be:
{Title}<br>{Caption}
When I view the photo in the Slideshow I get something like:
Some sort of title<br/>Some sort of caption
.
It DID fix the HTML by adding the "/" to the closing bracket....
Is it possible, in the Album template, to specify you want a line break in the Captions Token field, so that Metadata tokens appear on separate lines?
If I were using HTML (which I know doesn't work here), I would specify something like: "{Title}<br>{Caption}"
The "Aspect Ratio X" and "Aspect Ratio Y" parameters dictate the shape of the Album "cells" in an Album Set.
Setting it to X=3 and Y=1 creates a rectangle that is three times wider than it is high.
See my test site at: http://pfredd.com/Test-P/album-set-1/
Thanks Matt.
I reset the "Release Aspect Ratio..." as you directed, then set the X & Y Aspect Ratios to 3 & 1 respectively, and I am now getting the results that look like I had in the Okapi version.