Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
Implemented How add image descriptions to a tag parameter gallery?
- Torbjörn Nyström
-
Topic Author
- Offline
Less
More
- Posts: 1
- Thank you received: 0
1 year 5 months ago #2576
by Torbjörn Nyström
How add image descriptions to a tag parameter gallery? was created by Torbjörn Nyström
I have many gallerys in multiple folders..
Making tag gallerys is very easy now with ochGlightbox and they work fine - but how do I add image descriptions to each file?
I used to do image descriptions via a simple txt-file inside the gallery-folder with my old Joomla 3 plugin (don't remember name of plugin)..
How do I add image descriptions to ochGlightbox in Joomla 4 ?
Making tag gallerys is very easy now with ochGlightbox and they work fine - but how do I add image descriptions to each file?
I used to do image descriptions via a simple txt-file inside the gallery-folder with my old Joomla 3 plugin (don't remember name of plugin)..
How do I add image descriptions to ochGlightbox in Joomla 4 ?
The topic has been locked.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1673
- Thank you received: 108
1 year 5 months ago - 1 year 5 months ago #2578
by Ruud van Lent
Replied by Ruud van Lent on topic How add image descriptions to a tag parameter gallery?
Hi Torbjörn,
this is currently not possible using tags, it is possible via the module.
But the way you describe adding description with a text file is actually a good idea that I am willing to implement.
Do you have an example of the file you used with the previous plugin?
this is currently not possible using tags, it is possible via the module.
But the way you describe adding description with a text file is actually a good idea that I am willing to implement.
Last edit: 1 year 5 months ago by Ruud van Lent.
The topic has been locked.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1673
- Thank you received: 108
1 year 5 months ago #2580
by Ruud van Lent
Replied by Ruud van Lent on topic How add image descriptions to a tag parameter gallery?
Ok,
so while I was t it i just thought let's go ahead and implement this.
If you could test, that would be great!
So how does it work?
In the directory holding the images you can create a "descriptions.json" file, this is a 'simple' text file where the data is entered in json format. This the plugin can easily read as this is a standardized way of data-entry.
below an example of a descriptions.json file
When there is an error in the descriptions.json file you can find the error in the logfile for the plugin.
You can download the test version of ochGlightBox in the 'private message' box of this message, at least I hope it is there as this is a new function of kunena that I haven't test yet.
Please let me know if you can download the test version and if this is (technically) working.
regards, Ruud.
so while I was t it i just thought let's go ahead and implement this.
If you could test, that would be great!
So how does it work?
In the directory holding the images you can create a "descriptions.json" file, this is a 'simple' text file where the data is entered in json format. This the plugin can easily read as this is a standardized way of data-entry.
below an example of a descriptions.json file
Code:
{
"andreia-alexandre-pVHIT6wVRUk-unsplash.jpg": "this is a \"test\"",
"omer-salom-PfTNxPww6bY-unsplash.jpg": "Another beautifull test"
}
When there is an error in the descriptions.json file you can find the error in the logfile for the plugin.
You can download the test version of ochGlightBox in the 'private message' box of this message, at least I hope it is there as this is a new function of kunena that I haven't test yet.
Please let me know if you can download the test version and if this is (technically) working.
regards, Ruud.
The following user(s) said Thank You: Torbjörn Nyström
The topic has been locked.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1673
- Thank you received: 108
1 year 5 months ago #2584
by Ruud van Lent
Replied by Ruud van Lent on topic How add image descriptions to a tag parameter gallery?
Hi Torbjörn,
Just following up on the new descriptions.json functionality: did it work for you with the test version I provided?
If so I can release a new version.
Let me know,
have a nice weekend,
Ruud.
Just following up on the new descriptions.json functionality: did it work for you with the test version I provided?
If so I can release a new version.
Let me know,
have a nice weekend,
Ruud.
The topic has been locked.
- Ruud van Lent
-
- Offline
Less
More
- Posts: 1673
- Thank you received: 108
1 year 5 months ago #2585
by Ruud van Lent
Replied by Ruud van Lent on topic How add image descriptions to a tag parameter gallery?
Just went ahead and released version 2.1.0 with this change. Thanks for proposing this new feature!
Closing this topic now, if you have any other questions / suggestions feel free to open a new topic.
regards,
Ruud.
Closing this topic now, if you have any other questions / suggestions feel free to open a new topic.
regards,
Ruud.
The topic has been locked.