jeroenrnl / zoph Goto Github PK
View Code? Open in Web Editor NEWZoph Organizes PHotos
Zoph Organizes PHotos
Setting colums 6 and rows 2 in user preferences produces 6 rows and 2 columns
Setting it on the page produces 6 columns and 2 rows
The Geonames project, which is used for a few geolocation services in Zoph has changed it's URL and now requires authentication.
When directing zoph to use an album, it says "Person not found: $album_name"
If no album specified, then just "Person not found:"
$ zoph --album "Armidale" --photographer "Liz xxxx" --location "northern tablelands" *.JPG
PHP Notice: Constant INI_FILE already defined in /var/www/zoph/config.inc.php on line 33
Person not found: Armidale
$ zoph --photographer "Liz xxxx" --location "northern tablelands" *.JPG
PHP Notice: Constant INI_FILE already defined in /var/www/zoph/config.inc.php on line 33
PHP Notice: Undefined variable: name in /var/www/zoph/cli/arguments.inc.php on line 432
PHP Notice: Undefined variable: name in /var/www/zoph/cli/arguments.inc.php on line 437
Person not found:
Zoph should use templates to build the HTML and HTML should be completely removed from the classes and controllers.
Sourceforge Req#756293, started by @Mac-O-War
It should be possible to order prints from Zoph.
Currently Zoph's configuration is changed by editing a php file, this is not userfriendly enough for non-technical users. It should be possible to edit the configuration from the webinteface.
zoph.sql uses "TYPE=MyISAM" which is deprecated in favour of "ENGINE=MyISAM", this makes Zoph incompatible with MySQL > 5.4.4.
Reported by Miyo
Make it possible to store Zoph's photos in another location then local filesystem, such as Picasa, Flickr, Cloudfiles.
Sourceforge Req#847605 created by Randy Orrison
Similar to #14, this is a stack of several versions of the same photo, for example, the original and several edits.
This is Sourceforge Req#1628242 by Dustin Ratliffe.
This is Sourceforge Req#1628186 by Dustin Ratliffe.
The basic idea is, that you "stack" several photos of the same subject on top of eachother, showing only the best in overviews.
@ToniN created a patch to add favicon support:
diff -Naur php/config.inc.php new/config.inc.php
--- php/config.inc.php 2008-06-03 12:49:04.000000000 +0200
+++ new/config.inc.php 2008-06-07 14:44:25.103575495 +0200
@@ -28,6 +28,9 @@
define('CSS_SHEET', 'css.php');
define('ICONSET', 'default');
+ // Favorite's icon
+ define('FAVICON', 'photos.ico');
+
define('USE_IMAGE_SERVICE', 1);
define('IMAGE_DIR', "/data/images/");
// Only needed when imaga service is off:
diff -Naur php/header.inc.php new/header.inc.php
--- php/header.inc.php 2008-05-26 15:17:48.000000000 +0200
+++ new/header.inc.php 2008-06-07 14:42:11.365613078 +0200
@@ -21,6 +21,11 @@
?>
<link type="text/css" rel="stylesheet" href="<?php echo CSS_SHEET ?>">
<?php
+ if(FAVICON) {
+?>
+<link rel="shortcut icon" type="image/x-icon" href="<?php echo FAVICON ?>">
+<?php
+ }
if(JAVASCRIPT) {
?>
<script type="text/javascript" src="js/util.js"></script>
In v0.9, geotagging is not working anymore
Zoph is not yet compatible with PHP 5.4.
Reported by Miyo and @lizdodd
Github can display textfiles such as README in a nicely formatted way, while the raw file is still readable with a textviewer or editor. Zoph's documentation should be updated to use Markdown syntax.
Could not copy %s to %s.= Impossible de copier %s vers %s.
I have enabled access to the following albums for you:= Je vous ai donné accès aux albums suivants
Reported by @ToniN
The web importer fails to import the contents of the box marked "description".
Zoph uses the javascript Mapstraction library, which should be upgraded to the latest version
Web import now fails with a missing database field
Message: Created directory: /data/images/2012/07/08/
Message: Created directory: /data/images/2012/07/08/mid/
Message: Created directory: /data/images/2012/07/08/thumb/
Insert failed:
Unknown column 'rating' in 'field list'
INSERT INTO zoph_photos(date, time, camera_make, camera_model, flash_used, focal_length, exposure, aperture, metering_mode, iso_equiv, compression, location_id, rating, photographer_id, description, path, name) VALUES ('2012-07-08', '18:54:21', 'Panasonic', 'Dmc-ls80', 'No', '5.5mm', '0.025 s (1/40) [program (auto)]', 'f/2.8', 'matrix', '1250', 'jpeg quality: fine', '263', '0', '3', 'Pogoplug', '2012/07/08', 'P1090853.JPG')
The map on the photo.php allows me to select a place with the mouse, but the map on place.php?_action=new&parent_place_id=x doesn't allow me to select a location with the mouse.
the command line and the error message
liz@banksia:$ zoph -a "home" --photographer "liz billiau" -l "rossetto road" /data/images/uploads/_.JPG$ zoph --album "home" --photographer "liz billiau" -l "rossetto road" /data/images/uploads/_.JPG
PHP Notice: Constant INI_FILE already defined in /var/www/zoph/config.inc.php on line 33
Person not found: home
liz@banksia:
PHP Notice: Constant INI_FILE already defined in /var/www/zoph/config.inc.php on line 33
Person not found: home
I'd like to be able to suppress some persons on the persons list, because I have no images of them at all, but they are on the database because they are a spouse or parent.
I haven't thought this through, because there would also need to be some place where this flag could be reset if needed.
This is an extended version of Sourceforge Req#1986857 by @cbrunet
The idea is to be able to add an album, category, place or person without leaving the edit photo page.
Sourceforge Req#2212380 By @myselfhimself
Hi,
I'd propose the possibility of adding rectangles on any photo & having them linked to any person's page from the database. In the zoph interface this would be mean having some image map editor, that would be inserted for instance on the photo editing page.
The database would store for each photo : if it has an image map, where the rectangles' corners points are, as well as for each rectangle the id of a person from the people table.
On the viewing/user side, clicking on some photo's image map rectangle would raise a popup containing the page of the person in the rectangle our would open that person's page in place of the current page...
Given that Zoph is under GPL, it would be nice to have some almost ready image map editor application in the same or a close license.
And that is the case ; Adam Maschek and other people have developped such an editor at http://www.maschek.hu/imagemap under GPL.
I would propose that the image map editor be integrated into the photo.php page and an field be added in the mysql db's people table (I have not explored the db yet but I expect therei's such a table).
The field that would be added in the DB could contain : values of rectangle's corner with corresponding person id.
I'm volunteering for making that as well you (submitting patches for the beginning).
Jonathan
I'd like to suggest subgroupings of persons
which I might make
Family
Friends
Work Colleagues
because as the number of persons expands, the list becomes difficult to manage.
Hello,
I upgraded to zoph 0.9.0.1 and would now import photos using the new cli-importer with this command:
zoph --verbose --path "2011/2011-Dez-Heiligabend/" --photographer "Ulrich Wiederhold" --location "Brühl" --category "Familie,Weihnachten" --album "Heiligabend 2011" /Volumes/daten/Bilder_Fotos_fertig_für_zoph_11092013/2011-Dez-Heiligabend_Teil_2_zum_Ergänzen/2011-Dez-Heiligabend-*
Getting this error:
PHP Notice: Constant INI_FILE already defined in /Users/fzzgrr/Sites/zoph/php/config.inc.php on line 24
PHP Notice: Undefined offset: 0 in /Users/fzzgrr/Sites/zoph/php/user.inc.php on line 302
Fatal Error: tuff is not a valid user
I am logged in as user "tuff". Do I need to specify the user to use with zoph-command separately? The login via browser works fine. For mysql I use zoph_rw, this works fine.
Any Ideas?
Many thanks
Uli
Sourceforge Req#2890269 by Peter Farr
When albums are arranged in a hierarchy it would be nice to be able to grant access to all sub-albums when granting access to a higher level album. For example, in the following structure:
Album1
Album1A
Album1Aa
Album1B
Album2
I would like to grant access to Album1, Album1a and Album1b in one shot. I can think of two ways to accomplish this:
At the same time there should be the ability to override this behaviour for specific albums. In the example above, I could override access to Album1Aa if I wanted to.
Zoph 0.9 PHP 5.4
Rotate photo does nothing other than reload the page.
No error message noted
zoph_update-0.10.sql fails on Mysql Server version: 5.5.28-1 (Debian)
"you have an error in your sql syntax"
I haven't identified the error
migrate_config.php entered no values for variables in zoph_conf, only entering the variable names
details at http://pastebin.com/xf7ZQXvD
As of MySQL 5.6.8, the default MySQL mode includes STRICT_TRANS_TABLES. This makes MySQL a lot pickier. Several warnings are now errors. This causes some queries that in the past only generated a warning to fail. This includes for example trying to insert 'Yes' in a boolean field. Zoph suffers from some of these queries and this should be investigated and fixed.
Issue #42 is an example of a support request suffering from this problem.
Zoph is still using the "old" mysql_* functions to access the database. This should change to PDO. This will also make it possible to use other databases instead of MySQL.
Zoph uses the PEAR MIME mail classes which have not been updated in a long time.
Sourceforge Req#3044563 by umbilo.
The current Main page doesn't have much useful info. It should contain links to recent additions, changes and most popular albums, categories and photos.
Based on Sourceforge Req#1574987
It would be appreciated if further fields could be filled from the Web Import page
eg the remaining fields from http://en.wikibooks.org/wiki/Zoph/Importing_photos/Using_the_CLI/zoph_CLI_client#--fields and the option 'mapzoom'
This is mostly Sourceforge Req#1989144 by @cbrunet.
The idea is to step away from seperate display and edit pages and be able to do in place editing from the display page.
Sourceforge Req#2871198 by Stephane Lucas (daytonacoupe)
If I try to edit photos in bulk
eg http://billiau.net/zoph/edit_photos.php?album_id=267
I get blank under 'edit photos 1 to 24 of 35'
I would like to able to actually remove files from the hard drive instead of just marking them 'deleted'. This could be a setting in config which is by default off or simply moving files to a specified 'Trash' folder where I can remove them with a cron job would be nice. Zoph is a photo management system and not a simple web gallery. My photo collection is filled by means of automatic uploads from different devices and from different family members it is naturally full of useless or duplicate photos. I want to be able to sort it out without the photo folder size on my hard drive ballooning out of control.
Yours is the perfect piece of software that lets me manage, tag and make photos searchable with a good acl policy, the only alternative I have found so far could be 'My photo gallery' which is nowhere near the functionality and design offered by zoph.
Currently, Zoph cannot be automatically tested, making changes riskfull and bugprone.
Sourceforge Req#2889956 by Peter Farr
Zoph currently has 3 sizes full (original), mid (480px wide) and thumb (120px wide), it should be possible to make more different sizes.
Because I uploaded September's photos through the web interface,
$ ls -la /data/images/2013/09/
[snip]
drwxr-xr-x 16 www-data www-data 4096 Sep 24 13:52 .
drwxrwxrwx 13 liz liz 4096 Nov 24 09:19 ..
drwxr-xr-x 4 www-data www-data 4096 Sep 15 10:43 04
[/snip]
so when I try to upload with the cli I get this error
Could not create directory: /data/images/2013/09/30/
PHP Fatal error: Uncaught exception 'FileDirCreationFailedException' with message 'Could not create directory: /data/images/2013/09/30/
' in /var/www/zoph/util.inc.php:771
Stack trace:
#0 /var/www/zoph/util.inc.php(784): create_dir('/data/images/20...')
#1 /var/www/zoph/photo.inc.php(397): create_dir_recursive('/data/images/20...')
#2 /var/www/zoph/import.inc.php(112): photo->import(Object(file))
#3 /var/www/zoph/cli/cli.inc.php(230): Import::photos(Array, Array)
#4 /var/www/zoph/cli/cli.inc.php(75): cli->doImport()
#5 /usr/bin/zoph(95): cli->run()
#6 /usr/bin/zoph(62): init()
#7 {main}
thrown in /var/www/zoph/util.inc.php on line 771
testing on the shell
$ mkdir /data/images/2013/09/30
mkdir: cannot create directory `/data/images/2013/09/30': Permission denied
I'm thinking we need a more robust ownership and permissions structure so that these methods can be used interchangeably and without me using chmod 777.
APC is deprecated as of PHP 5.4. Zoph uses APC to track upload status. As of PHP 5.4 there is session.upload_progress to replace it.
At this moment only administrators can delete pictures. Normal users (that have the right access rights) can import pics but not delete them.
All undefined variable-warnings should have been removed in v0.9, but there are a few that have been overlooked. This issue will track them.
The timestamp(n)
type no longer works as of MySQL 5.5, but it is still used in zoph.sql, it should be replaced with timestamp
.
Reported by Miyo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.