Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 Re: Backlight 2 Support » Backlight 2 not able to access image more tha 2 metadata fields. » 2019-10-14 01:30:24

I finally got some time to work on this.  It all works now, although there is still an "I can live with it" issue with portrait format images in the album pages.  It is now fully implemented and drives my entire 13,000+ page web site.  You can see the result at https://www.reefimages.com

#2 Re: Backlight 2 Support » Backlight 2 not able to access image more tha 2 metadata fields. » 2019-07-08 00:50:50

Unfortunately, no.  I am developing almost exclusively on a localhost setup.  I could set up a protected subdomain version but that would take time I do not have for the next six to eight weeks.  I did notice that, in the iconic setup (what I am developing on now) vertical images are cropped and displayed to fill the box settings allowed.  The full vertical image behavior shown is persistent in Descriptive mode even after a full replacement and update of the backlight 2  installation and when all my phplugins and css customizations are disabled.

#3 Re: Backlight 2 Support » Backlight 2 not able to access image more tha 2 metadata fields. » 2019-07-07 05:15:35

Thanks, especially for the code sample.

As to your thoughts on documentation, I seek to disagree about what is possible.  What I am suggesting be produced is a single file with a listing of settings and what they do.  Producing that the first time would indeed take some time.  However, if properly designed it could both help users AND developers.  I absolutely KNOW this as I was Director and team manager for a large multi-coder organization that established exactly this sort of listing for all meteorological and environmental data for Alaska.  Data flowed in from many sources and coders formatted output modules for users, each coder contributing changes as data set characteristics changed over time.  A central database of code changes took a while to design and implement, but once it was a single data file, updated by each coder as changes were made was available to everyone to coordinate work flow.  Once such a database exists (yours would be orders of magnitude less complex that the Alaska one) a simple set of daily update routines plus a cron file web update could maintain the list for users with ZERO added effort.  Anyway, just a suggestion.

The album set page design issue I flagged was indeed using the most recent available version of the Descriptive design option.  I can send you an image that shows this. Just let me know how to send it.  This is not a big issue for me as I can live with the iconic design, which works well and will work better when I have time to manage caption length and add white space to even up the cells borders. 

Added: Her is the image.  It will be available online for a couple of weeks and then will auto-expire
album_set_screen.jpg

The metadata issue is the most important one.  I had already verified that the title tag for the single image could load all the metadata tags I need.  From your code suggestions I should be able to hide and parse the title tag and use the JQuery and css to produce the desired result.  I have month long travel scheduled and several onrushing deadlines so it will be a while before I get to this.  I will let you know if I run into other issues and send you a link so you can how the site looks (all 10,000 pages) looks once it is up and running.

#4 Backlight 2 Support » Backlight 2 not able to access image more tha 2 metadata fields. » 2019-07-06 07:02:18

dsegar
Replies: 6

I had finally decided that Backlight 2 would be developed enough to migrate from my CE4 site and have been working on the implementation.  First, let me say that Backlight 2 is indeed fast and generally easy and flexible.  There are a few issues, especially the very poor documentation (e.g there is a setting for Bokeh SVG on or off but a search fopr Bokeh in either the documentation or forums for Bokeh returns nothing - not an issue for me but Backlight is supposed to be intuitive and many do not know what this is).  What is a BADLY needed is simple listing of all settings with a short explanation of what exactly they apply to - think the list of settings at the end of all camera manuals.

At present I have Backlight 2 designs functioning for my entire site.  There are still a few issues I am cleaning up but there are three that stand out.
1. I would like to replace the nav buttons on the single image page with css styled text buttons and have not yet found a way to fully implement this.  Not a deal breaker but annoying
2. On the album set  pages, there is a quirk that looks bad when a vertical image is the random image selected and dispayed from the album.  In CE4 equivalent this was easily and cleanly handled by the text flowing to fill the space left by the downsized image needed due to the height- width properties of the vertical image.  I can live with this but it looks like bad design so any ideas about how this can be addresses would be welcome.
3. Here is the absolute deal break or make issue for me.  My site is educational and completely depends on displaying several pieces of metadata information about each of the images shown.  Backlight fails utterly here.  First, there are only two metadata items allowed (other that image name and dimensions) - I need 5 or 6. Second, the metadata are not available in the single image template except in the very poor single line title field.  This tilte line defies styling that can make several pieces of information easily readable under the image.  CE4 suffered from these same issues but I was able to edit the php code in the template to access additional metadata items where my Lightroom stores relevant data items (mostly IPTC text fields).  There is no full textual php "template" in Backlight as there is in CE4. Thus developing php code to add metadata items and make them available for printing in a formatted div (as done in CE4), can apparently only be done by using a phpplugin code section, (which would probably be placed at singe_page_bottom hook location) but I am not a php expert and have not found a way to do this yet.  At this point I need to know if this is possible, and preferably get pointed to the right sample code snippets to base this on.  Otherwise, as I say, this is a deal breaker as I my time needs to be assigned to other things (authoring several textbooks) and there will be no way I can ever move fro CE4 to Backlight.  Any ides on how to approach a phpplugins fix that would allow multiple image metadata text fields to be fetched would be welcome.   This boils down to the whether it is possible to fetch multiple metadata fields and make them available for echo or print commands.   

Thanks in advance for any suggestions that you can make.

#5 Backlight 2 Support » Installing backlight 2 .htacces & index.php issue on existing site » 2019-06-18 01:24:05

dsegar
Replies: 2

I am trying to install Backlight 2 on a complex (10,000+ pages) web site partially driven by CE4.  Because I will nee to redesign my pages in Backlight 2 (which I expect to take several weeks or more) I need to install Backlight 2 on parallel with the existing site which already has complex .htaccess and index.php files that drive and control many other functions of my site.  I could try adding the contents of the Backlight files to my existing .htaccess and index.php but that may cause unexpected issues.  I could also, with some difficulty use a testing server for Backlight but I would still face the same issues of merging the Backlight index.php and .htaccess later.  Is there are work around that for this issue.  Ideally that would mean leaving my exiting files as is and finding an alternate way to provide any of the .htaccess and index.php files that is in the Backlight 2 install package using alternate file names.  I do not see spending time on Backlight page design unless I can be sure Backlight 2 can be integrated in my existing site without adversely affecting other functions and the eventual changeover MUST be smooth and fast since my web site supports an online textbook that is used by thousands of students worldwide so any downtime has to be limited.

I the documentation on Backlight 2 it states that Backlight can be used to drive an entire site OR to add to an existing.  However, I can find NO documentation as to exactly how how this can be done.

#6 CE4 Stage » Pages crashing on Android when created by Stage CE4 » 2016-04-16 08:49:08

dsegar
Replies: 1

I am using CE4 Stage to create video embedded pages.  Everything is working perfectly for windows based browsers, but when I launch the page in any browser on an Android phone (Galaxy) the page loads but then the browser either crashes immediately (always for Firefox most recent version) or simply stays on the loading screen without ever stating the video.  Any ideas?

#7 CE4 Publisher » Multiple gallieries linked to the same image folder? » 2015-12-10 08:49:14

dsegar
Replies: 1

I have a large number of galleries with different themes so that some images appear in multiple galleries.  This means that if I use the standard folder set up, I will need to load some images several times - one for each gallery in which they appear.  In a small site this may not be a problem but, for my site (which I am currently redesigning and rebuilding with TTG) this will mean the difference between about 20,000 and 35,000 files and perhaps 1200 folders and 2500.  If possible I would like to avoid this file overload so I am looking at whether it is possible to configure paths so that all single images from particular sub group of galleries are help in the same folder.  If this is possible, the database would load image from a single photos folder to serve more than one gallery.

An ideas on how (or if) this can be done.

Thanks.

#8 Re: General » Additional metadata fields with output to single image page » 2015-11-06 02:31:11

Hmm.  I did know that you can use multiple metadata fields in each of the two slots available, plus additional text but that is less than satisfactory for what I require (the images are presented on the site as a guide to species identification so several informational items are necessary). 

I have not yet fully investigated how the single image page can, or can not be modified, but if there is a hook to phpplugins on the page so i will start from there.  I do have the option to the single image php page to display a cgi generated page (the method now used on my site).  I would prefer not to have to do that since it requires separate metadata text files to be generated and formatted, and the cgi script is not currently mobile friendly so I would need to deal with that too.

#9 General » Additional metadata fields with output to single image page » 2015-11-05 09:29:41

dsegar
Replies: 4

I am trying to find the best way to add 2-3 additional metadata fields to the gallery/publisher process and output them as text (that I can format) under the image in the single image page.  I would also like to add some text to the same single page area that surrrounds the metadata text (labels that would remain the same on each sinlge image page). If anyone has already done this or something similar I would appreciate some help.  If not, does anyone have thoughts on the way this can be implemented?

#10 Re: CE4 Publisher » Why two identical thumbnails. » 2015-04-30 03:48:07

OK, so I will just re-arrange the links appropriately and delete one set.

#11 CE4 Publisher » Why two identical thumbnails. » 2015-04-29 06:22:23

dsegar
Replies: 3

I am testing gallery/publisher and have found that exports always generate two folders
thumbnails, and
thumbnails-for-mobile
and the files in each folder are identical to each other using a byte for byte comparison.  Is this correct behavior?

I know that the engine has link references to thumbnails in both folders but do not have a clue why two separate duplicated folders would be necessary.  Some ISP's do have a # of files limit and the duplication does not help in that respect.

#12 Re: CE4 Gallery » Multi-line metadata layout issues. » 2015-04-28 10:42:26

If you look at the screenshot, I have handled the long text by text wrapping.  That is not the problem.  The problem is, as you suggest, a float problem.  On my old site (which can not now be updated automatically due to the demise of a software program), the html did handle the float problem with no issues at all because the images and text were placed in an html table.  If there is not an easier way, the table approach is exactly what I will try to implement but it will be, for me, a long haul to edit the code so that I can still use publisher to generate the pages (about 250 thumbnail pages on my site at present and this will jump to perhaps 350 if I can get that done). 

BTW, I have already figured out how to replace the ttg gallery single image pages with cgi on-the fly built, text-file based pages, similar to the one I use for that purpose on reefimages (all my ca. 8,000 single image files, plus about ten cgi config files, plus only 20 text files that are output directly from my image database).

#13 CE4 Gallery » Multi-line metadata layout issues. » 2015-04-28 08:44:59

dsegar
Replies: 3

I am steadily learning the ropes but have run into one thing I can not yet see where to go to find a way to fix it.

First, what I am trying to do is to update and replace an old site so I am looking for updated code and functionality but similar outputs on larger screens so you can see how things worked a decade ago at http://reefimages.com/Pipefish/Pipefish1.htm.  As you can see from that page I have scientific and common names that are lengthy chunks of text that, for my educational site purposes needs to all be placed next to each thumbnail.  I have reproduced much of the look of the ten year old site in gallery using a few bits of custom css, so I can wrap the text below the thumbnails with no problem.  However, I can not figure out how to prevent the extra line or lines of metadata text from kicking the first thumbnail of the next row across to the right. I have a sample test page (partial) as a screen shot at http://reefimages.com/Sample%20page.html.

I would prefer to have dynamic box sizing, as on my old site, so that the row size matches the maximum image height plus caption in each row of five images but I would be happy to have fixed sized image boxes as long as each row allows the necessary space to accommodate all the captions in the previous row.  Can this be done? If so, how do I go about trying to implement it?

#15 Re: CE4 Gallery » Problems with rounded Navigation Container corners. » 2015-04-24 06:04:52

I will use custom css when I get it all worked out but it is easier for me to test by changing the core css.  I do all my testing on localhost server so I can not post a link.

#16 CE4 Gallery » Request for settings to allow textured backgrounds. » 2015-04-23 01:46:17

dsegar
Replies: 2

I use a textured background placed by a small jpg image on my websites and prefer this to solid colors or gradients.  However Gallery does not allow this.  I am editing the core css to get this done and will have it right soon (still trying to find the easiest way with the least editing of the css) , but it seems to me this should be a feature that might be considered for implementation.  One way to fairly quickly get most of the way there would be to allow each page component background setting to be made transparent and allow the page background to use a "background from image" option, if adding the use image option is not added to each page component background setting.

#17 Re: CE4 Gallery » Problems with rounded Navigation Container corners. » 2015-04-23 01:37:59

I know that the Border radius setting is the correct one to adjust.  However, I can adjust that which works perfectly for the gallery editor view but even if I completely delete all output templates and published galleries and export everything again I always end up with 90px output radius no matter what the settings are in gallery.

I know I should not need to edit the core css files but I am editing them a bit here and there anyway to do some things such as use a textured image as background.  I have not quite got that completely right yet but I will soon (see my most recent post on textured backgorunds)  :-)

#18 Re: CE4 Gallery » Problems with rounded Navigation Container corners. » 2015-04-17 07:02:53

I have now reinstalled both the gallery plugin and ttg-be server files which di fix a couple of glitches but not this one.  I have found a way to fix it by editing the C:\wamp\www\ttg-be\templates\gallery\xxxx\lib\css\navigation.css file after the template (called xxxx  here) has been generated by Gallery.

The section of the file that is relevant is the following:
.navigation .mantle {
    -moz-border-radius: 90px;
    -webkit-border-radius: 90px;
    border-radius: 90px;

}

No matter what setting I choose in Gallery (0px to 250px and "Spurs either on or off) this section is still written as 90px.  Simply editing to "border-radius: 0px" in the last line fixes the problem and the nav bar container does show properly as a full rectangle instead of a rectangle with rounded ends.

#19 Re: CE4 Gallery » How do I output the conten of the Description Writer IPTC filed as Mea » 2015-04-17 06:52:51

I finally got his to work after I reinstalled the Gallery plugin.  The reinstall fixed several minor issues but still leaves at least one issue unresolved  (see my other post Problems with rounded Navigation Container corners).

#20 Re: CE4 Gallery » How do I output the conten of the Description Writer IPTC filed as Mea » 2015-04-16 07:27:21

I am testing on a local server.  I am using Publisher.  Metadata is already in images.  The issue is apparently finding the proper token to read the "Description Writer" data.  I have tried the default entry for Gallery
[Description Writer}
I have also tried editing the template file using
descriptionwriter
DescriptionWriter
description writer
to replace the descriptionWriter that is put in the template by Gallery when one enters {Description Writer} in the Metadata 2 field of  Output settings in Gallery.

None of these options leads to a read of the data field

#21 CE4 Gallery » Problems with rounded Navigation Container corners. » 2015-04-16 06:13:34

dsegar
Replies: 8

I have produced a navigation container that has square corners  in Lightroom views.  However, when I use the template to publish to the web the nav bat that is produced has half  orund ends, leftanf right instead on squared ends).  I have spurs set to off and 0px.  How can I get rid of the rounded ends?

#22 CE4 Gallery » How do I output the conten of the Description Writer IPTC filed as Mea » 2015-04-16 06:08:12

dsegar
Replies: 4

I have set up a template to create thumbnails with two line captions - first line is Metadata 1 which is set as ITPC "Headline" content, second line is Metadata 2 which is set as IPTC "Description Writer".  I have this set up in BOTH Image Info and Output settings.  Both show properly in the Lightroom view of the template.  However, when I output to the web, the Description Writer information is not displayed (the Headline info is OK). 
The template displays the following:
["perImageSetting.metadata2"] = {
                enabled = true,
                value = "{{com.adobe.descriptionWriter}}",

I have tried to edit that various ways (removing the capital, adding a space etc) but can not get the template to read the "Description Writer" data.  Can anyone suggest how to fix this

Board footer

Powered by FluxBB