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 Re: Backlight 2 Support » ADA compliance » 2019-10-23 03:37:33

Daniel Leu wrote:

Jim, one question: for the alt attribute, is it sufficient to just have the title of the image or do you have to describe the content of the image? Thanks!

This is where the whole ADA compliancy issues breaks down to opinion, and not b/w rules. Currently BL is using the file name as the alt-text for the JPG. If your file name is "IMG_0001.jpg" that wouldn't pass.

I'm using the meta tokens to create a simple and good file name, such as the model's name or flower or better yet the name of the type of flower. That should pass ADA, unless someone want to complain they need something even more descriptive than flower lol.

In most cases I provide a description which I want to appear in my galleries. I use the meta tokens for this too. If I wrote a description, that appears. If not, then I default to the folder name that contains the image. Given that I use good folder names, like flower. This works pretty well (except if someone doesn't like flower as the description roll)

It's a combination of the software putting the content where it needs to be, and the content creator providing good content.

The BL changes I would make I outlined earlier in the thread. The main one is adding alt-text to all visual navigational elements. That you can make builtin and requires no input from us. The alt-text for the photo needs to be added in the slide show, and you can simply make that the same as it is on the permalink page (the file name). I would _love_ to have more control over the alt-text. I would prefer my description, or the caption/title.

#27 Re: Backlight 2 Support » ADA compliance » 2019-10-23 03:24:40

Ah, I just read one of the complaints. It's a template used in all of these, nearly all filed by the same guy. The main part seems to be targeted at the store's usability by the blind. Also note all of the lawsuits are targeted a businesses.

Now that I'm curious, I looked at my own site to see ADA issues. The main one is the lack of alt-text for visual elements.

Changes for Backlight

  • The icons need alt-text, so the right-arrow icon needs something like alt-text='right arrow' and that sort of thing.

  • The slide show displays the image, but without alt-text. It's there in the permalink page, but not on the slide show. The alt-text for the image on the permalink page isn't great. It's just the name of the file. It would be better as the description, title, or caption (if available). I've mention this as an SEO enhancement, but the name of the file should pass ADA.

  • Forms need labels and possibly instructions. This might impact you if you're using a store or client response forms.

The rest of the changes would be done by the content creator, and outside of Backlight. This means adding titles, descriptions, that sort of thing to your pages. If you write content, use descriptive text for links. If you use an image you need alt-text to describe it.

Most of the support is provided by the OS and web browser. If you just use good html practice, you're good to go. If you want to test your site, you need to get the "Job Access With Speech" tool, otherwise known as JAWS. Then try navigating your site with that.

#28 Re: Backlight 2 Support » ADA compliance » 2019-10-23 02:54:56

As I recommended, you want to read the complaint. Then review those issues on your site. I suspect those other sites you're referring to were doing dumb "creative" things and that's what caused problems. For example, you don't want to use Flash as a UI.

If you use good design and proper HTML, you should be good. It's pretty easy to be compliant.

#29 Re: Backlight 2 Support » ADA compliance » 2019-10-22 02:41:27

I've done work on web sites to get ADA compliance. It's a long and complicated issue. Last I checked there's no actual "test" to confirm compliance. Most of the hard work is done by browsers. You also have to test with screen readers, which means proper html tagging and alt-text.

The short answer is all your content needs to be available to people with disabilities. I can't imagine how a blind person would need access to photography, is one of the use cases? There's also the near-blind, but really?

To understand how to address the issues for your site, you'd want to read the complaints about the similar sites and address those issues.

#30 Re: Backlight 2 Support » Is it possible to copy BL2 site to iPad for offline viewing? » 2019-06-15 02:19:17

I've been wanting a feature for YEARS that would let me publish my photos to the iPad. I've tried several options, but they end up making me create a separate album in LightRoom and then manually maintain it, to then manually update to the iPad. I even pursued an option to sync LR albums, which didn't really work out because it still left so much for manual labor.

I would love to see BL have an option to publish to the iPad. BL could create a mini app for the iPad, and then publish very custom galleries. The limitations of web servers and HTML/CSS are removed. A small iOS app could drive the UI/UX, and LR/BL would simply push assets to the iPad. I'd accept a default couple of themes. Building custom themes is a nice-to-have. I mainly just want hi-rez copies on my iPad. The browsing experience is minimal.

#31 Re: Backlight 2 Support » Backlight 2 Wordpress Module... » 2019-06-11 00:32:39

totally guessing, since we can't see the site in question

Are you using PHP a plugin? If so, tried disabling it?

#32 Re: Backlight 2 Support » Wordpress Menu to show in Backlight » 2019-06-02 06:15:25

@theomolenaar, not sure I'm following your question. My site is WordPress (for all pages) and BackLight (for all photo presentations). I have uniform menus in both the WordPress and BackLight pages.

In WP, I added the BL menus as custom links in Appearance > Menus

In BL, I added the WP menus in Designer > Menu Set

No need for php to do that. I must be misunderstanding your question.


Also, I getting confused by what is the Home page. Sometimes it's www.theomolenaar.nl but sometimes it's www.theomolenaar.nl/home

The logo at the top (in the masthead) is the root domain, but the Home menu isn't. Those should be the same location.

I think that's the inconsistency of the WP and BL set of menus. But I'm not sure which pages belong to WP and which are part of BL.

#33 Re: Backlight 2 Support » Deleting wholesale contacts » 2019-05-24 08:59:18

I don't use the BL contact page, but a quick look at the docs didn't reveal a question I might have.

Can BL use the Invisible reCAPTCHA?

That's what I would prefer.

#34 Re: Backlight 2 Support » How to control Image captions pulled from metadata » 2019-03-31 23:05:37

.pswp__caption__center {
    text-align: center;
    font-size: 1rem;
}

#35 Re: Backlight 2 Support » Client Response Gallery, color indicator » 2019-03-26 03:58:19

I don't think a color icon really helps here. This is only for the client, right? A color probably isn't obvious to any new client.

The request should simply be a way for new clients to find which images they added comments.

Maybe a different comment icon entirely, or something long that idea. Or even a way to only show images that include comments, like it can filter for only selected items.

#36 Re: Backlight 2 Support » Backlight & Wordpress in same directory » 2019-03-26 03:52:47

I use this on my site. If anyone needs help, add your question to this thread.

domain/backlight/ <- BL code
domain/photos/ <- all my gallaries
domain/wp/ <- WordPress install

#37 Re: Backlight 2 Support » Getting full size images on mobile » 2019-03-12 15:42:59

This looks promising, but it's an iPhone technique. I'm an iPhone user, and don't have access to any Android phones.

Maybe this could be used as a PHPPlugin but it would be an iPhone only trick.

https://developer.apple.com/library/arc … 51-CH3-SW2

More tips here: https://stackoverflow.com/questions/273 … -on-iphone

And this looks very promising: https://stackoverflow.com/questions/248 … fullscreen

I would swear there's cases where I've seen images go full screen mode in the iPhone, but I can't think of an example. It's a frustrating experience to always have Apple's UI taking over the top and bottom of the screen, especially in landscape mode.

#38 Backlight 2 Support » Getting full size images on mobile » 2019-03-05 10:14:45

JimR
Replies: 2

I use the masonry grid and slide show, but not real happy with how this is working on my iPhone 7. I think much of my complain is how Safari wants to keep it's upper and lower UI on the screen. Still, I wish there was a full screen mode on mobile.

I'd like a mode where I get the full image, scaled to fill the screen without cropping. It also has to support rotation.

I haven't used the Theater Add-on, but it didn't look to be a mobile only option. Maybe with a PHPPlugin I could get that to run only while on mobile?

Or maybe there's something else I can do. Ideally I would just hide all the Safari UI with full screen images, and act like slide show mode with swipe.

Any suggestions?

#39 Re: Backlight 2 Support » Caption Toggle » 2019-03-01 01:58:58

Mat wrote:

button is only supposed to be there when a caption needs it

Thanks Mat, it's making more sense now. Still, I've found something odd on my site that isn't making sense.

One of the mysteries was how dynamically changing the window size was causing the toggle button to behave inconsistently. That's not so much of a problem since that's not a real-world case. Closely the photo and showing it again seems to clear that up. I doubt anyone will ever notice. I just happen to noticed details, and this was confusing me.

But there is one behavior that isn't making sense. Turns out, this also happens for me in BL1.

I understand how the toggle button has a default state of opacity:0.  Then when the window is narrow, causing the caption to wrap, the toggle gets an added class of "fancybox-caption-toggleable" which sets the opacity to 1.

The odd thing, the toggle in my window is always set to "fancybox-caption-toggleable". So it's always visible. I must have triggered some interaction causing the toggle to always appear, but I haven't found what's triggering this.

I don't know what code is looking for when to change the toggle button to fancybox-caption-toggleable, and then under what conditions.

You can see the oddity in my gallery. It happens in all of my galleries, but this is a good one to look at. The toggle button is always "fancybox-caption-toggleable"

https://reekes.net/photos/07-places/

#40 Re: Backlight 2 Support » Caption Toggle » 2019-02-26 12:03:02

rod wrote:

Well, that was a rabbit hole...

My thoughts as well. First I just found it a mystery. Then confusing. Now I think I kinda understand it, but not sure of what use it is.

I was actually trying to figure out how to get images on my iPhone to show full screen. That's still a confusion.

#41 Re: Backlight 2 Support » Caption Toggle » 2019-02-26 00:45:45

I think I got it figured out. The toggle only works when you have a caption that is more than one line of text. The confusing part is why it's there in all of my galleries  but in most of the others I looked like TTG's demos, or Ben's, or Rod's galleries, I wasn't finding it. I don't understand how it's only there sometimes.

I can be found in this gallery http://pangolin.barbeephoto.com/galleri … #gallery-2 but the toggle isn't visible. The button is white on a near white background.

Look at the caption with the Inspector. You'll find the button at the far right, under the fancybox-caption tag. The CSS tag is <button class="fancybox-caption-toggle

If you narrow the window enough to cause the caption to wrap more than one line, then clicking that button will cause the caption to collapse to just one line.

The other odd thing, which is how I first noticed it, is if the window is shorter than the image. View this image, http://pangolin.barbeephoto.com/galleri … #gallery-5 then make the window small as if it were a phone. Make the window narrow enough where the caption wraps. Then make it short enough where the caption overlaps the image.

The toggle will collapse the caption to one line. But the caption will still overlap the image.

Then wait a moment, the caption will disappear, revealing the entire image. That's nice, but I don't see this behavior on my iPhone. It happens on the Mac, but not my phone.

On the iPhone, the captions are always overlapping tall images. It cuts off the bottom of images.

Trying to tap on the slide show's play button caused the Safari's UI to appear, cutting off the image. Same with the caption toggle at the bottom.

Playing with it a lot more, I finally discovered if you tap on the image (e.g. center of the screen) you can hide Safari's UI and see the entire image.

#42 Backlight 2 Support » Caption Toggle » 2019-02-25 10:33:53

JimR
Replies: 10

Something isn't making sense.

In my galleries, at the far right of the caption area there is a button to toggle if the caption is shown or hidden. It's an up/down arrow. When I click on it, I see the CSS for the <div class=fancybox-container changing to fancybox-caption-collapsed.

I also see in the <div class=fancybox-caption__body it's changed to be fancybox-caption-collapsed. But, nothing happens.

The caption is still visible, unchanged from before clicking the toggle. The button does nothing. I also just noticed this is true in my BL1 galleries.

Then went to the demos http://theturninggate.net/galleries/ to see how that was working, but I don't find the button appearing in any of those albums. Looking at the CSS the button is not there.

So I'm at a loss. It's not working for me, and I can't find a working demo. How is it that I have the button, but I can't find it anywhere else I'm looking? If it's suppose to be there, how do I get it working?

#43 Backlight 2 Support » moving existing BL to a new site » 2019-02-25 08:27:50

JimR
Replies: 1

I'm getting close to moving the templates and configuration I've done on the staging site to the live site. The staging site only has a few albums and album sets, just for testing. The live site has hundreds.

I'm wondering what files I need to copy to get the new site as a clone of the staging site. I don't want to re-publish all the images on the live site. I'm not changing anything about its structure. I'm not changing image sizes. So I shouldn't need to re-publish (other than the meta data changes).

Exporting and importing the templates has some gaps. I tried that and found that I was spending a lot of time finding and then filling in the gaps.

It looks like I can simply copy the /custom/ directory. The /data/ directory is another matter. There are multiple sub-directories, containing databases. I don't know if anything in those databases are linked to the files on the site.


Can I simply copy both /data/ and /custom/ BL directories from the staging site to the live site, or is it more complicated?

#44 Re: Backlight 2 Support » Editing captions » 2019-02-25 08:11:51

LR has always had problem publishing "too many" albums at once. I've suffered from it so much I only publish one at a time anymore. I have over 100 albums, and dred making any changes that require re-publishing.

#45 Re: Backlight 2 Support » Adding border to image in slide show » 2019-02-25 06:16:12

rob wrote:

You could try using the box-sizing property on the img element

Yup, knew about that. Using border with box-sizing: content-box to cause the border to draw outside the box is the same as just using outline.

If the border is drawn inside, it removes that space from the image (and will cause scaling).

I'm caring about the scaling because it causes the image to be less sharp. Granted I might be the only one that notices, but as a photographer I've trained my eye to look for this wink

If the image can fit entirely on screen, then there's no need for scaling. The simple fix in BL is to change from using border to outline. Then check the math for how to scale, when you need to scale (since the borders will then be drawn outside the box).

Using outline is a more "modern" approach, since it was created to keep boxes their intended size when adding borders.

#46 Re: Backlight 2 Support » Editing captions » 2019-02-25 05:41:26

If you're only changing the tokens, then you might change the LR publishing option to only update metadata. It will go MUCH faster, since you're not uploading new images.

#47 Re: Backlight 2 Support » Adding border to image in slide show » 2019-02-25 05:07:01

I see, you're using the padding to create a nice frame. But your images are being scaled. Even on my large monitor your image is being scaled. For example, your tall image is 977px and being scaled down to 817px on my monitor. Even without the padding and border, your images are being scaled on my screen.

The problem I'm trying to solve is how to add a frame and NOT cause scaling. I'm using images with a height of 840px. So on a large monitor it's not going to scale. But if I use a 1px border in CSS, it causes the image to scale even though the entire image does fit on the screen.

If I add a padding or height property, it causes scaling. What I'm after is how to create an image and frame that doesn't have scaling.

If BL changed from border to outline in CSS, at least we could create images that fit on the screen without scaling. Same with the thumbs. Adding a border to thumbs in BL causes scaling, even when we can fit many on the screen at once.

When I use outline for the frame, the only problem I've found (so far) is that when the image must be scaled BL doesn't know about the frame and it gets cut off.

#48 Re: Backlight 2 Support » Adding border to image in slide show » 2019-02-25 03:39:42

rod wrote:

I’ve been using padding along with a border.

Hmm, not sure what padding will do.

Padding will cause the image to scale even when it's able to be seen full size.

Padding doesn't solve the problem of the image being larger than the screen and cutting off the outline.

#49 Backlight 2 Support » Adding border to image in slide show » 2019-02-25 03:02:59

JimR
Replies: 7

I like a border on my images. BL has an option for a border with Single Image Pages, and even for thumbs, but not for images in the slide show.

I've added a border using CSS, but it's a little tricky to get it right. So I'm sharing how to get this done.

The trick is to use outline (not border), which will place the border OUTSIDE of the image without causing scaling. Border will draw a frame INSIDE the element, causing scaling.

The unfortunate side effect of adding this frame is when you make the screen smaller than the image. The frame will be cut off. I haven't found the trick to solve that. BL is using some magic to set the image size so scale within the window.

I'm fine using this CSS but I'd also like to ask for the feature to be added in the templates.

/* frame images in slide show */
.fancybox-slide .fancybox-image {
    outline: 1px solid #999;
}

Note, since BL is adding borders INSIDE images it always causes scaling. For example, I have thumbs set in the template to include a border. But the border makes the thumb scale down, making it a little softer. I'm trying out the CSS trick above to add frames to thumbs, so I get a sharper image without scaling.

Second part of my feature request is to have BL change to using outline instead of border in the CSS.

#50 Re: Backlight 2 Support » general SEO question » 2019-02-25 02:22:59

Oliver, I'm not familiar with Unlimited Sitemap Generator but I also can't see how it could work. If it could automagically spider your site and find all the images, then so could search engines. So we're stuck with the question how to find all the images to create the sitemap in the first place.

If you have your Google Analytics account setup, you should find all of your images already indexed. You can confirm a URL has been indexed (recorded in Google's search database) by using the URL tester in the Search Console.

I've been thinking of how Backlight can improve on SEO, and the topic of a sitemap is one I've been pondering. I'm not sure this would be an improvement. So long as Google can find your images, which it appears to be doing when I test my site, then I don't see how adding a site map will help much.

Board footer

Powered by FluxBB