>
pictools
>
doc
>
pictools
>
doc
No Menu
Clear the left column; be bookmarkable
Topical
Sort menu in topical order
Alpha
Sort menu in alphabetic order
Concepts
Pictools Concepts
Overview
What is Pictools
Key Concepts
Three keys to understanding pictools
Properties Overview
Overview of how properties are defined and accessed
Captions Files
Overview of captions file, their definition and use
PhyspicsMain
Template for all PhysPics pages
Building
Building Sites and Pages
Tools
Tools used in conjunction with Pictools
1. Setup
Installing Pictools and setting initial properties
2. Make Pages
Creating a page, a sub-tree
3. Show Pix
Managing pictures and showing them
Pictools.properties
Descriptions of all defined properties
Makefiles
The contents of Makefiles in client directories
Directories
Directory structure on devlopment site and server
.login
Initialize tty's (aka, command consoles or terminals)
Styles
Styles: Where are they set? How do they override
Pick A Color
Color chooser web page
gencaps
Create a .cap file for the files in a directory
Manifest/Index
List of initial installed files; index
Page Pieces
Physpics Page Pieces
GeneralStyles.css
Styles used throughout PhysPics pages
beginpage.php
Included near the beginning of PhyspicsMain
scripts.js
Defines JavaScript for visual effects on the search button and dirbar
localdefs.php
If present, is php-included for each page in the directory
styles.css
If present, is linked-to for each page in the directory and sub-directories
favicon.ico
Site logo displayed by browser with your URL
dirbar.php
The logo and backlinks row for Physpics pages; a suitable value for toprow or bottomrow properties
titleandlogo.php
Generates the row on a Physpics pages that has the page title and the logo for that page group
pictoolStyles.css
Defines styles used in displaying pictures; supplements /GeneralStyles.css
adcolumn.php
Empty contents for right column of
PhyspicsMain
; could show ads
blankleftcolumn.php
Blank left hand column for
PhyspicsMain
; often replaced by a directory index
box404.php
Red error warning box that appears atop an index.php page when that page is substituted for an incorrect URL
searchbox.php
The searchbox shown in the upper left in dirbar.php
copyright.php
Copyright line for most Pictools pages
Making Logos
Logos and haloes: making irregular images with ImageMagick
Pix Page Pcs
Pix Page Pieces
frame.php
Picture frame for showing an indivdual picture
framekeys.js
Javascript code that handles keystrokes for picture
frame
frametitle.php
Title bar for picture
frame
page
thumbs.php
Page invoked to display a thumb nails index page
thumbsparms.php
Transfer data for
thumbs
index page from genhtml to properties
thumbstitle.php
Titlebar for a
thumbs
index; provides buttons for next/prevous and slideshow
pictd.html
Wrapper for each thumbnail on a
thumbs
page
slidescontrol.php
Implements the control panel popped up by
SlideShow.php
slideshowdefs.js
Javascript code implementing slide shows
picCopyright.php
Copyright line for
thumbs
index and picture
frame
pages
How It Works
How Things Work
htaccess
Server options: error handling, request redirection, more
Show Pictures
How a picture gets to the user's screen
Show Slides
How slideshows work - starting with how the button gets there
SiteProps.php
Php access to properties for Pictools client pages
forPhyspics.php
Scripts for
dirbar
directory scan and inserting rows and columns in
PhyspicsMain
pkscripts.php
Code for finding and parsing captions file (invoked by
servepicture.php
,
slideshow
, and
urlHandler
)
mimetype.php
Support for sending files with less common extensions; mimetype, downloadability, gzipping
debuglog.php
Debugging tool for JavaScript; displays messages from dbgnsg()
debugMore.js
Library of tools to send properties or tagtrees to debuglog.php
badlinks.xlsx
List of erroneous incoming URLs and their disposition
Driver Pages
Driver Pages
servepicture.php
Invoked to display a picture designated in a captions file; instantiates a frame.php to display the picture
SlideShow.php
Page viewed for all slideshows
command.php
Administrator interface; mostly for reviewing 404 errors
displayCode.html
Used to display Java, xml, or css code, with syntax highlighting
download.php
Used to download a page that would otherwise be viewed instead of downloaded
redirect.php
Process the permanent redirection of an incoming URL
error.php
Response for obscure errors
tarpit.php
Handles url requests for known vulnerabilities; not gentle
for Make
MakeFile Internals
MakeTargets
Include file for Makefiles; implements targets 'build' and 'upload'
MakeVars
Include file for Makefiles; defines necessary variables
MakeServerPix
Ensure that pictures are scaled and uploaded; called from MakeTargets
propcon
Converts Pictools.properties for inheritance and access by other languages
gendirs.csh
Create a set of subdirectories, one for each segment in the .cap file
genhtml
Macro-expander; used by gendirs
For Shell Scripts
Shell Script Tools
fakescp
Uses ftp to emulate scp
picmkdir
Make a directory on a remote host
tocyg
Convert file or path values to cygwin form
towin
Convert cygwin commands to MSWindows form
lowerdriveletter
Ensure that the drive letter is lowercase in a path beginning /cygdrive/
debug.csh
Writes a string to the log file
hex2rgb
Convert a hex color to rgb() syntax
C Libraries
C libraries for Programs
path.h
Library method to variable-expand and canonicalize a path sring
src.h
String and input file tools
strtbl.h
Sorted map from string to object
Pix Mgmt
Manage a Collection of Pictures
cdentries.sh
Generate entries for a file giving the contents of CDs created from a set of directories
filepix.csh
Move .jpg files to subdirectories based on month and day
genmontage.csh
Create in a single image a montage of some images
getdates.sh
Generate a file listing .JPG files and their EXIF dates
maybes.csh
Copy selected pictures from the current directory to another directory
redub.csh
Rename files by string replacement
Other
Miscellaneous
urlHandler.php
Handles requests for missing pages; strategies include the
badlinks
map and servepicture
urlmap.sq3
Database for remapping URLs in urlHandler
ToDo
Some changes that should/could be made
1. Setup
Installing Pictools and setting initial properties
2. Make Pages
Creating a page, a sub-tree
3. Show Pix
Managing pictures and showing them
adcolumn.php
Empty contents for right column of
PhyspicsMain
; could show ads
badlinks.xlsx
List of erroneous incoming URLs and their disposition
beginpage.php
Included near the beginning of PhyspicsMain
blankleftcolumn.php
Blank left hand column for
PhyspicsMain
; often replaced by a directory index
box404.php
Red error warning box that appears atop an index.php page when that page is substituted for an incorrect URL
Captions Files
Overview of captions file, their definition and use
cdentries.sh
Generate entries for a file giving the contents of CDs created from a set of directories
command.php
Administrator interface; mostly for reviewing 404 errors
copyright.php
Copyright line for most Pictools pages
debug.csh
Writes a string to the log file
debuglog.php
Debugging tool for JavaScript; displays messages from dbgnsg()
debugMore.js
Library of tools to send properties or tagtrees to debuglog.php
dirbar.php
The logo and backlinks row for Physpics pages; a suitable value for toprow or bottomrow properties
Directories
Directory structure on devlopment site and server
displayCode.html
Used to display Java, xml, or css code, with syntax highlighting
download.php
Used to download a page that would otherwise be viewed instead of downloaded
error.php
Response for obscure errors
fakescp
Uses ftp to emulate scp
favicon.ico
Site logo displayed by browser with your URL
filepix.csh
Move .jpg files to subdirectories based on month and day
forPhyspics.php
Scripts for
dirbar
directory scan and inserting rows and columns in
PhyspicsMain
frame.php
Picture frame for showing an indivdual picture
framekeys.js
Javascript code that handles keystrokes for picture
frame
frametitle.php
Title bar for picture
frame
page
gencaps
Create a .cap file for the files in a directory
gendirs.csh
Create a set of subdirectories, one for each segment in the .cap file
GeneralStyles.css
Styles used throughout PhysPics pages
genhtml
Macro-expander; used by gendirs
genmontage.csh
Create in a single image a montage of some images
getdates.sh
Generate a file listing .JPG files and their EXIF dates
hex2rgb
Convert a hex color to rgb() syntax
htaccess
Server options: error handling, request redirection, more
Key Concepts
Three keys to understanding pictools
localdefs.php
If present, is php-included for each page in the directory
.login
Initialize tty's (aka, command consoles or terminals)
lowerdriveletter
Ensure that the drive letter is lowercase in a path beginning /cygdrive/
Makefiles
The contents of Makefiles in client directories
MakeServerPix
Ensure that pictures are scaled and uploaded; called from MakeTargets
MakeTargets
Include file for Makefiles; implements targets 'build' and 'upload'
MakeVars
Include file for Makefiles; defines necessary variables
Making Logos
Logos and haloes: making irregular images with ImageMagick
Manifest/Index
List of initial installed files; index
maybes.csh
Copy selected pictures from the current directory to another directory
mimetype.php
Support for sending files with less common extensions; mimetype, downloadability, gzipping
Overview
What is Pictools
path.h
Library method to variable-expand and canonicalize a path sring
PhyspicsMain
Template for all PhysPics pages
picCopyright.php
Copyright line for
thumbs
index and picture
frame
pages
Pick A Color
Color chooser web page
picmkdir
Make a directory on a remote host
pictd.html
Wrapper for each thumbnail on a
thumbs
page
Pictools.properties
Descriptions of all defined properties
pictoolStyles.css
Defines styles used in displaying pictures; supplements /GeneralStyles.css
pkscripts.php
Code for finding and parsing captions file (invoked by
servepicture.php
,
slideshow
, and
urlHandler
)
propcon
Converts Pictools.properties for inheritance and access by other languages
Properties Overview
Overview of how properties are defined and accessed
redirect.php
Process the permanent redirection of an incoming URL
redub.csh
Rename files by string replacement
scripts.js
Defines JavaScript for visual effects on the search button and dirbar
searchbox.php
The searchbox shown in the upper left in dirbar.php
servepicture.php
Invoked to display a picture designated in a captions file; instantiates a frame.php to display the picture
Show Pictures
How a picture gets to the user's screen
SiteProps.php
Php access to properties for Pictools client pages
slidescontrol.php
Implements the control panel popped up by
SlideShow.php
Show Slides
How slideshows work - starting with how the button gets there
SlideShow.php
Page viewed for all slideshows
slideshowdefs.js
Javascript code implementing slide shows
src.h
String and input file tools
strtbl.h
Sorted map from string to object
Styles
Styles: Where are they set? How do they override
styles.css
If present, is linked-to for each page in the directory and sub-directories
tarpit.php
Handles url requests for known vulnerabilities; not gentle
thumbs.php
Page invoked to display a thumb nails index page
thumbsparms.php
Transfer data for
thumbs
index page from genhtml to properties
thumbstitle.php
Titlebar for a
thumbs
index; provides buttons for next/prevous and slideshow
titleandlogo.php
Generates the row on a Physpics pages that has the page title and the logo for that page group
tocyg
Convert file or path values to cygwin form
ToDo
Some changes that should/could be made
Tools
Tools used in conjunction with Pictools
towin
Convert cygwin commands to MSWindows form
urlHandler.php
Handles requests for missing pages; strategies include the
badlinks
map and servepicture
urlmap.sq3
Database for remapping URLs in urlHandler
Nothing here now
Pictools: Pictools Concepts
Download
Pictools
V3.3 (445)
Overview
What is Pictools
Copyright © 2023 ZweiBieren, All rights reserved.
Mar 4, 2023 15:58 GMT
Page maintained by
ZweiBieren