GithubHelp home page GithubHelp logo

thibaud-rohmer / photoshow Goto Github PK

View Code? Open in Web Editor NEW
502.0 502.0 152.0 3.07 MB

A free web gallery in PHP with drag-n-drop support

Home Page: http://www.photoshow-gallery.com

PHP 92.50% Shell 0.18% CSS 2.54% JavaScript 4.42% Dockerfile 0.36%

photoshow's People

Contributors

anarky avatar astyonax avatar axil42 avatar cybershadow avatar cyosp avatar cyr-ius avatar d4nte avatar delas avatar evkoh avatar floot avatar gboudreau avatar inervo avatar jgluck avatar kiffes avatar kosli avatar kpavlov avatar kryskool avatar ludovicrousseau avatar mikesimonson avatar mischosch avatar saintger avatar sarxos avatar sdelafond avatar thibaud-rohmer avatar toony avatar ttk-kstn avatar ziirish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

photoshow's Issues

Settings: Generate all thumbnails and 800x600 images

Hey again,
So I tried your new feature. After some second page become white.

Also, I think it's maybe better to be able to generate by album or by picture. Because it's can take a while to just fix some pictures.

hf :)

Remove useless generated stuff

Not sure if an idea, a question or a remark.

Is there any kind of cleanup of the generated thumbnails and stuff and we remove/rename folders and pictures? Wouldn't it be nice to be able to trigger such a cleanup from the Admin panel ?

favico.ico

Just to say,

mv inc/favicon.ico inc/favico.ico

Fix the apache error
File does not exist: /var/www/PhotoShow/inc/favico.ico

Bon appétit chef.

Favorite pictures

Just a little idea : would there be a way to tag a few pictures a being the "favorites" in a folder and then to use these pictures when generating animated gif.
Typically, if my folder is "Week-end in Paris", I'd like the gif to show relevant pictures such as the Eiffel Tower and the Chateau de Versailles instead of irrelevant pictures such as me and my friends naked in a gay bar. I hope it makes sense.

Congratz for all the good work you did :-)

Expire setting lost

Hello,

The picture seen throw PhotoShow have lost my settings for cache
Example : Normally I had set in my Apache expires-module "Access plus 2 month" which work great when I'm using Gallery3 or other product but when viewing the same picture throw PhotoShow Expires is 19 Nov 1981 so no cache at all.
I can sen you url for example, if you want...

An you force gzip encoding too

Despite this, thank you for this great gallery

Simple mode...

Hello,

is it possible to add the possibility to activate (in the configuration file) a « simple mode » ?

In this mode, there would be :

  • no comments
  • no groups
  • no users
  • no possibility to upload files

I really love this soft, but I just want to upload manually the pictures in a directory, I don't need all these features :)

Problem with register fonction

Hi,
Thx for your app, really nice and clean :)

I've got some trouble to register an account. I mean I always get an error.

Error creating account.Account not found

Any advice ?

IE support

Hi,

I know it's ugly and bad and stuff. May I try to make it work on IE or will that crap never be merge to your tree (something I would completely understand btw). It's completely broken on IE even on IE 9.

Thanks for the good work

copy issue

Hi,

Photoshow is a disk only solution (no DB). I thought that it would then be super easy to manage.
I make all the change locally and then i can just copy everything on the server to have an up an running photoshow instance.
But unexpectedly it wasn't working.

In fact i did the opposite, i placed photoshow on a test server and then copied everything back to my local machine.
Although everything works fine on the test server, when i try to load the page from my local host, i get a kinda blank page.
No image is shown at all. When i hover the a rectangle supposed to contain an image. I can see that an another image is requested and loaded without any problem but nothing shows up on my screen.
I also tried to regenerate all the thumb but nothing changed.

Any idea ?

User right management

I did'nt find how to add some right to specific user.
I mean, I want to give to my friend the ability to upload some picture in a new album without give him root privileges.

So, did you plan to do something like that ?

Thx for your (I'm sure) quick answer :)

Thumbnails issues

First of all, great soft !

As seen lately together, there is an issue with the thumbnails.
A parent folder try to display every thumbnails in it, even the ones contains in a private folder.

The bug still appear after suppressing the cache folder.

Additionnal infos :
Browser : Chrome 15.0.874.121
OS : Windows 7

able to see private directories when logged out

Hello,
at the latest revision, I can now see directories on the main display (cool) but unfortunately, I am logged out and they are private albums (not cool)
interesting enough, the private directory doe snot appear on left pannel and the private photos thumbs are not displayed.
so it is just baout filetering the directories view I guess...

keybord navigation bug

Hi

The bug is doesn't appear on the demo website but is in the git repo and in today archive. Git problem might be different from the archive but the bug is tested on the archive.

When you are in a gallery and you try to use the keyboard to navigate between the photos, it works for the first one, then there is only the highlight on the thumb that's moving from photo to photo. The big photo isn't changing until you hit enter.
I don't think it's a browser issue because it works perfectly with your demo.

Thanks for the good work

No thumbs and message saying file is not inside the photos folder

I just installed Apache on to a Windows 2003 Server, and have the Photoshow stuff in my c:\www folder.

My other folders are :-

photos_dir = "c:/photoshowwebsite/photos"
ps_generated = "c:/photoshowwebsite/generated"

I've copied 2 subfolders of photos in to the photos folder.

I've tried generating the images, a number of times, but every time, I have blank thumbnails, and when I click on one, I get a 'This file is not inside the photos folder'.

I've tried c:\photoshowwebsite\photos, and c:/photoshowwebsite/photos, and /photoshowwebsite/photos. What is the syntax meant to be?

Thanks
Rob

Handle Empty Galleries in the left hand-side menu

Currently when a Gallery is empty, no thumbnail is displayed on the main page (which is good). But a link on the menu remains.

This link should probably appear only for administration purposes, not for view-only users.

Remove Facebook

Hi,

This seems a nice gallery so far. Very simple, very functional, but still good-looking.

But can it be possible to remove the Facebook "Like" button? Or at least make it configurable.

Thanks

error in apache log

Here is what I have in my apache error log file :
PHP Notice: Use of undefined constant error_reporting - assumed 'error_reporting' in /usr/local/www/PhotoShow/index.php on line 36

one line by thumbnail created in an album and when all thumbnails are created only one line every time I browse this album

This file is not inside the photos folder !

When indeed the file is not available anymore no control is available on the screen to do "next/prev"

Moreover it would be awesome if we could do this control with the keyboard (right/left arrow).

'&' and '+' in directory names are not properly encoded

When a directory contains an ampersand '&' or a plus '+' in its name, then they are not URL-encoded when doing the requests for the directory thumbnails (the little images shown inside the directory button), so the affected buttons are empty.

Note: when browsing the content of such a directory, images are properly displayed; only the directory button is empty, which could lead visitor to think the directory is indeed empty, which is wrong.

remote api ?

Hello Thibaud,
I just had a quick look at your sample gallery (and I found it pretty cool; I like the idea of filesystem only), and I was wondering, as the creator of Regalandroid ( https://github.com/anthonydahanne/ReGalAndroid android client for piwigo/g2/g3) if PhotoShow implemented a remote api , so that third party clients would access the gallery.
So far, here are some examples of remote gallery apis :

Account already existing

When trying to create an account that already exist this message appear : "Error creating account.Wrong password".
The account is not created.

Solution :

  • Adding a new button to check if the username already exist.
  • when the textbox "login" loose the focus automatically test if it already exist.
  • Block the submit button if the account exist.

OS : All
Browser : All
Reproductibility : yes

Create Settings page

Aim : creating a Settings page where the admin can choose the name of the website, what buttons to display.

Creating user from the admin screen

It would be nice if it was possible to create a user from the admin screen.
Also, it would be nice if it was possible to create a user ONLY from the admin screen.

Encoding

There was an encoding problem in the left menu, I saw you already corrected this. But there is an other one when we watch a photo : the name of the photo is sometimes wrong (accented characters like « É » disappear).

Display more metadata

At least, description should be displayed under the picture in the individual picture page.

Other fields may be useful, but I'm shy of asking for them as I see that your project has an obvious focus on simplicity. But still, keywords extracted from the metadata would be nice too, for the sake of searchability.

Of course, you could extract many metadata fields and let the user configure what he wants displayed... But maybe that is not the spirit of what you are making, so I won't insist on that !

download button #ideas

Hi,

Would it be possible to add the download button in the permission.
Aka a group with the ability to download the zip or not.

Maybe first only a toggle in the preference to hide the download button.

Thanks

Thumbnail scaling is strange in a gallery with 6 images

Steps to reproduce: create a gallery with 6 images
Bug (IMHO): the last image is scaled to 90% width, isn't it nicer to scale it to equal size as the rest of the images? Now you get a very wide thumbnail at the bottom :)

slideshow

Hello,
do you plan on providing a slideshow (full screen or you know, bi genough ;-) ) to PhotoShow ?
thanks

Generating all thumbnails (from the Settings page) fails for large albums.

Given a collection with thousabds of pictures, generating the thumbnails using the Settings page fails when the PHP max_execution_time is reached, or when the browser and/or the proxy closes the connection because nothing passes through.

This is even visible on a fast machine with thousands of pictures being shared.

Button to create thumbnails of every pictures of every sub-albums

My computer is slow and it's a pain in the ass for visitors because it takes time to create the thumbnails when first visiting. I've been using zenphoto and I plan to switch to PhotoShow (if I'm not already converted).

Zenphoto has a feature that is apparently lacking in PhotoShow. It's the possibility to create all the thumbnails from a particular album. If this album is a leaf then only thumbnails of this album are created. If the album is actually a branch, then every thumbnails of every sub-albums are created.

At this time, a workaround is to visit every album but it's convenient to copy several new albums and then only press a button to generate all the necessary thumbnails.

I hope I'm clear in my wish.

Themes?

I have not looked at the code, but is there a chance for themes?

Thanks!

Please add HTML5 video support

Hi,

Your gallery looks very interesting, I especially like the minimalist look and easiness of setup. It reminds me a bit of the not-maintained-anymore Picoplog.

So I would like to ask for a possible new feature. Wouldn't it be nice to add HTML5 video support ? Uploaded videos could be seamlessly displayed among photos. It may require the user to upload them in WebM or H.264, but I guess it could be very useful to show some small clips such as the ones you can record with a compact camera or cellphone.

Tanks again for this nice gallery :)

No directory thumbnail shown for a directory with mixed-rights on sub-dirs

Given the following directory structure :
Misc/ (public)
Misc/Familly (restricted to group "familly")
Misc/Friends (restricted to group "friends")

When not logged at all :

  • the "Misc" directory is shown (expected and correct, as it is public)
  • no thumbnail is shown (expected and correct, as no public picture exist in any sub-dir)
    --> what I'd suggest : display a generic thumbnail ( eg. a big red cross ;-) )

When logged as a user of the "familly" group :

  • the "Misc" directory displays a picture from the "Misc/Familly" sub-dir (expected, correct)
  • hovering over the directory, only thumbnails from the "Misc/Familly" sub-dir are shown (expected and correct)
  • however, the number of thumbnails displayed is wrong

When logged as a user of the "friends" group :

  • the "Misc" directory shows no initial thumbnail.
  • hovering over the directory, only thumbnails from the "Misc/Friends" sub-dir are eventually shown (expected and correct)
  • however, the number of thumbnails displayed is wrong

For these two last situations, it appears the list of available images is not trimmed before deciding which thumbnail to display, but when a protected thumbnail is requested, it is simply not shown.

( Yes, I have weird use-cases!!! ;-) Feel free to ignore them if it too complex to solve.)

Settings, Title

I change my Title in the new Settings page.

I put my new title with a coma ( ' ) ex: Tr4sK's Photo.

It's appear on the new title but when I come back to the settings page the field forget to put the text after the coma.

Thx for you're time :)

PS: Really good job, I like it :)

renaming folder

Hello,

It would be great if renaming of a folder also could also rename the associated cache folder.
it would avoid to regenerate all the thumbnails associated with the album.

Thank you for your project, it is really great.

Sebastien.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.