I had though about a pluggable database file... so you could drop the file in the directory if you want, and enable directory storage of captions and such for all the images. Or possibly doing this with a storage text file.
Any ideas (realistic ideas, as I do have a full time job, this is just for fun, and to get better at php/javascript and web junk in general) ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One idea is to add a slideshow (so images can change automatically). And another one is providing some info about how the program works and how to extend it (I dod not find it anywhere).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The slideshow can be added for images in the current folder easily enough, and I think I will add that in the near future.
As for documentation, I had started writing up documentation, but quit on it, as I figured I would finish development first. I'll get to work on the documentation so you can create your own viewing modes, and just see how it's implemented.
Thanks for the ideas!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the source code, you can find an example of how to add a new display mode. Look at "src/displays.php" and you'll see commented code that adds a new class "Scroll Display".
You will also see the file "src/Scroll_Display.php". This is the example file which shows you the class that needs to be created. This file might be slightly out of date with the interface, so look at "src/Display.php" to verify the interface matches the class.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have any ideas for cool added stuff?
I had though about a pluggable database file... so you could drop the file in the directory if you want, and enable directory storage of captions and such for all the images. Or possibly doing this with a storage text file.
Any ideas (realistic ideas, as I do have a full time job, this is just for fun, and to get better at php/javascript and web junk in general) ?
Your project is perfection.
Make the controls in a sperate "frame" so you can change images while viewing larger than screen resolution images. Along with that possibly hot keys.
Also, this is the first php image view app that worked on first attempt. Thank you for this nice piece of software.
One idea is to add a slideshow (so images can change automatically). And another one is providing some info about how the program works and how to extend it (I dod not find it anywhere).
The slideshow can be added for images in the current folder easily enough, and I think I will add that in the near future.
As for documentation, I had started writing up documentation, but quit on it, as I figured I would finish development first. I'll get to work on the documentation so you can create your own viewing modes, and just see how it's implemented.
Thanks for the ideas!
In the source code, you can find an example of how to add a new display mode. Look at "src/displays.php" and you'll see commented code that adds a new class "Scroll Display".
You will also see the file "src/Scroll_Display.php". This is the example file which shows you the class that needs to be created. This file might be slightly out of date with the interface, so look at "src/Display.php" to verify the interface matches the class.