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.

#26 2016-07-20 12:05:11

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: How to add image or slide show to home page?

OK, now it seems to be working. Does not appear on either the gallery page or pull down menu, which is what I want. I am not sure what I did to fix it. I was changing the template settings for another reason.

Offline

#27 2016-07-20 12:11:54

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: How to add image or slide show to home page?

thanks, the mystery is solved. I logged out of Backlight Admin, and the slideshow (hidden gallery with a slashed-eye) disappeared.

Offline

#28 2016-07-20 12:16:11

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: How to add image or slide show to home page?

One thing I do notice is that the home page text, which is located in the Tray 01 Copy, and appears in a column on the right side of the page, this text disappears when I resize the browser window to a smaller size. I was hoping it might automatically adjust so that it appears below the slide show.

Offline

#29 2016-07-20 12:27:15

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: How to add image or slide show to home page?

I notice that the tray copy appears in the condensed menu when it is selected

Offline

#30 2016-07-21 00:54:38

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: How to add image or slide show to home page?

Ken wrote:

I do not want it to appear in the pull down menu. I also do not want it to appear on the gallery page, which it does in Chrome. Interestingly, it does not appear on the gallery page in Edge.

Looks great, Ken! And the gallery doesn't show for me as a regular visitor.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#31 2016-07-21 00:58:32

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: How to add image or slide show to home page?

Ken wrote:

I notice that the tray copy appears in the condensed menu when it is selected

Yes, that's how Tray 1 works. Use Tray 2 for your text instead. Or you can have your text as part of the main tray below the slideshow code.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#32 2016-07-21 07:19:06

PhilippeH
Member
From: Paris, France
Registered: 2014-04-11
Posts: 167

Re: How to add image or slide show to home page?

Daniel Leu wrote:

Got my slideshow implementation documented. The example is over on my site at http://stage.danielleu.com/slideshow.php and the setup instructions are over on my blog.

It is easy to do and I am happy with the result.

Daniel thank you,

It works superbly well, but do you know how I can center the slideshow, and remove the huge margin that there below?

http://test.vuedailleurs.com

Thank you.

Philippe

Offline

#33 2016-07-21 07:28:14

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

Re: How to add image or slide show to home page?

Ken wrote:

I notice that the tray copy appears in the condensed menu when it is selected

This is as intended. If you have any copy that you always want seen in desktop and mobile, then place that copy in the main text block.


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

Offline

#34 2016-07-21 07:52:04

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: How to add image or slide show to home page?

PhilippeH wrote:
Daniel Leu wrote:

Got my slideshow implementation documented. The example is over on my site at http://stage.danielleu.com/slideshow.php and the setup instructions are over on my blog.

It is easy to do and I am happy with the result.

Daniel thank you,

It works superbly well, but do you know how I can center the slideshow, and remove the huge margin that there below?

http://test.vuedailleurs.com

Thank you.

Philippe

Hi Philippe,

Since your images have all the same size, following few lines of CSS will do the job:

div#slideshow {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
}

Just add them to the <style> section of the slideshow code that you have in the Main Copy area.

Re margin: you mean the big white space between the slideshow and the footer? This is the same on your other pages (e.g., contact). I don't remember if this is something that can be changed in the Backlight admin panels.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#35 2016-07-21 08:13:08

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

Re: How to add image or slide show to home page?

I see it in the inspector as a style being added inline to the slideshow div:

<div id="slideshow" class="fadein clearfix" style="height: 1020px;">

Would adding style="height: 700px !important;" to the "slideshow" div take care of this height that seems to be automatically added?


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

Offline

#36 2016-07-21 08:20:49

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: How to add image or slide show to home page?

rod barbee wrote:

I see it in the inspector as a style being added inline to the slideshow div:

<div id="slideshow" class="fadein clearfix" style="height: 1020px;">

Would adding style="height: 700px !important;" to the "slideshow" div take care of this height that seems to be automatically added?

The slideshow code calculates the height based on the width of '#slideshow'. With the max-width setting, this value is set accordingly. So there is no need for this additional CSS.

It works on my test site, let's see if it works for Philippe as well.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#37 2016-07-21 12:53:49

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: How to add image or slide show to home page?

For some people the sidebar text is an important part of the page layout and should be easily viewed by viewers with small screens. The CE4 website that I created has sidebar text which simply shifts below the main text block when viewed on a small screen. It looses it's connection to the page visual organization by having it incorporated in the menu. This reduces the layout options and usefulness of sidebar text in a layout. Perhaps there could be a way in future releases of Backlight to provide the option to place sidebar text below the main text when viewed on a small screen.

rod barbee wrote:
Ken wrote:

I notice that the tray copy appears in the condensed menu when it is selected

This is as intended. If you have any copy that you always want seen in desktop and mobile, then place that copy in the main text block.

Last edited by Ken (2016-07-21 12:55:02)

Offline

#38 2016-07-21 13:33:11

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: How to add image or slide show to home page?

Perhaps Rod's tips and tricks, Responsive grid framework in Backlight, might help me to understand how to get around this in Backlight.

Offline

#39 2016-07-21 14:03:38

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

Re: How to add image or slide show to home page?

Ken wrote:

Perhaps Rod's tips and tricks, Responsive grid framework in Backlight, might help me to understand how to get around this in Backlight.

That's what I would use.


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

Offline

#40 2016-07-21 16:53:24

PhilippeH
Member
From: Paris, France
Registered: 2014-04-11
Posts: 167

Re: How to add image or slide show to home page?

Daniel Leu wrote:
rod barbee wrote:

I see it in the inspector as a style being added inline to the slideshow div:

<div id="slideshow" class="fadein clearfix" style="height: 1020px;">

Would adding style="height: 700px !important;" to the "slideshow" div take care of this height that seems to be automatically added?

The slideshow code calculates the height based on the width of '#slideshow'. With the max-width setting, this value is set accordingly. So there is no need for this additional CSS.

It works on my test site, let's see if it works for Philippe as well.




Hello,

This works great!
The image is centered properly and margin below is calculated automatically, impeccable!

By cons I find it unfortunate that the minimum size of images in Backlight is 640 px, 570 px I think my pictures would have been okay.

Thanks again.

Philippe

Offline

#41 2016-07-21 18:33:17

alfred
Member
Registered: 2013-06-08
Posts: 134

Re: How to add image or slide show to home page?

This works great for me as well.

Thanks Daniel.

Alfred

Offline

#42 2016-07-21 23:32:40

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: How to add image or slide show to home page?

PhilippeH wrote:

By cons I find it unfortunate that the minimum size of images in Backlight is 640 px, 570 px I think my pictures would have been okay.

Looks good! If you prefer 570px for your look, you can set this as max-width. The web browser will scale the image accordingly.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#43 2016-07-21 23:33:05

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: How to add image or slide show to home page?

alfred wrote:

This works great for me as well.

Perfect! Thank you for letting me know!


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#44 2016-07-22 04:07:59

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

Re: How to add image or slide show to home page?

Hey guys,
If you want to add a little bit of "pop" to slideshows (using Daniel's code), try adding a border and box-shadow. This is subtle, and looks nice. Just add it to your custom css:

/*Slideshow styling
======================*/
#slideshow img {
	border: 1px solid black;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
	
}

If you want to modify, here's the info on box-shadows: http://www.w3schools.com/cssref/css3_pr_box-shadow.asp


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

Offline

#45 2016-07-22 06:23:07

PhilippeH
Member
From: Paris, France
Registered: 2014-04-11
Posts: 167

Re: How to add image or slide show to home page?

I just change the size of the slide show, and it works very well also with 570 px

I also tested with box-shadow, it works just fine, but I do not like the shadows in the pictures.

Do you think that there is the ability to add text for images in the slideshow?

Thank you.

Philippe

Offline

#46 2016-07-22 06:34:59

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: How to add image or slide show to home page?

you took the words thoughts right out of my mind. This was my next question. Works nicely, I used a white border.

Offline

#47 2016-07-22 06:35:38

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

Re: How to add image or slide show to home page?

adding text would mean more javascript, more html and possibly calls to the database (and more work for Daniel wink ).
Whenever Stage gets released I imagine it will include the Galleria slide-show, which supports metadata.


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

Offline

#48 2016-07-22 06:39:53

PhilippeH
Member
From: Paris, France
Registered: 2014-04-11
Posts: 167

Re: How to add image or slide show to home page?

Okay, as I said in another topic I am patient smile smile smile

Last edited by PhilippeH (2016-07-22 06:41:15)

Offline

#49 2016-07-23 21:07:54

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Re: How to add image or slide show to home page?

rod barbee wrote:

I also just created a slide show page using the free Wow slider as an example. Not too hard to do. I included the basic outline of what I did but can expand on it with a full blog post if needed:
http://backlight-rb-test.barbeephoto.com/wow-slider.php

Just added a WOW Slider slide show to my home page at http://jamesherman.net, This is a live site.

I used a simplified approach, brute force.

I pasted the contents of the xxx-iframe.html file genertated by WOW into the top of my home page copy area and copied the data1 and engine1 directories and the xxx.html file to my root directory.

This approach worked well with 2 small issues I haven't quite sorted out:
1. Runs well on Chrome, IE and Firefox on Windows and in landscape mode on Android devices. In the narrower portrait view, I see a blank space below the image.

2. When I try to add something like class="alignleft" to let the text wrap, I loose my left margin and the text is crammed up against the slideshow.

Thoughts?

Jim.

Last edited by jherman (2016-07-23 21:09:42)


User with too little time but coding is therapeutic.

Offline

#50 2016-07-24 00:04:31

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

Re: How to add image or slide show to home page?

Looks like the iframe has a height of 427px dialed in. I didn't use the iframe for my test so I don't see this problem.


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

Offline

Board footer

Powered by FluxBB