Commit graph

80 commits

Author SHA1 Message Date
02479196c6 Handle absolute paths for images and data dirs
Bizou now handles correctly data and images directories. One can now
configure

* `MEDIA_BASE_DIR`: base directory for `images` and `data` and
* `{IMAGES,DATA}_URL`: the base url that should be used to point to a
  file in `IMAGES_DIR` (resp. `DATA_DIR`).

Assuming the web server itself can correctly serve those files at the
given URL and Bizou has the correct permissions for those locations,
Bizou should be able to work as well as using relative paths.
2017-11-28 18:59:23 +01:00
Marc MAURICE
61e81e087e honor jpeg orientation
fixed bad thumb generation in case of wrong permission
added jpeg quality config
2015-04-03 20:28:14 +02:00
Marc MAURICE
aac71576e1 Handle jpeg orientation in viewer 2015-04-03 19:50:52 +02:00
Colin Vidal
f71582d5eb Use ini_get('upload_tmp_dir') for zip plugin 2013-11-17 15:16:46 +01:00
Marc MAURICE
e21e212903 forbidroot plugin disabled by default 2013-11-11 12:16:59 +01:00
Marc MAURICE
4011c2a635 New forbidroot plugin to forbid rootdir listing 2013-11-11 12:15:55 +01:00
Marc MAURICE
093fc25ad0 A square unicode char for no image folders 2013-11-11 11:56:16 +01:00
Marc MAURICE
11d5fbce03 Cleaned parentfolder in template 2013-11-11 10:52:35 +01:00
Marc MAURICE
884ff7f414 Replaced deprecaded Expires headers by Cache-Control 2013-11-11 10:41:32 +01:00
Felix Friedrich
87057fc33d A zip plugin 2013-09-28 12:21:23 +02:00
Baptiste CLÉMENT
90f5657437 Removed hidden size element, fix for folder previews 2013-08-19 21:28:53 +02:00
Marc MAURICE
1a6d3e0609 few changes in template. balanced plugin support 2013-08-19 21:27:31 +02:00
Marc MAURICE
4f4b0a2dd9 New sort plugin, including some optional sort modifications 2013-08-18 12:17:47 +02:00
Marc MAURICE
3c7aac6588 New plugin to show filenames 2013-08-17 22:17:39 +02:00
Marc MAURICE
6556d8da10 minor: Changed Tar plugin download label 2013-08-17 22:15:47 +02:00
Marc MAURICE
4a74e0085e Tar plugin disabled by default 2013-08-17 22:09:18 +02:00
Marc MAURICE
6b66fbdda7 Use short tags for php echo 2013-08-17 21:01:29 +02:00
Marc MAURICE
4e42aa333d Plugin to render thumbs as squares 2013-08-17 19:17:32 +02:00
Marc MAURICE
26887007f8 An error message for permissions problems 2013-08-17 19:14:48 +02:00
Marc MAURICE
c4491b6746 Added a _disabled dir for plugins. balanced disabled by default 2013-08-17 18:36:53 +02:00
Marc MAURICE
983aec6f25 Titi's css style 2013-08-17 18:35:18 +02:00
Baptiste CLÉMENT
50a41f61ad New plugin for balanced height thumbnails 2013-08-17 16:27:34 +02:00
Marc MAURICE
1ff8c2ce1e A new hook to include head parts. A new hook to overload thumb function 2013-08-17 16:23:34 +02:00
dooble M
e5061f2316 Hide dot-hidden files 2012-08-19 15:06:33 +02:00
dooble M
f4524fe07b added the DATA_UMASK config option 2012-08-19 10:22:37 +02:00
dooble M
fa074d0126 HTML5 markup. fixes IE display bugs 2012-03-11 14:00:47 +01:00
Marc MAURICE
b497c8ebca functions put in a separate file, so that they can be used by plugins
put the getPathInfo code in a function
2011-07-27 22:59:36 +02:00
Marc MAURICE
d94ee6e571 No more progress page: page is displayed directly with flushes
Album preview look recursively for pics in folders, and keep previews in cache
Symlinks are created when the image is already good sized
2011-07-24 19:11:19 +02:00
Marc MAURICE
df6d932f35 tar plugin now supports utf8 (got rid of escapeshellarg function)
extra check to see if tar will work
2011-06-14 23:36:04 +02:00
Marc MAURICE
7d72e379b1 Bizou now displays a progress page when generating thumbs 2011-06-13 22:46:52 +02:00
Marc MAURICE
205e052655 Added GPL license on top of tar.php 2011-06-13 22:45:25 +02:00
Marc MAURICE
ce885a485d Added variables to enable/disable tar recursion and content-length header 2011-06-13 21:04:29 +02:00
Marc MAURICE
89aad43dde Some cleanup in tar.php 2011-06-13 16:01:12 +02:00
Marc MAURICE
d213139338 Fixed a bug: next image was not properly loaded for images at the images/ root
(because of a double slash in URL)
2011-06-13 15:56:41 +02:00
Marc MAURICE
b5f42b9009 Put viewer template in a separate file 2011-06-13 15:55:10 +02:00
Marc MAURICE
7be4394f07 Added the tar plugin 2011-06-03 18:40:20 +02:00
Marc MAURICE
50a05ad6cf Exported template in an external file 2011-06-03 18:38:53 +02:00
Marc MAURICE
dcc5699b07 added a commented line to change the umask of created files 2011-04-28 17:44:02 +02:00
Marc MAURICE
451e14b16e Fixed a bug when bizou was operating at the top root of a site
Thanks to pilau who detected it
2011-01-27 01:13:05 +01:00
Marc MAURICE
276926efe8 Added page titles in viewer 2011-01-06 19:21:42 +01:00
Marc MAURICE
23116dfc57 Added directory page title, and some small credit in the footer 2011-01-06 19:18:04 +01:00
Marc MAURICE
2036c6117c Did some css improvements : parent folder link and non album directories 2011-01-05 00:27:32 +01:00
Marc MAURICE
466145f389 Moved all javascript to the bottom (good practice) 2011-01-04 21:40:44 +01:00
Marc MAURICE
3fa867812f Added keyboard navigation in image viewer (javascript) 2011-01-04 21:16:27 +01:00
Marc MAURICE
573eb02a9a Added a test to support unexistent plugin dir 2010-12-30 19:50:36 +01:00
Marc MAURICE
7592ce6b1d added empty dirs as they are needed for bizou 2010-12-30 19:16:44 +01:00
Marc MAURICE
ad9d78f8d7 Did some vars renaming to clarify 2010-12-30 19:10:44 +01:00
Marc MAURICE
2dda0f27a6 Renammed scriptUrlPath to scriptUrl and added rootUrl 2010-12-30 18:35:44 +01:00
Marc MAURICE
89c678e18d Renamed shortPath to simplePath 2010-12-30 17:49:51 +01:00
Marc MAURICE
e7ed1d501b Renamed getThumbTarget to getImageLink 2010-12-30 17:46:02 +01:00