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



Permlink Replies: 33 - Pages: 3 [ 1 2 3 | Next ] - Last Post: 26 Oct 23, 16:40 Last Post By: JeffTucker Threads: [ Previous | Next ]
Laza

Posts: 1,379
Registered: 6-Sep-2005
Plain 2.0 testing
Posted: 19 Oct 23, 17:01
Attachment Plain.jaskin (792.2 KB)
I made a new version of Plain skin.

New features:
  • Compiled GUI
  • Social sharing options
  • OSM support if no Google API key is provided
  • Captions in the lightbox
  • Animated paging on index pages (bunches of thumbnails)
  • Folders can be placed in the Sidebar, in the Top bar, above the thumbnails, mixed with the thumbnails, or as a separate section
  • Custom page support with predefined pages: About, Contact, Contents, Sitemap, Newimages (not yet finalized fully)
  • Pages can be placed in the Sidebar, in the Top bar, above the thumbnails, mixed with the thumbnails, or embedded into the index page
  • Web locations can be placed in the Sidebar, in the Top bar, above the thumbnails or mixed with the thumbnails
  • Generic setting for white space around the page elements
  • Sidebar navigation can be made collapsed

I'm planning on adding a few new styles, but these are not yet ready.

Edited by: Laza on 20 Oct 2023, 12:49
Beta 2
  • Fixed the bugs reported in this forum, and those reported by Andre
  • Added separate lightbox caption settings
  • Made "Show captions" default
  • Added Soft style

Edited by: Laza on 26 Oct 2023, 10:10
Beta 3
  • Fixed a lot of things
  • New style: Vintage and Elegant
  • Updated French, Dutch and Hungarian translations
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 19 Oct 23, 17:42   in response to: Laza in response to: Laza
  • Showing captions in the lightbox should probably be the default.
  • I would want to be able to show title & comment in the lightbox, but not below the thumbnails. Right now, it seems to be "all or nothing."
  • I'll wager that, since the lightbox caption is centered, users will want text-align: center, too.
  • The link to a web location in the sidebar is being interpreted as relative to the album, instead of an absolute address. E.g., https://jefftucker.net ends up trying to go to albumname/https://jefftucker.net. It's OK when the web location is mixed, or at page top.
  • If the web location is Above the thumbnails, it doesn't appear on the page at all.
mrag

Posts: 263
Registered: 26-Jul-2003
Re: Plain 2.0 testing
Posted: 19 Oct 23, 19:48   in response to: Laza in response to: Laza
I like the improvements although I thought the idea of Plain was to be plain. That said, I gave it a try and experienced the following:

There is no sample for Portfolio style

Simply adding photos to a new project and pressing Make Album (all defaults) there is no navigation on the lightbox image-you have to use the browser's back arrow.

Choosing to download originals is just a mess.

Download, map, and camera icons are all missing title/alt tags

And if there is a way to get rid of the sidebar, I couldn't find it.
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 19 Oct 23, 20:01   in response to: mrag in response to: mrag
mrag wrote:
Simply adding photos to a new project and pressing Make Album (all defaults) there is no navigation on the lightbox image-you have to use the browser's back arrow.

I got that result the first time, but after making the album again, plus a browser refresh, it was OK. That's a sign of trouble, and it's repeatable. Maybe a script not loading when it needs to.

Choosing to download originals is just a mess.

It's offering to download something called undefined.htm.
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 19 Oct 23, 20:11   in response to: JeffTucker in response to: JeffTucker
Attachment ss011698.png (10.9 KB)
When I get the "slide image opening raw in the browser," the browser console is showing a 404 on main.js. Screenshot.

ETA: main.js isn't being copied to the output res directory.
Laza

Posts: 1,379
Registered: 6-Sep-2005
Re: Plain 2.0 testing
Posted: 20 Oct 23, 09:40   in response to: Laza in response to: Laza
With Plain 2, I tried to move the focus from "easy to develop further" to "provide the simplest output with the least surprises". As it seems these days nobody cares about developing skins - besides a few brave guys - code simplicity became secondary. (And Plain is supposed to be plain enough.)

Previously, even though jAlbum has offered features, like paging (rows =/= 0) or custom order of elements, the default skin (and most skins) did not offer the same functionality. This might have caused confusion in many users. I wanted to make the album as close to the jAlbum's explore view as possible.

I went through the feedback and fixed most. Here are a few notices:

Choosing to download originals is just a mess.
Isn't allowing Originals, and turning on the appropriate lightbox functionality clear enough? Or should I turn the download button always on once the "Originals" is allowed?

Download, map, and camera icons are all missing title/alt tags
These are SVG's, not normal images, and the alt tag is added to the link element as aria-label="Download image". This is how the lightbox author made it. Supposed to be as good, as the alt tag's purpose is to provide textual description for image readers.
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 20 Oct 23, 14:02   in response to: Laza in response to: Laza
Laza wrote:
With Plain 2, I tried to move the focus from "easy to develop further" to "provide the simplest output with the least surprises". As it seems these days nobody cares about developing skins - besides a few brave guys - code simplicity became secondary. (And Plain is supposed to be plain enough.)

I agree - the days of being able to start with Minimal, tinker with the UI, modify the simple HTML and CSS, and produce a new, different skin, are gone. Users expect modern page coding, more sophisticated presentations, smoother operation. Sure, they want to be able to change a lot of things, but with a modern skin, that's virtually impossible for a user.

And when it comes to modifying the UI, getting NetBeans set up is a big hurdle, but once you've gotten through it the first time, it's much easier to work with than trying to modify an interpreted UI in BeanShell or, lord help you, Groovy (if anything, Groovy is even worse than BeanShell for that purpose).

I went through the feedback and fixed most.

Yes, all of my initial gripes have been taken care of. :)

I like the skin. Not only should it be bundled, it should probably be the jAlbum default, rather than Tiger. For a first-time user, sending them into Tiger is almost cruel. Sure, it's got a fantastic feature set, but for a first-timer, it's a scary jungle. ;)
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 20 Oct 23, 14:38   in response to: JeffTucker in response to: JeffTucker
I see that, as of jAlbum 33, Plain is now the default skin. Good move. :)
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 20 Oct 23, 16:00   in response to: JeffTucker in response to: JeffTucker
In the interests of removing things that are overly-complicated and often intimidating to a new user, I think I'd get rid of the editable choices under Show photo data. I'd have just the checkbox, and have the skin extract only EXIF and xmp entries for Camera, Make and model, Date, ISO, Exposure, Aperture, Focal length, Focal length 35mm, Flash, and GPS. In other words, just the standard stuff that comes out of the camera.

A user who wants to take control of this, and extract other fields, can then graduate to a fancier skin - most of Laza's skins and mine give the user fairly extensive control over what metadata to show, and how.

Edited by: JeffTucker on 21 Oct 2023, 09:20, modified list.
mrag

Posts: 263
Registered: 26-Jul-2003
Re: Plain 2.0 testing
Posted: 20 Oct 23, 17:57   in response to: JeffTucker in response to: JeffTucker
Attachment lifeboat.zip (8.2 KB)
Are there TWO steps required to be able to download originals in the album? In Settings > Lightbox > Use Download button AND then Images > Include > Originals ?

Under Settings > Lightbox it reads "download" button. Should that perhaps reference original?

I'm having trouble using "Sharing" with Facebook and Link among others. Maybe I should read a tutorial, but ... With Facebook I get a "sorry" message, with Link I get a "blank." I've never used those before so perhaps it's just me. However:

And in my sample album, I was playing with different shares. When I then went to a slide image, the navigation was gone (again). Not sure what I did exactly, will play more later. Meanwhile here's the lifeboat.
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 20 Oct 23, 18:34   in response to: mrag in response to: mrag
mrag wrote:
Are there TWO steps required to be able to download originals in the album? In Settings > Lightbox > Use Download button AND then Images > Include > Originals ?

Under Settings > Lightbox it reads "download" button. Should that perhaps reference original?


I agree - this is redundant. If the download button is not going to be used for slide images (it's not needed, since the visitor can just right-click on the image and save it), then it should just appear automagically when originals are included along with the scaled images.

So, if the lightbox is showing the scaled image, and there's no original, no button. If the lightbox is showing the original, no button. If the lightbox is showing the scaled image, but there is also an original, show the button.

No need for a UI setting for it at all.
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 20 Oct 23, 18:36   in response to: mrag in response to: mrag
mrag wrote:
I'm having trouble using "Sharing" with Facebook and Link among others.

Haven't you been banned from all social media by now?!

BTW, I noticed someone online referring to one of those services as Xhitter. I like it. ;)
mrag

Posts: 263
Registered: 26-Jul-2003
Re: Plain 2.0 testing
Posted: 20 Oct 23, 19:47   in response to: JeffTucker in response to: JeffTucker
Attachment plainA.jpg (41.2 KB)
Facebook has made suggestions towards my civility. Every time I visit there I have the same feeling in the morning as when I've had six martinis the night before. Coincidence?

Speaking of, I made another test album using the White style and I only played with selecting and unselecting the "Sharing" sites a few times. Whoops, no more navigation on the slide/lightbox pages! You can see this at:

https://mrag.jalbum.net/Plain3/

Also, is there a 'centering' issue on the index here? (see attached)

Is there any interest in - I mean as long as we're keeping the skin plain ;-)
Option to limit lengthy comments to like two sentences in thumbs or slides or both?
With a lengthy comment obscuring a lot of a slide, can there be an option to make the comment 'disappear?'

Edited by: mrag on 20 Oct 2023, 14:07
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 20 Oct 23, 20:30   in response to: mrag in response to: mrag
Attachment ss011700.png (9.9 KB)
Different console error this time - screenshot. And I suspect the centering issue is related to it.
JeffTucker

Posts: 7,896
Registered: 31-Jan-2006
Re: Plain 2.0 testing
Posted: 20 Oct 23, 20:32   in response to: mrag in response to: mrag
mrag wrote:
Is there any interest in - I mean as long as we're keeping the skin plain ;-)
Option to limit lengthy comments to like two sentences in thumbs or slides or both?
With a lengthy comment obscuring a lot of a slide, can there be an option to make the comment 'disappear?'

This is "feature creep." If a user wants to enter verbose comments, let him use another skin. And if long comments are truncated, why bother entering long comments in the first place?
Legend
Forum admins
Helpful Answer
Correct Answer

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