Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 16 - Pages: 2 [ 1 2 | Next ] - Last Post: 17 Jan 23, 16:55 Last Post By: JeffTucker
psk-gallery

Posts: 25
Registered: 3-Jan-2023
How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 20:15
 
You can view my very much in-early-drafts stage gallery parked at jAlbum here . Images are more or less just as placeholders until I organize them.

I have 4 pages/folders that currently are all still image slide shows or gallery pages, but I would like "Videos" one to not be a slideshow/gallery page but look similar in style -- see the above attached "VIDEO PAGE ROUGH MOCKUP.jpg":

Illustrations - images
Presentations - images
Social Media - images
Videos - to be embedded YouTube videos with descriptions

The mockup points to an HTML table 4 columns, 2 rows in which the top row would have the embedded video, the bottom a text description of the video above it.

It's been a long time since I worked with HTML and my knowledge of CSS is rather superficial.

So for this Videos page:

-- How/where and what CSS - if any - would I insert in the header?

-- How/where and what HTML table would you suggest I put in so that it would act as shown in the mockup - no wider than 1080p as the hero section, centered?

My HTML editor is really old (Microsoft Web Expression 4 - 2010) so it may not recognize current web standards, but I can use some free online generators for HTML tables and CSS examples .

Your advice and input most welcomed.

Edited by: psk-gallery on 16 Jan 2023, 20:15

Edited by: psk-gallery on 16 Jan 2023, 20:18

Edited by: psk-gallery on 16 Jan 2023, 20:28
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 21:30   in response to: psk-gallery in response to: psk-gallery
 
Before you head down a long, difficult road, only to produce an obsolete, non-responsive page layout, a couple of questions:

First, why do you not want these videos to be just a regular slideshow/gallery?

Second, what do you want to have happen when a user clicks on the thumbnail for one of the videos? Do you want him to be taken to the YouTube site, where he would then view the video?
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 21:38   in response to: JeffTucker in response to: JeffTucker
 
Here's something I slapped together in a few minutes, with no custom coding needed. The YouTube videos in the Videos folder are just added as web locations, rather than as videos. And I've told Tiger to open web locations in a new window, so the visitor doesn't navigate away from the site.

https://jefftucker.jalbum.net/tigerVids/
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 23:02   in response to: JeffTucker in response to: JeffTucker
 
And if you want the videos to be shown in the lightbox, like everything else, but don't want the automated slideshow, you could just turn that off for the album. I don't think there's an easy way to disable it just for one folder.

ETA: Like this:

https://jefftucker.jalbum.net/tigerVids2/
psk-gallery

Posts: 25
Registered: 3-Jan-2023
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 23:09   in response to: JeffTucker in response to: JeffTucker
 
Attachment YT PAGE CODE.jpg (454.7 KB)
@JeffTucker - Thanks. Yes! Your second post points to exactly what I'm going for as you created at your Videos section/page.

My guess it is in this section as seen in the View Source in Chrome - which was generated by jAlbum as I highlighted in the above .jpg screenshot.

So first, how and where would I duplicate that page as you did so that it behaves in that way (not influenced by some global all-pages-have-slideshows?

Then where would one change the font and background color of the table or section under each video (let's say 4 of them) - in what you have as (first line) "YouTube" and (second line or paragraph as "Professional Promo", etc....

....without effecting any other pages since none of them would have such tables under the images or thumbnails?

I don't mind all the font being the same, but having the title as you have as "YouTube" a bit larger font would be good.

Last, I can be a bit dense (I'm 68 and not as lucid as I used to be), so a simple step-by-step instruction would be appreciated.
psk-gallery

Posts: 25
Registered: 3-Jan-2023
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 23:34   in response to: psk-gallery in response to: psk-gallery
 
@JeffTucker

Your 3rd post showed up after I had followed up on your first two. In it you wrote:

"And if you want the videos to be shown in the lightbox, like everything else, but don't want the automated slideshow, you could just turn that off for the album. I don't think there's an easy way to disable it just for one folder.

ETA: Like this:

https://jefftucker.jalbum.net/tigerVids2/"

_____________

Well, I beg to differ - yes, your second "Vids2" example reflects that your "Image" folder/page no longer is a slideshow. BUT...

Your first example did: Images have a slideshow, "Videos" (/Vids) does not. Check it out for yourself by starting with your Index page, going to Images, then Videos
psk-gallery

Posts: 25
Registered: 3-Jan-2023
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 23:38   in response to: psk-gallery in response to: psk-gallery
 
OT but would like to know:

How or can one follow/subscribe to a thread? I only found out there were responses because I bookmarked the this thread - I did not get any notification email that anyone had responded.

That is a standard option on every forum I've ever used in the last 20 or so years... :)

Edited by: psk-gallery on 16 Jan 2023, 23:38
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 16 Jan 23, 23:38   in response to: psk-gallery in response to: psk-gallery
 
You're going to have all kinds of problems trying to get one folder to behave differently from all the others. The basic album structure simply doesn't support it. There is one CSS file that's used for the entire album, so you can't have one background color in one folder, but a different background color in another. By the same token, there is only one set of Javascript files, so if the automated slideshow is available in one folder, it has to be available in all folders. If one folder is showing the file titles and comments below the thumbnails, all folders must show them.

I think I would approach this differently. I'd create one album that has only the folders with images, and another separate album just for the videos. Then I'd provide a link to the "videos" album from the main "images" album, as a web location.

Give me a little time to tinker, so I can provide a good demo.
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 17 Jan 23, 00:00   in response to: psk-gallery in response to: psk-gallery
 
Attachment ss010640.png (39.0 KB)
psk-gallery wrote:
How or can one follow/subscribe to a thread?

See screenshot. In theory, this should send you an email whenever there's activity.
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 17 Jan 23, 00:41   in response to: JeffTucker in response to: JeffTucker
 
OK, here's a cobbled-together demo.

https://jefftucker.jalbum.net/tigerImages/

What's not immediately obvious is that this is an album project with only two folders - Saturn and Jupiter - and a web location link to a completely separate, independent album project for the videos.

The other album project is here:

https://jefftucker.jalbum.net/tigerYT/

Each project contains links that point to the other, so it ends up being fairly seamless. I've even fooled the top bar navigation into handling both albums.

Since the videos are in a totally independent project, you can choose whatever options you like for it - no automated slideshow, display of the title and comment on the thumbnails, a completely different style (colors), different fonts, and so on. You can customize it to your heart's content without altering the options for the main "images" album. You can use the skin's custom CSS capabilities to alter things like font sizes, for example.

I did stumble on the need to make one compromise - if you try to show image counts, things get haywire in a hurry, because each project ends up trying to include the image counts from the other projects that it's pointing to. In short, lots of double counting. ;)
psk-gallery

Posts: 25
Registered: 3-Jan-2023
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 17 Jan 23, 00:44   in response to: JeffTucker in response to: JeffTucker
 
On following thread, thanks. Got it.

As to the OP, I hope you read my response that starts with...

"@JeffTucker

Your 3rd post showed up after I had followed up on your first two. In it you wrote:" (...)

For the example you showed then works as I wish it too. I get that fonts and background have to follow the site's CSS. and I can live with that.

I just need to be able to create my Videos page as you did - images pages with slideshow, video page without.

Thanks.
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 17 Jan 23, 00:50   in response to: psk-gallery in response to: psk-gallery
 
psk-gallery wrote:
Well, I beg to differ - yes, your second "Vids2" example reflects that your "Image" folder/page no longer is a slideshow. BUT...

Your first example did: Images have a slideshow, "Videos" (/Vids) does not. Check it out for yourself by starting with your Index page, going to Images, then Videos


That's because in my first example, the videos aren't being displayed by jAlbum at all. The links just take the visitor to the YouTube site. There's no navigation back to the album, no "prev/next" navigation, no titles or comments, etc. In short, that approach breaks out of jAlbum entirely. Sub-optimal, IMO.
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 17 Jan 23, 00:51   in response to: psk-gallery in response to: psk-gallery
 
psk-gallery wrote:
I just need to be able to create my Videos page as you did - images pages with slideshow, video page without.

The only way to do that, while still retaining the lightbox, the object-to-object navigation, the captions, etc., is to make two independent projects and link them, as in my last demo.
psk-gallery

Posts: 25
Registered: 3-Jan-2023
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 17 Jan 23, 02:09   in response to: JeffTucker in response to: JeffTucker
 
OK, thanks. I'll have to come back and study what you've done and hopefully I'll be able to pull it off. I'll then mark it as "answered". :)
JeffTucker

Posts: 8,479
Registered: 31-Jan-2006
Re: How to exclude a Page/Folder from being a gallery/slideshow?
Posted: 17 Jan 23, 03:12   in response to: psk-gallery in response to: psk-gallery
 
psk-gallery wrote:
The mockup points to an HTML table....

Stop right there. Using HTML tables for layout hasn't been "best practice" for over a decade. They're inherently non-responsive. If you start with 4 columns, you will always have 4 columns, whether you're on a 30" monitor or an iPhone SE held vertically. Terrible design.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums