/PhotoAlbum/trunk/webapp/WEB-INF/conf/photos.xml.example |
---|
0,0 → 1,50 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
<photos> |
<default-branch>children</default-branch> |
<branch> |
<uri>children</uri> |
<images-root>/home/data/photos</images-root> |
<cache-dir>/home/data/photos/.cache</cache-dir> |
<thumbnail-format>jpg</thumbnail-format> |
<columns>6</columns> |
<rows>5</rows> |
<images-mask>*.jpeg</images-mask> |
<images-mask>*.jpg</images-mask> |
<dir-thumbnail> |
<template>/home/tomcat/webapps2/photos/images/dir_template.gif</template> |
<thumbnail> |
<left>5</left> |
<top>9</top> |
<width>40</width> |
<height>40</height> |
<align>center</align> |
<valign>center</valign> |
</thumbnail> |
<thumbnail> |
<left>47</left> |
<top>9</top> |
<width>40</width> |
<height>40</height> |
<align>center</align> |
<valign>center</valign> |
</thumbnail> |
<thumbnail> |
<left>5</left> |
<top>50</top> |
<width>40</width> |
<height>40</height> |
<align>center</align> |
<valign>center</valign> |
</thumbnail> |
<thumbnail> |
<left>47</left> |
<top>50</top> |
<width>40</width> |
<height>40</height> |
<align>center</align> |
<valign>center</valign> |
</thumbnail> |
</dir-thumbnail> |
</branch> |
</photos> |
/PhotoAlbum/trunk/webapp/WEB-INF/conf |
---|
Property changes: |
Added: svn:ignore |
+photos.xml |
+ |
/PhotoAlbum/trunk/webapp/WEB-INF/web.xml |
---|
30,42 → 30,9 |
<servlet-name>init</servlet-name> |
<servlet-class>ak.photoalbum.webapp.InitServlet</servlet-class> |
<init-param> |
<param-name>images root</param-name> |
<param-value>/home/data/photos</param-value> |
<param-name>config</param-name> |
<param-value>WEB-INF/conf/photos.xml</param-value> |
</init-param> |
<init-param> |
<param-name>images mask</param-name> |
<param-value>*.jpeg;*.jpg</param-value> |
</init-param> |
<init-param> |
<param-name>cache dir</param-name> |
<param-value>/home/data/photos/.cache</param-value> |
</init-param> |
<init-param> |
<param-name>thumbnail format</param-name> |
<param-value>jpg</param-value> |
</init-param> |
<init-param> |
<param-name>columns</param-name> |
<param-value>6</param-value> |
</init-param> |
<init-param> |
<param-name>rows</param-name> |
<param-value>5</param-value> |
</init-param> |
<init-param> |
<param-name>dir template</param-name> |
<param-value>/home/tomcat/webapps/26th.net/photos/images/dir_template.gif</param-value> |
</init-param> |
<init-param> |
<param-name>dir thumbnails positions</param-name> |
<param-value> |
5, 9,40,40,c,c; |
47, 9,40,40,c,c; |
5,50,40,40,c,c; |
47,50,40,40,c,c |
</param-value> |
</init-param> |
<load-on-startup>1</load-on-startup> |
</servlet> |