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 3 Support » Google Breadcrumbs issues » 2020-05-24 07:07:50

I am not an expert but what google expects is more like:

<ul class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="fa_pseudo" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
  <a href="/galleries/" itemprop="item"><span itemprop="name">Galleries</span><meta itemprop="position" content="1"</meta></a>
</li>
<li class="fa_pseudo" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
  <a href="/galleries/suriname/" itemprop="item"><span itemprop="name">Suriname</span><meta itemprop="position" content="2"</meta></a>
</li>
<li class="fa_pseudo" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><span itemprop="name">Suriname Bakaaboto</span><meta itemprop="position" content="3"</meta>
</li>
</ul>

If you paste this snippet into https://search.google.com/structured-data/testing-tool  no errors are reported and position is reported correctly.

Hope this helps
Andreas

#2 Re: Backlight 3 Support » Google Breadcrumbs issues » 2020-05-13 22:14:42

Hmm. I have added a patch for the html5 videos using the info from the thumbnail image. But that's my private convention that the image provides the description etc for the video. Don't know if that could be generalised and would work for the youtube and vimeo files as well.

#3 Re: Backlight 3 Support » Google Breadcrumbs issues » 2020-05-13 07:41:02

Hi Matt, Ben,

if you are already looking into this, search console also reports errors and warnings on VideoObject:

VideoObject
@type            VideoObject
error            description        A value for the description field is required.
error            name            A value for the name field is required.
error            thumbnailUrl    A value for the thumbnailUrl field is required.
error            uploadDate        A value for the uploadDate field is required.
warning            description        The description field is recommended. Please provide a value if available.

Thanks for your consideration
Andreas

#4 Re: Backlight Showcase » A&A site migrated to backlight » 2020-05-11 06:15:47

SORRY - MATT and BEN and ALL that are supporting!

#5 Re: Backlight Showcase » A&A site migrated to backlight » 2020-05-11 05:11:17

Upgraded today from BL1.22 to BL3.01 without problems (never found the time to go to BL2...).
Even my home-made krPano presentation type for Pangolin Theater was migrated without requiring major modifications.
I really like the new features in BL3 including the FA 5 icons.

Thanks Matt & Rod again!

Be safe,
Andreas

https://andreas-und-angelika.de

#7 Re: Backlight Showcase » A&A site migrated to backlight » 2017-09-13 22:51:55

Indeed, the maps are embedded using iframe as suggested by Google Maps. You simply add a statement like the following in your post text:

<p style="text-align: center;"><iframe src="https://www.google.com/maps/d/embed?mid=1m9XtCFPRZxpNYtgMzSh1YvlDFYU" width="100%" height="480"></iframe></p>

#8 Re: Backlight Support » Line break in caption? » 2017-08-11 00:48:20

Adopted to your galleries, the "Tokens" entry would be:

{Title}{LUA=if Title ~= "" and Caption ~= "" then return ":" end} {Caption}

This would remove the ":" in your figure captions when either {Caption} or {Title} is empty (you have many where {Caption} is empty).

#9 Re: Backlight Support » CE4 > Backlight 1.2.2 Migration success - but still having challenges » 2017-08-09 12:37:59

I had the same disconnect between my CE4 albums and Galleries when migrating to Backlight. Historically I had published from different LR catalogues to different folders under galleries and let autoindex pick them up to show on the gallery page.

Therefore, when migrating to Backlight I had to recreate the structure by creating the proper album sets and the albums inside, re-popluated the albums with the pictures and re-published. I anyway had to republish for new thumbnail and slideshow image size.

In your case this would mean:
1. in LR under "Publish Services" open pull-down ("+") and under TTG publisher select "Create Album Set" and name it e.g. "seniors_new". The new Album Set "seniors_new" appears under TTG Publisher. On your webpage the new album set should also immediately show on the galleries page
2. in LR under TTG-Publisher right-click on album set "seniors_new" and select "Create Album" and name it e.g. "Cullen_new". The new album "Cullen_new" appears inside Album Set "seniors_new". Add the pictures from the existing album "Cullen" to "Cullen_new" and publish them
3. Repeat step 2 for all other albums that belong to "seniors_new", i.e., "Devon_new", "Lauren_new", etc.
4. Repeat step 1, 2, 3 for all Album sets, i.e., "families_new" etc.

(Note: if you use the same slug names as for the existing albums, all existing links to your pictures will keep working. But the slug names can be changed later with "Edit Album").

This scheme works for sure. But it might not be feasible considering your apparently large number of existing albums...
So let's hope that one of the TTG magicians has a trick to link your already migrated albums properly to the corresponding album sets.

Best
Andreas

#10 Re: Backlight Support » Line break in caption? » 2017-08-09 11:27:11

The text produced by the Tokens entry is inserted to <figcaption></figcaption>. Difficult to add formatting with the text itself.

I use a long hyphen as separator between caption and title. Reads like this:

{Title} {LUA=if Title ~= "" and Caption ~= "" then return "⎯" end} {Caption}

Not exactly what you wanted, but ...

Andreas

#11 Re: Backlight Support » Pages - change from Okapi to Pangolin » 2017-08-08 00:30:29

Rainer,

I just want to second what Matt said: Backlight produces very nice pages out of the box with the available options.
Using markdown (md) language for all text on the pages is really an advantage and worth the small effort to learn the simple syntax.
No html editing needed! Yes, for text colour you need html. But text colour and blinking text etc is anyway discouraged by (most) web designers.

I know it's hard to give up old designs you got used to. But when migrating to Backlight I started my page from scratch just maintaining the few elements required to "recognise" my page for returning visitors. With that I got a perfectly working and nice looking page out of the box in very short time!

Only **after** that was achieved I refined the look and feel by adding custom html, css and php code. And that was the first time I enjoyed doing that because it was not required but just to improve.

Hope this helps (you made a remark on my page showcase about design ... that's why I comment on this here.)

Viel Spaß
Andreas

#13 Backlight Showcase » A&A site migrated to backlight » 2017-08-01 13:36:44

akaufer
Replies: 11

I am happy to share with you our little travel picture page now powered by Backlight pangolin: https://andreas-und-angelika.de

I took the opportunity of the arrival of Backlight to re-implement the page from scratch and to re-organize my LR to Backlight publishing workflow. For historical reasons I still published to the old CE4 pages from different LR catalogues on different computers. Merging all already published galleries into one LR catalogue while keeping the old slug and picture names took quite some time and effort - but it was clearly worth it considering how simple and fast albums can be added, updated and re-designed now...

What took me a while was to understand that publishing to two different top-level pages (picture galleries and multimedia galleries) simply requires to run two instances of the publisher from the same LR catalogue...

Another long-term pending issue was the (semi-)automatic publishing of my panoramas created with krpano (krpano.com). Encouraged by the existence of a "Blank" presentation in the theater module, I created a new "krpano" presentation type which allows to publish the panos from LR like regular images. Only the krpano-generated folder itself needs to be uploaded manually by ftp to the respective album (similar to html5 videos in the theater module). This is an example of the resulting panorama page:   
https://andreas-und-angelika.de/video/2 … ted_Point/

Since I anyway had to re-generate all panos (because of the new file organization with krpano 1.19), I took the opportunity to get rid of the need for Adobe Flashplayer to view partial multi-resolution spherical panoramas. All panos can now be viewed with html5 as primary viewer, i.e., also on most mobile devices. Flashplayer only serves as backup viewer (if anyone is interested in the how-to, just let me know).

I was glad to see that Backlight still continues to support html5 video. I am really thankful that I don't have to hook up with youtube or vimeo to show my few videos. Encouraged by this, I upgraded all videos on the website to HD720p format. Recent example:
https://andreas-und-angelika.de/video/2 … 2_Shibuya/

Final challenge was to move the whole site to SSL and to get the social media buttons to work the way I wanted them. A bit of custom php and css did the job at the end.

Let me take the opportunity to thank Matt et al for the continuous effort to develop TTG and to keep up with evolving technolgy! It has been a great experience since 2010 when I joined TTG! Also thanks to everyone on the forum for openly sharing problems and solutions (in particular -> Rod!!!). This forum has always been a precious source of information (mostly compensating the lack of more structured low-level documentation)..

It's time to go back to taking and processing pictures!

Andreas

#14 Backlight Support » wish for a future pangolin-theater release » 2017-07-27 02:07:16

akaufer
Replies: 0

Dear developers,
If I may express a wish for a future release of pangolin-theater: please add for all presentation types the "shadow on/off" option. Having the "Border" option without the "Shadow" option is really a pity. I have hacked it for the presentations I use (cf. screenshot) - but a proper implementation would be much preferred.
Thanks for your consideration,
Andreas

theatre shadow button

#15 Re: Backlight Support » Previous and Next button in Single view album » 2017-07-23 04:16:44

Thanks Rod! I didn't dare to ask for a quick fix... Works!
Andreas

#16 Backlight Support » Previous and Next button in Single view album » 2017-07-21 01:52:33

akaufer
Replies: 3

Thanks again for the fix of the maps button in 1.2.2.

I now noticed that the first image of an album in single image view would show the "Previous" button and the last image the "Next" button. Both with text instead of a symbol. The usual behaviour was to not show this button at all.

Thx
Andreas

#17 Re: Backlight Support » maps button in single image view » 2017-07-19 02:31:56

Thanks Matt!

Thanks for Backlight/Pangolin! Nice evolution from CE4!
I further appreciate that you maintain html5 video in Theater!

Best
Andreas

#18 Backlight Support » maps button in single image view » 2017-07-18 08:57:22

akaufer
Replies: 3

Hi,

I noticed that no maps button would show in my single-image pages despite GPS coordinates being available in the photo.

Replacing class "gridicon googlemaps" e.g. with "fa fa-map-o" in the view script does fix it:

diff pangolin-album/dynamic/view/single.php pangolin-album/dynamic/view/single.orig.php
57c57
<     $map_link = $album->mapsEnabled() && $mapURL ? '--><li><a class="fa fa-map-o" href="'.$mapURL.'" target="_blank"><span>Map</span></a></li><!--' : '';
---
>     $map_link = $album->mapsEnabled() && $mapURL ? '--><li><a class="gridicon googlemaps" href="'.$mapURL.'" target="_blank"><span>Map</span></a></li><!--' : '';

Example image with fix applied: http://andreas-und-angelika.de/gallerie … single.php

Not sure, however, if this is the correct way to fix it.

Cheers
Andreas

#19 CE4 Showcase » A&A migration to CE4 completed » 2015-03-14 01:08:44

akaufer
Replies: 0

Dear All,

I eventually completed the migration of our little travel photo site http://andreas-und-angelika.de/blog/ to CE4.

I was playing quite a bit with the integration of panorama's in the workflow using krpano. Works quite nicely now with the same look-and-feel as the single-image pages, cf. e.g. http://andreas-und-angelika.de/video/20 … io_Blanco/. I am still looking for an easy/automatic way to link the panorama/video pages from the corresponding pictures in the galleries...

Thanks Matt et al. for the continued development and support!

Best regards
Andreas

#20 Re: CE4 Publisher » breadcrumbs home link » 2015-02-18 02:51:27

Following my statement above I can make it work by modifying
/ttg-be/publisher/application/models/Album.php

with the two lines following // AKA :

229a230,232
> // AKA 2015-02-17 
>  $breadcrumbHomeUrl = $siteHomeURL.'galleries/';
> 
234c237,239
<   $breadcrumbs[] = array('id' => 'HOME', 'name' => __c('BREADCRUMB_HOME_NAME'), 'href' => $siteHomeURL);                  
---
>   // AKA 2015-02-17
>   $breadcrumbs[] = array('id' => 'HOME', 'name' => __c('BREADCRUMB_HOME_NAME'), 'href' => $breadcrumbHomeUrl);                  

Seems to work as you can see e.g. at:
http://andreas-und-angelika.de/gallerie … hwest_USA/

#21 Re: CE4 Publisher » breadcrumbs home link » 2015-02-18 01:08:52

Ben, I tried your suggestions and the modified text in gallery.xml does not show. Together with Rod's explanations it seems clear that the gallery.xml file is not processed by the publisher due to my setup not using the Album Sets but autoindex-generated folders.

you're running those three indexes from different catalogs?

yes! different catalogues on different computers maintained by different users...

Then the top-level galleries folder for each would be the respective Autoindex.

yes!

And you want to configure Publisher so that the Home breadcrumb is directed at the galleries.php page rather than at your site's home page?

yes!

So I think my problem boils down to the question if I can somewhere hardcode the url associated with the Home breadcrumb. I can set its name in the Publisher Admin tool already, but not the url. Hardcoding would not be an issue since this part of the pages is fully static anyway.

Thx

#22 Re: CE4 Publisher » breadcrumbs home link » 2015-02-17 11:22:33

Thanks Rod. You are right:

The /galleries folder is populated with autoindex generated folders, not with the publisher as I wrongly wrote in the initial post.
The albums inside the folders are maintained with publisher.

I had to introduce this structure with CE3+publisher because I was at that time not able to access the Albums in the three Albums Sets from different LR catalogues running the publisher. I create a new LR catalogue every year but upload to the same three folders. Maybe this would work now. I have not tried in CE4.

Let's see if Ben comes up with a solution...

#23 CE4 Publisher » breadcrumbs home link » 2015-02-17 04:41:56

akaufer
Replies: 6

I have activated "Display Home Breadcrumbs" and set it to the name "Galleries" matching the /galleries directory.
The /galleries folder was created by Pages and is populated with albums via the publisher.

As you can see e.g. in
http://andreas-und-angelika.de/gallerie … hwest_USA/
this basically works fine and the breadcrumb is shown as "Galleries » Andreas » 2014 Southwest USA".

My problem is that "Galleries" links to the home page http://andreas-und-angelika.de/ and not the http://andreas-und-angelika.de/galleries folder.

I have tried to communicate to the publisher the correct path by placing the file /galleries/gallery.xml with

<?xml version="1.0" encoding="UTF-8"?>
<gallery>
    <name><![CDATA[Galleries]]></name>
    <redirect>../galleries/</redirect>
</gallery>

- but this has no effect.

Any suggestions ?
Thx Andreas

Board footer

Powered by FluxBB