iGalerie

Vous n'êtes pas identifié(e).

Annonce

Un message d'erreur qui s'affiche ? Un mot de passe oublié ? L'ajout de fichier qui ne marche pas ?
Pensez d'abord à lire la FAQ, vous y trouverez probablement une solution à votre problème.

#1 Utilisation » Image file links in album » 23-12-2025 07:25:31

Knut
Réponses : 0

Question:
would it be possible to make a php file to generate a text file with all image links with filename in the album?
I would use the input for a separate database for our images.
Knut

#2 Re : Propositions » Database ID number in search » 03-12-2025 09:27:34

I am vieving the image_id number on the image text using html code. Users therefore use this as a reference for which image they refer to.
I call it 'Album ID nummer' (album id number). example here with Album id nummer: 31184.
https://varteig-historielag.no/VHiGaler … tadrev#top

#4 Re : Propositions » Database ID number in search » 01-12-2025 08:15:33

Anyone with a suggestion/solution to search for item_id in album. I identify {ID} as a number for each image and it would be great to search for ID number in the album.

#5 Re : Bugs » Slideshow for mobile phones » 30-11-2025 08:17:18

I still get the blank screen on my iphone 13 pro. Ihave tested Android phone, here slideshow works. Looks to be a iphone issue.
My test album v 3.1 Beta is here:
https://varteig-historielag.no/igalerie … um#content
I have the fullscreen modus for mobile phone turned on in this album.

#6 Bugs » Slideshow for mobile phones » 27-11-2025 06:35:11

Knut
Réponses : 2

I discovered an issue of minor importance.
If I turn the mobile phone full screen option in admin ON, my iphone 13 pro goes blank screen when I enter slideshow.
If I turn the full screen option OFF in admin, the slide show works fine.

I checked that I have the same issue in 3.0 as well as 3.1.

This can certainly a issue with my phone. The simple solution for me is to turn this option off.
I have tested the issue in 2 servers for igalerie 3.0 and on one for 3.1. No error messages.

Would be great to now if someone has the same issue or a solution.

#7 Re : Bugs » First impression of 3.1 Beta version » 26-11-2025 05:32:12

That works!!!
The problem was well hidden in my opinion, but you found it.
I can reorganize my albums now.
Thank you!
Very much appreciated.
Knut

#8 Re : Bugs » First impression of 3.1 Beta version » 25-11-2025 14:19:20

I have this in the incident section. The album has not been used before...

#1
Dato : 2025-11-25 07:27:18.080172
iGalerie : 3.1-beta-1
PHP : 8.3.21
Type : PHP_EXCEPTION
Fil : includes/gallery/classes/AjaxDiaporama.class.php
Linje : 382
Side : album/2
Beskjed : 4 arguments are required, 3 given

I am useing Chrome and when I test i Edge the slideshow works!

ChromeConsole
I am not sure why my image tag does not work, but I could not see any errors.
link
https://www.varteig-historielag.no/chromeconsole.jpg
Knut

#9 Bugs » First impression of 3.1 Beta version » 25-11-2025 09:36:36

Knut
Réponses : 4

My first impression is good. I can not see any obvious problems.

I tested one area which does not  work in 3.0 for me. I uploaded a small mp4 video together with some jpg files in the same album. The mp4 video can be played without problems in both versions. Howeber, if I try to go to slideshow mode in the album with the mp4 video, the album loads without showing anything. Same in both versions. I have solved this with separate video albums so the slideshow works in image albums.

The video issue I have tested on 2 servers. Both the same.
I should add that I have only tested the 3.1Beta version on one server.

#10 Re : Utilisation » Video in slideshow mode » 28-07-2025 09:36:04

I believe I have to correct myself in this issue. I mentioned that slideshow with videos works on one of my servers.
I am using 2 different servers for igalerie albums.

The update: They both fail in slideshow-mode when I mix video and photos together in an album. When I click slideshow arrow, the abum goes into waiting mode which never ends.

My solutions has therefore been to put all videos i separate albums. The video album does not work slideshow, but at least the photoalbum does.

I would be interested if anyone has the same problem and if a solution is found to solve this.

#11 Propositions » Map view together with Slideshow » 16-05-2025 06:37:45

Knut
Réponses : 0

It would be great if the gps-map could be choosen in view in the sidebar in slideshow.
Knut

#12 Re : Bugs » Remplacement d'un fichier » 31-03-2025 09:20:05

Thank you for this post, I was about to revert to a backup since I have the same problem.
Knut

#13 Utilisation » Number of characters to show hovering photos » 16-12-2024 18:40:08

Knut
Réponses : 1

I can not get the description to show unlimited characters when I hover over the photo - thumbnails.

In the Admin section:
Options - Photos and videos tab:
Thumbnail section below:
Information to display paragraph:

Description - limit description length to .... characters. (0 for unlimited)


I can put in up to about 1200 characters. After that I can not get more text on thumnails when I hover over the thumnail.

If I put 0 in I get no characters displaying, only three dots...

I would like to have unlimited to work, is that possible? Or is it a  window limitation?

It seem like I have the sam issue with categories and album section.

#15 Utilisation » Category and Album text - width » 12-12-2024 09:36:29

Knut
Réponses : 2

It looks like the category and album text is limited to max about 1000 px regardless of album-size.(width)
What would be the CSS code I need to insert if I want category/album text to float to max album  width?

#16 Propositions » Database ID number in search » 13-11-2024 09:04:14

Knut
Réponses : 3

Would it be possible to add search for database ID number in the advanced section of the album?


Knut

#17 Utilisation » Downgrade installation » 28-04-2024 06:35:18

Knut
Réponses : 0

Can I go from 3.0.23 to 3.0.22 by simply install version 3.0.22 over 3.0.23?
I have to many issues with 3.0.23 with my server.
Knut

#18 Re : Utilisation » Envoi de photos en échec? » 21-04-2024 05:59:02

Yes David,
The first from Chrome, the upload also stops in Edge.

I do not get the error when I replace files from admin.

one of the error messages in Edge

orm elements must have labels: Element has no title attribute Element has no placeholder attribute
<input type="file" id="upload_input_file" multiple="" accept="image/gif,image/jpeg,image/png,image/webp,video/mp4,video/webm" style="display: none;">
Open in Elements
REQUEST
https://www.varteig-historielag.no/VHiG … ser-upload
FURTHER READING
Learn more about this axe rule at Deque University
Learn why this is important and how to fix it on webhint.io

#19 Re : Utilisation » Envoi de photos en échec? » 20-04-2024 21:47:03

I have the same issue, the upload stop in most cases.
With F12 it looks like this
 screenshot F12 error on upload

This error text
form field element should have an id or name attribute
A form field element has neither an id nor a name attribute. This might prevent the browser from correctly autofilling the form.
To fix this issue, add a unique id or name attribute to a form field. This is not strictly needed, but still recommended even if you have an autocomplete attribute on the same element.
1 resource
Violating node
Learn more: The form input element

Knut

#20 Re : Utilisation » javascript in head.tpl.php » 07-04-2024 16:39:45

Hi David,
Thanks for the input.

I added the
nonce="<?php echo CSP_NONCE; ?>"

to my menu script lines to the head.tpl.php file in template/default/custom folder.
The scripts load correctly (I checked see the page source), but the menus did not show up.

The second method, I may have misunderstood the use the correct procedure:
I loaded this line in template/default/custom/head.tpl.php
<script type="text/javascript" src="<?php echo $tpl['gallery']['path']; ?>/js/custom.js"></script>

Then I made the script lines in to js/custom.js (in js root folder)
This does not load the script at all.
Knut

#21 Utilisation » javascript in head.tpl.php » 26-03-2024 21:46:57

Knut
Réponses : 3

I have successfully used the head.tpl.php file under Template/Default/Custom to run a separate JavaScript menu for a sister-website with  the album.
This has worked well until version igalerie 3.0.22. But in 3.0.23 I cannot get it to work. The menu does not show at all.
Suggestions appreciated.
Knut

#22 Re : Utilisation » Album speed » 26-03-2024 14:49:59

I have the ‘recent images’ turned on in the album.
When I click the flag for recent images which in the browser produce this code after the album address
?q=album/2/recent-images#top
Then the album page get dark nothing comes out. (I have dark mode in album).
This is flawless working on other server I use.
Suggestions appreciated, I looks like the server support can not find a solution.
Knut

Update:
This issue is a conflict with a javascript menu I used in the album. I removed the menu (not too important) then the last image flag is working properlly. This is server dependent. I get the menu workng on a second server under same conditions.

#23 Re : Utilisation » Album speed » 26-03-2024 14:38:27

Thanks David,
I have complained to the slow server and they claim to have increased the resourses. Then I get a approx 3 seconds delay which is a larage improvement from 13 seconds.
I run the diagnostick mode as you explained and got this output. (sorry for the prsentation, could not find a way to prsent det table here.
Item no 10 is the one delaying the website.
[img]#    Fil    Linje    SQL-forespørsel    Resultat    Antall linjer behandlet    Utførelsestid
1    includes/core/dblayer/sqlite.class.php    210    PRAGMA synchronous = OFF    SUKSESS    0    0,317 ms
2    includes/core/dblayer/sqlite.class.php    216    PRAGMA foreign_keys = ON    SUKSESS    0    0,006 ms
3    includes/core/Config.class.php    925    SELECT * FROM config    SUKSESS    ?    0,030 ms
4    includes/core/Auth.class.php    191    SELECT g.*,
u.*,
(strftime('%s', '2024-03-26 12:21:40') - strftime('%s', CASE WHEN user_lastvstdt IS NULL
THEN '2000-01-01 00:00:00'
ELSE user_lastvstdt END)) > 900 AS user_update
FROM sessions AS s,
sessions_users AS su,
groups AS g,
users AS u
WHERE u.user_id = su.user_id
AND su.session_id = s.session_id
AND u.group_id = g.group_id
AND user_status = '1'
AND session_token = ?
AND session_expire > '2024-03-26 12:21:40'    SUKSESS    ?    0,130 ms
5    includes/core/Auth.class.php    262    UPDATE users
SET user_lastvstdt = '2024-03-26 12:21:40',
user_lastvstip = ?
WHERE user_id = ?    SUKSESS    1    0,239 ms
6    includes/gallery/classes/Gallery.class.php    672    SELECT user_id,
user_avatar,
user_login,
user_nickname,
user_lastvstdt
FROM users
WHERE user_id != 2
AND user_status = '1'
AND (strftime('%s', '2024-03-26 12:21:40') - strftime('%s', user_lastvstdt)) < 300    SUKSESS    ?    0,047 ms
7    includes/gallery/classes/GalleryCategory.class.php    692    SELECT cat.*,
CASE WHEN cat.password_id IS NULL THEN 1 ELSE (SELECT 2
FROM sessions AS s
LEFT JOIN sessions_categories AS sc USING (session_id)
LEFT JOIN passwords AS p USING (cat_id)
WHERE cat.password_id = p.password_id
AND session_token = '857710765d3ccd0f1ad108d87dc6ca2b2f6daf0c'
AND session_expire > '2024-03-26 12:21:40') END AS password_auth,
CASE WHEN cat_filemtime IS NULL
THEN 'category' ELSE 'album'
END AS cat_type,
i.item_id,
i.item_type,
i.item_adddt,
i.item_path,
i.item_orientation
FROM categories AS cat
LEFT JOIN items AS i
ON cat.thumb_id = i.item_id
WHERE 1=1
AND cat.cat_id = ?
AND cat_status = '1'
AND cat_filemtime IS NOT NULL    SUKSESS    ?    0,144 ms
8    includes/gallery/classes/GalleryCategory.class.php    810    SELECT 1
FROM favorites AS f
LEFT JOIN items AS i USING (item_id)
LEFT JOIN categories AS cat USING (cat_id)
WHERE 1=1
AND (cat.password_id IS NULL OR (SELECT 2
FROM sessions AS s
LEFT JOIN sessions_categories AS sc USING (session_id)
LEFT JOIN passwords AS p USING (cat_id)
WHERE cat.password_id = p.password_id
AND session_token = '857710765d3ccd0f1ad108d87dc6ca2b2f6daf0c'
AND session_expire > '2024-03-26 12:21:40') = 2)
AND item_status = '1'
AND f.user_id = ?
AND f.item_id = i.item_id
AND item_path LIKE ? ESCAPE '\\'
LIMIT 1    SUKSESS    ?    0,124 ms

9    includes/gallery/classes/GalleryCategory.class.php    1141    SELECT t.*,
COUNT(*) AS tag_items_count
FROM tags AS t
LEFT JOIN tags_items AS ti
ON t.tag_id = ti.tag_id
LEFT JOIN items AS i
ON ti.item_id = i.item_id
LEFT JOIN categories AS cat
ON i.cat_id = cat.cat_id
WHERE 1=1
AND (cat.password_id IS NULL OR (SELECT 2
FROM sessions AS s
LEFT JOIN sessions_categories AS sc USING (session_id)
LEFT JOIN passwords AS p USING (cat_id)
WHERE cat.password_id = p.password_id
AND session_token = '857710765d3ccd0f1ad108d87dc6ca2b2f6daf0c'
AND session_expire > '2024-03-26 12:21:40') = 2)
AND i.item_path LIKE ? ESCAPE '\\'
AND item_status = '1'

GROUP BY t.tag_id
ORDER BY tag_items_count DESC, t.tag_id ASC
LIMIT 0,100    SUKSESS    ?    67,901 ms

10    includes/gallery/classes/GalleryItems.class.php    847    SELECT i.*,
cat.cat_parents,
u.user_avatar,
u.user_login,
u.user_nickname,
u.user_status
FROM items AS i

LEFT JOIN categories AS cat
ON i.cat_id = cat.cat_id
LEFT JOIN users AS u
ON i.user_id = u.user_id
WHERE item_status = '1' AND 1=1 AND (cat.password_id IS NULL OR (SELECT 2
FROM sessions AS s
LEFT JOIN sessions_categories AS sc USING (session_id)
LEFT JOIN passwords AS p USING (cat_id)
WHERE cat.password_id = p.password_id
AND session_token = '857710765d3ccd0f1ad108d87dc6ca2b2f6daf0c'
AND session_expire > '2024-03-26 12:21:40') = 2) AND i.cat_id = :cat_id
ORDER BY LOWER(item_path) ASC, LOWER(item_name) ASC, item_position ASC
LIMIT 5100,60    SUKSESS    ?    2808,155 ms

11    includes/core/Item.class.php    1212    SELECT item_id
FROM favorites
WHERE item_id IN (26727, 26704, 26710, 26723, 26726, 26701, 26712, 26722, 26702, 26697, 26700, 26699, 26720, 26696, 26714, 26718, 26721, 26725, 26707, 26708, 26711, 26703, 26715, 26724, 26709)
AND user_id = ?    SUKSESS    ?    0,123 ms

12    includes/gallery/classes/Gallery.class.php    1290    SELECT i.*,
cat.cat_parents,
u.user_avatar,
u.user_login,
u.user_nickname,
u.user_status,
(0) AS in_selection
FROM items AS i
LEFT JOIN categories AS cat
ON i.cat_id = cat.cat_id
LEFT JOIN users AS u
ON i.user_id = u.user_id
WHERE 1=1
AND (cat.password_id IS NULL OR (SELECT 2
FROM sessions AS s
LEFT JOIN sessions_categories AS sc USING (session_id)
LEFT JOIN passwords AS p USING (cat_id)
WHERE cat.password_id = p.password_id
AND session_token = '857710765d3ccd0f1ad108d87dc6ca2b2f6daf0c'
AND session_expire > '2024-03-26 12:21:43') = 2)
AND item_status = '1'
ORDER BY RANDOM()
LIMIT 1    SUKSESS    ?    17,885 ms
13    includes/core/Category.class.php    655    SELECT cat.cat_id,
cat.user_id,
cat.password_id,
cat_parents,
cat_name,
cat_url,
cat_filemtime,
cat_creatable,
cat_uploadable,
cat_status,
cat_a_subcats + cat_d_subcats AS cat_subcats,
cat_a_subalbs + cat_d_subalbs AS cat_subalbs,
cat_a_images,
cat_a_videos,
p.cat_id AS p_cat_id,
CASE WHEN cat.password_id IS NULL THEN 1 ELSE (SELECT 2
FROM sessions AS s
LEFT JOIN sessions_categories AS sc USING (session_id)
LEFT JOIN passwords AS p USING (cat_id)
WHERE cat.password_id = p.password_id
AND session_token = '857710765d3ccd0f1ad108d87dc6ca2b2f6daf0c'
AND session_expire > '2024-03-26 12:21:43') END AS password_auth,
CASE WHEN cat.cat_id > 1
THEN parent_id
ELSE 0
END AS parent_id,
CASE WHEN cat_filemtime IS NULL
THEN 'category'
ELSE 'album'
END AS cat_type
FROM categories AS cat
LEFT JOIN passwords AS p USING (password_id)
WHERE 1=1 AND cat_status = '1'
AND thumb_id != -1
AND (cat_a_images + cat_a_videos) > 0
ORDER BY LOWER(cat_name) ASC    SUKSESS    ?    0,157 ms
*                        2895,258 ms[/img]
Knut

#24 Utilisation » Album speed » 20-03-2024 17:24:42

Knut
Réponses : 3

I wonder if someone has same experience as I have now.

I have igalerie 3.0.22 with sqlite database. PHP version 8.1.17, SQLite version3.34.1
Database size 28 Mb

The igalereie has about 59 album. 2-3 of them large. One with 5100 pictures, the second large album with about 2500 pictures. All pictures with 1200 pixels, about 6-800 kb each photo. The database has 16100 items.

When I open the album with 5100 photos the response is quick. When I browse to the last photo, it takes 12-13 seconds. For the second large album with 2500 photos browsing to last photo takes 5-6 seconds.
The reponse corresponds with number of photos which make sence I guess.

This behavious is new, I have not noticed this delay before. Since the album has grown gradually over several years, I should have noticed this before.

I have done the maintenance actions in admin area with good reponse without issus. I have done a external check of the database sqlite file without finding problems.

Is this normal or do I have a bug?
Suggestions appreciated.
Knut

#25 Re : Utilisation » Video in slideshow mode » 10-02-2024 21:43:36

It is 2 iGalerie installations on the same server. With iGalerie 3.0.22, in both installations and with  php 8 SQLite 3.37 on thre server.
I  seem to have an issue in one of the iGalerie installations.

Pied de page des forums

Propulsé par FluxBB