Articles on this Page
- 12/31/17--01:08: _"MySQL server has g...
- 01/03/18--07:50: _Zenphoto's Hash
- 01/06/18--01:30: _how works custom im...
- 01/06/18--13:03: _Embedded Youtube Vi...
- 01/08/18--02:48: _Dynamic "All images...
- 01/11/18--02:11: _option "recent images"
- 01/10/18--22:05: _SRC= to DATA-SRC= c...
- 01/13/18--02:36: _Existing Photo Fold...
- 01/16/18--00:37: _1.4.14: Edits are n...
- 01/17/18--04:34: _quota manager
- 01/18/18--01:14: _General Data Protec...
- 01/19/18--09:24: _pre-cache script
- 01/21/18--00:54: _Howto suppress "Dis...
- 01/21/18--00:15: _$conf['security_ack']
- 01/21/18--00:41: _open_basedir restri...
- 01/21/18--09:20: _Subforum for themes...
- 01/22/18--10:46: _Better image cachin...
- 01/24/18--03:46: _Forum + external sc...
- 01/24/18--04:13: _Album vs. dynamic a...
- 01/25/18--03:35: _Howto: User-group +...
- 12/31/17--01:08: "MySQL server has gone away" issue
- 01/03/18--07:50: Zenphoto's Hash
- 01/06/18--01:30: how works custom images order?
- 01/06/18--13:03: Embedded Youtube Videos no longer displaying on mobile devices
- 01/08/18--02:48: Dynamic "All images" album
- 01/11/18--02:11: option "recent images"
- 01/10/18--22:05: SRC= to DATA-SRC= converter for lazy loading thumbnails
- 01/13/18--02:36: Existing Photo Folder Setup
- 01/16/18--00:37: 1.4.14: Edits are not stored in DB
- 01/17/18--04:34: quota manager
- 01/18/18--01:14: General Data Protection Regulation (GDPR, resp. DSGVO)
- 01/19/18--09:24: pre-cache script
- 01/21/18--00:54: Howto suppress "Display Errors"
- 01/21/18--00:15: $conf['security_ack']
- 01/21/18--09:20: Subforum for themes and extensions
- 01/22/18--10:46: Better image caching by browsers
- 01/24/18--03:46: Forum + external scripts/sources
- 01/24/18--04:13: Album vs. dynamic album
- 01/25/18--03:35: Howto: User-group + sub-album management
Within "family_album_A" are sub-albums such as
My Zenphoto site has started throwing the following error...
Fatal error: MySQLi Error: ( SELECT * FROM
date<="2017-12-31 08:59:49" AND
expiredate<="2017-12-31 08:59:49" AND
expiredate!="0000-00-00 00:00:00" AND
expiredate IS NOT NULL ) failed. MySQLi returned the error MySQL server has gone away in /mounted-storage/home117a/sub005/sc62105-HHGW/www/mywebsitename/zp-core/functions-db-MySQLi.php on line 78
I get similar when trying to login to admin.
When i go to mywebsite/zp-core/setup.php I get the message
You must restore the setup files from the 1.4.12 [c1d7e8900b] release.
What may be the cause and how do I do this?
I need to know which hash algorithm uses zenphoto to encrypt passwords (ex. MD5, SHA-1, etc...).
Thanks a lot!
in some albums, I set custom images order, and I use
random as custom fields.
on some albums, on each refresh I have a new random order but on on some other albums, I have only one random order that remains on each refresh.
the 1st case seems to be for "normal" albums, and the 2nd case seems to be on dynamic albums.
can you explain how works that custom images order, especially on
random custom fields?
I have been using the "Basic" theme in conjunction with the "class-textobject" plugin to display videos that are hosted on Youtube. The text files and identically named jpeg thumbnail shots are put in a folder on my server and ZenPhoto has worked well creating an album of YouTube videos that will play embedded, where an image would normally display when clicking on the thumbnail.
I use the following code in a text file which references a YouTube video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/sNS-eQjn3WA?list=PLlcsMap1KHlX1ajPlhK8f_DH1ffxXdc-P" frameborder="0" allowfullscreen></iframe>
This has worked fine for a number of years, but now the videos do not play on mobile devices, Android or IOS. Works fine on a PC using Chrome or FF. On mobile I just get the spinning buffering symbol but the YouTube video does not load.
I recently upgraded to an HTTPS server and I am wondering if this introduced the problem. Any one with ideas about what would have broken this?
After successfully setting up my zenphoto/zenpage website, I'd like to have a dynamic album that contains all images. A blank album tag, however, does not do the job.
Any suggestions will be greatly appreciated.
I would like delete the option "recent image" on zen mobile theme.
When i click on my gallery i want to show directly the gallery, not "recent images".......
Also, how can i do to delete the part Archive ?
Trying to introduce lazy loading feature on theme's album.php for heavy weighted thumbnails. There are a lot of scripts on the net, helping this approach. Examples: b-lazy responsivelyLazy ...
b-lazy uses following html:
<img class="b-lazy" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="images/image.jpg" alt="alt-text" />
Both replacing attribute src with data-src or srcset and data-srcset for lazy needs. How do i use these scripts with ZP functions like printImageThumb()? Here is the example of lazyload converter for WordPress but howto implement it into Zenphoto?
<img class="responsively-lazy" src="images/image.jpg srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-srcset="images/400.jpg 400w, images/400.webp 400w, images/600.jpg 600w, images/1000.jpg 1000w" alt="alt-text" />
Happy to be re-directed to the appropriate thread, but I really honestly can't find it.
I'm trying to set my existing photos direcctory on my NAS as the zenphoto 'album'.
My directory structure is:
Photo directory = '/volume1/One Drive/SORTED PHOTOS'
Zenphoto directory = /volume1/web/zenphoto
I have tired to change the zenphoto.cfg.php file in zp-data but it gives me a 'Error: The “albums” directory (//volume1/One Drive/SORTED PHOTOS/) cannot be found. message from:
I'm sure this is simple but I'm struggling - any quick help / redirection is much appreciated.
Thanks a bunch,
Hi @ all.
Recently I installed ZPC on a local machine, running with DebianEdu "Stretch".
The overview information in the backend complains only that "Locale setting has failed", no spam filter and "no mail handler configured".
The problem I am facing is, that I am not able to save edits in the database when e.g.:
picture titles or descriptions,
album titles or descriptions.
I press "Apply", and Browser says: "Changes applied"
but the earlier filled fields are empty now.
Options - Gallery - Gallery title or description,
I click "Apply" and the browser says: "Applied", but then the formerly filled fields are empty again.
Is it with this extension possible to adjust the quota for every single group and next to that for every individual user?
The description says: "You can change the quota for individual users on the Admin tab."
But I am not able to find it in ZP1.4.14.
Within the BE I can reach:
Options - Plugin - quota_manager - change options
and there it offers
- Allow ZIP
- default quota.
What do I miss?
Are there any features planned regarding GDPR for ZPC?
hey guys, I just wanted to let you know i've created a zenphoto pre-cache script that will iterate across all gallery images and discover what cached thumbnails and whatnot are missing, and generate them. it is suitable to run in cron once an initial run has been completed. https://github.com/benklop/zenphoto-precache if you want to take a look. so far it seems to work pretty well.
In TYPO3 I have the option "how errors are handled" in the browser/frontend.
In the config file I would add following line:
and the value: 'what I need';
Where can I adjust this with ZPC?
What is security_ack?
What is it for?
Can't find any docu about that.
I have following entries in the error.log
[Fri Jan 19 20:10:12 2018] [error] [client myIP] PHP Warning:
filesize() [function.filesize]: open_basedir
restriction in effect. File(/tmp/phpE4uQRA) is not within the allowed path(s):
(/var/www/) in /var/www/www.example.com/zenphoto/zp-core/zp-
extensions/quota_manager.php on line 225, referer:
[Fri Jan 19 20:10:12 2018] [error] [client myIP] PHP Warning:
uploaded-file]: open_basedir restriction in effect. File(/tmp/phpE4uQRA)
is not within the allowed path(s): (/var/www/) in
extensions/uploader_http/uploader.php on line 97, referer:
[Fri Jan 19 20:10:12 2018] [error] [client myIP] PHP Warning: Cannot
modify header information - headers already sent by (output started at
extensions/uploader_http/uploader.php on line 120, referer:
Is it possible that you "re-program" ZPC in that way that ZPC does not ask for access outside the webroot.
Like eg. /var/www/www.example.com/zenphoto/tmp/
Would it be possible to create subforums for single themes and extensions?
In this case I would ask for http://www.zenphoto.org/news/new-theme-libratus-/
and that all topics regarding this theme would be available there.
It is currently time consuming to walk with forum search - in order to find articles and topics regarding single themes or extensions.
I have a custom front end to Zenphoto and am trying to figure out the best way to get browsers and CDNs to permanently cache Zenphoto images.
This is important for me because I use a CDN to distribute the images to countries around the world. Right now the CDN can't cache images for very long at all, and going back to my Zenphoto instance significantly slows down the perceived load times for end users in distant locations. Also, CDNs use HTTP/2, which pipelines all those itty bitty thumbnails through a single HTTP connection, which makes it significantly faster. Most shared hosting services such as the type Zenphoto installations often run on do NOT support HTTP/2.
My Zenphoto web server can't serve the sized Zenphoto images with a far future expires header right now because any image could change at any moment (that's why I use Zenphoto, thanks!)
A common pattern to solve this is to request images using a URL that changes when the actual image changes. For example:
My <img src> URLs currently look like this:
I want them to look like this:
... where SOME_TIMESTAMP is the timestamp of when the sized image or thumbnail was generated.
I don't see a way to get this through the API... am I missing something? I could go hunt for the file's last modified date on disk, but I'd much rather stay within the Zenphoto framework.
Is it possible to replace external resources - which are currently integrated with the forum - against internal solutions?
It's fantastic that you've replaced GoogleAnalytics with Piwik and that the project is hosted within the EU
and it would be also great if you could get rid of googleapsis.com
I wouldn't expect forum users to get nervous if the forum would be a bit slower then... It's super fast anyway.
I know what an album is.
But I don't understand the approach of an dynamic album.
When and where is it wise to prefer an dynamic album over an real album?
Howto set up the user and group rights of following scenario?
Goal is to have user(s) assigned to their "home album" and belonging sub-albums - but they are not allowed to modify the "head-album".
Their "home album" is already a sub or sub-sub album or even deeper of the "head-album".
And these users are allowed to do what ever they wish within their "home album" and sub-albums, but they are not allowed to play in the head album and other any other sub-album of this head album.
We have "family A" with dad + mum + kid1 + kid2
There is as "head-album" eg
as sub albums we have
On the server it would look like
both kids must be assigned to their "home albums" only - which is kid1 or kid2
There they must have all rights while they are not allowed to mess around in all other folders.
In the BE - group settings the admin will set image storage quota for them.
The parents must must have an own group where they have access and all rights inside the family home album and subalbums. eg. /albums/private_albums/family_album_A/*
For this group I also need to adjust the quota storage.
And the best would be, that I have general group settings for all families (A, B, C) so if we change the quota there, it has effect on all family parents or family kids.
Hopefully I was able to transport the message