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 2020-05-13 01:51:52

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Customizing the image in the Home page

I have updated my web site with Backlight 3 without problems and improving the galleries presentation using the great Hero Image. Now, I would like to add a frame to the image in the Home page (www.agustinbolzan.com.ar). The "Image of the month" is inserted according the following code:

###<div data-lang="es"><p style="text-align: center;font-weight: bold">Imagen del mes</div><div data-lang="en"><p style="text-align: center;font-weight: bold">Image of the month</div>

<img alt ="" src=" http://agustinbolzan.com.ar/backlight/designer?c=page&a=image&p1=14"  style= "width:960px;" class="aligncenter" />   

<div data-lang="es"><p style="text-align: center;"> <b> El sol se levanta sobre la sabana sudafricana</b> <br><i>(Phinda Game Reserve,  Sudáfrica)</i> </div> <div data-lang="en"><p style="text-align: center;"> <b>The sun rises over the south african savanna</b> <br><i>(Phinda Game Reserve, South Africa)</i> </div>

What should I add to the code in order to add a thin single or double frame to the image?

Second question: as you see, I add one different image each month. What would be nice is to have something like a "gallery" inserted in the home page that allows to go backwards and see the previous "Image of the month", not only the current one (including the date of each previous image). Is this possible with Backlight 3?

Agustin

Offline

#2 2020-05-13 04:14:59

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Customizing the image in the Home page

OK!...I found how to add a "border" using CSS!.....this seems to be the easiest of my queries smile

The question about a "gallery" of the "Image of the month" is still open...

Agustin

Offline

#3 2020-05-13 05:46:16

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Customizing the image in the Home page

Why not embed a galleria slideshow, and just add a new image to the album every month?


Matt

The Turning Gate, http://theturninggate.net

Offline

#4 2020-05-13 09:07:54

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Customizing the image in the Home page

I will give it a try. I am not sure but I assume that I will need to incorporate the text I insert below each image previously in the image metadata in order to show it on the page as a token...besides, I have to see how to add the data (month,year) to each image as well....but I will follow your advise and see what happens...

Agustin

Offline

#5 2020-05-13 10:50:01

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Customizing the image in the Home page

you can put that info into the caption, title, or any metadata fiel that can be displayed with metadata tokens.

Getting the info into the images should be pretty easy.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2020-05-14 02:42:10

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Customizing the image in the Home page

Well, my first tries were unsuccessful ....I faced a first problem with Tokens: seems that when you use LR, the number of tokens you can use are quite larger than in the case of using Capture One, so tokens like {Location} are missing....so, I tried to use the {Category} field and insert all the information there with some additional code for text font (<b>, <i>, etc.) and breaking lines (<br>)...the first result was that the album was a mess with such information included in the image!...images were overlapping each other...so for the moment I abandoned the idea of using a Galleria album for the home page...in principle I would need to have the possibility of using three tokens: Caption, Location and...a third one for including which to month corresponds each image...with the possibility of setting such information in different languages...maybe I am asking too much...

the other point that I didn't try, because of the initial problems, is if it is possible to change the language of the captions and month date (as shown in my site at the moment) using the Gallery album and the tokens...

Agustin

Offline

#7 2020-05-14 02:53:24

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Customizing the image in the Home page

here is the list of tokens available to the Backlight online publisher: https://backlight.me/docs/metadata-tokens-in-backlight
(the topic doesn't seem complete, but you should get an idea of allowed tokens)

You can't add html to the token fields. Plain text works though. (also, <b> and <i> are deprecated html)
For the same reason you can't add html to the token fields, you won't be able to add multi language support to image captions.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2020-05-14 03:50:25

aebolzan
Member
From: City Bell, Argentina
Registered: 2013-04-12
Posts: 124
Website

Re: Customizing the image in the Home page

yes, I saw the list...it is rather short at the moment, but will probably increase in the future smile

From what I saw and what you say now, I see that what I pretend is, at least at the development stage of Backlight, not possible at all...Gallery works fine, but there is no way to manipulate and customize the texts above and below the images as needed. Limitations in the language are clear...thanks anyway for the suggestions and comments. It's good to know when our ideas have its limits and which ones  smile

Agustin

Offline

Board footer

Powered by FluxBB