Problem is, many already have image names like "maple-tree.jpg", which will display in caption as "Maple tree". However, explicit titles are still set for some images to override the file name title. If we make "title" and "filename" separate items, it will become difficult to display a single caption title (from either "title" or "filename"), because many images will have both ... And if you disable "filename", only images with explicit "title" will be able to display a caption title. Basically, it will become impossible to display single-title captions in galleries where some images have explicit titles and some don't ... Right now, caption title will simply display "title" (if set), and default to "filename" if explicit title was not set.pede wrote:I also have the problem in a similar way. Maybe it is better to have both placeholders independent? A variable for the file name and a variable for the title? Then you can insert both separately or together in the title as you like.
That would be correct. I see your point. The original concept of TITLE, is to have a main title for the image, either coming from the image name, or from the title field (if set). The point of the title field, is to have more extensive titles (special characters and HTML) than what you have in filename ... Besides, many have file names like _DC2345.JPG and want to write proper titles. Also, titles can be inherited from IPTC titles (from inside the image) ... When owners decide to specifically show a title, I think there should always be a title, and that means we have to make sure there is a title for the image no matter what from this order 1) title saved, or 2) iptc title, 3) filename (with extension removed).pede wrote:But that means that file name and title (if there is one) cannot be displayed at the same time like this?
mjau-mjau wrote:Popup caption improvements
- New Settings > Popup > Popup Caption > Caption Items > "Create title from filename if empty title". In the case image TITLE is not explicitly set, popup caption title will instead be populated by the filename (excluding extension). This was always default behavior, but you can now disable this option if you only want to display the title if image title is explicitly assigned (not replaced by file name).
- New Settings > Popup > Popup Caption > Caption Items > Filename. Display filename in popup caption, regardless of image title. Disabled by default.
- Above options are available in global settings > Popup > Popup Caption > Caption Items and page settings > gallery > popup > caption items.
- If popup caption is empty (no items), caption background will now be hidden.
- Fixed so that disabling popup title no longer disables the entire caption if there are other caption fields enabled.