Comments (4)
Hi,
yes, this can be achieved with a small enhancement to a theme or with creating an individual theme.
In the theme the file name is available in the foreach iteration in the variable $element
e.g. in /nova-themes/novagallery/album.php
beetween line 32 and 36.
There you can add the file name where you like with <?= $element ?>
For example Line 34:
<img src="<?php echo Image::url($album, $element, Site::config('imageSizeThumb')); ?>" loading="lazy" class="rounded"><br><?= $element ?>
To show the filename in the lightbox view, just add it as title to the image tag (Line 34)
<img src="<?php echo Image::url($album, $element, Site::config('imageSizeThumb')); ?>" loading="lazy" class="rounded" title="<?= $element ?>"><br>
You can extend this with individual functions, for example to remove the file extension.
Of course it could be better but for that I recommend to create an individual theme: just copy paste a theme, change what you like to change (including the metadata.json
of the theme) and activate it in the config file.
If you need personal support for creating an individual theme (including a pro license), just let me know. ;-)
from novagallery.
Thank you!
I have already bought the license. Should I receive an email with the download or do I use the same files as the free version?
from novagallery.
You should have received an email from Paddle with the download link and support info right after your order.
If you haven't received it, I can also send you the download link from novaGallery Pro Support. Just send a short email to [email protected]
from novagallery.
seems to be solved.
from novagallery.
Related Issues (20)
- show file name or allow name db via txt etc HOT 1
- orientation wrong - why even bothing using orientation data? HOT 3
- Different folder for pictures HOT 2
- Adding Italian Messages... HOT 1
- Sorting options HOT 4
- Number of albums limit? HOT 2
- hardcoded "galleries" path of galleries HOT 1
- 404 / Page Not Found HOT 2
- Shuffle Sort HOT 2
- Protect every album HOT 2
- error in terminal w/ 404 HOT 3
- Adding the file name in the theme HOT 2
- Intended use of URL field? HOT 10
- Cannot make it work under IIS HOT 1
- multiple users / passwords
- How to don't create imageSizeBig ? HOT 2
- errors on start
- 404 error running rapberrypi debian 12
- Passwort just for singe folder - not all galleries HOT 1
- Album ordering malfunctions when album is composed solely of more albums HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from novagallery.