Could someone please tell me
how to configure the directories.
mine are: mysite.com/files/photos
I found the photos.zip package here:
http://groups.google.com/group/pixie-cms/msg/32a25dcabd1246e7
regards
The required .htaccess file can be found in the zip file:
http://beta.robert-kummer.de/files/packages/photos.zip ... it looks
like this:
RewriteEngine on
# folder/tn_image.jpg
RewriteCond %{REQUEST_URI} ([a-zA-Z0-9_\-]*)/tn_([a-zA-Z0-9_\-]*)\.
(jpe?g|png|gif|bmp)$
RewriteRule ([a-zA-Z0-9_\-]*)/tn_([a-zA-Z0-9_\-]*)\.(jpe?g|png|gif|bmp)
$ .script/exif_thumbnail.php?file=$1/$2.$3
# folder/thumb_image.jpg
RewriteCond %{REQUEST_URI} ([a-zA-Z0-9_\-]*)/thumb_([a-zA-Z0-9_\-]*)\.
(jpe?g|png|gif|bmp)$
RewriteRule ([a-zA-Z0-9_\-]*)/thumb_([a-zA-Z0-9_\-]*)\.(jpe?g|png|gif|
bmp)$ .script/sepia_thumbnail.php?file=$1/$2.$3
# folder/thumbnail_image.jpg
RewriteCond %{REQUEST_URI} ([a-zA-Z0-9_\-]*)/thumbnail_([a-zA-Z0-9_\-]
*)\.(jpe?g|png|gif|bmp)$
RewriteRule ([a-zA-Z0-9_\-]*)/thumbnail_([a-zA-Z0-9_\-]*)\.(jpe?g|png|
gif|bmp)$ .script/bw_thumbnail.php?file=$1/$2.$3
# folder/photo_image.jpg
RewriteCond %{REQUEST_URI} ([a-zA-Z0-9_\-]*)/photo_([a-zA-Z0-9_\-]*)\.
(jpe?g|png|gif|bmp)$
RewriteRule ([a-zA-Z0-9_\-]*)/photo_([a-zA-Z0-9_\-]*)\.(jpe?g|png|gif|
bmp)$ .script/photo.php?img=$1/$2.$3
# folder/folder/image.jpg
#RewriteCond %{REQUEST_URI} folder/([a-zA-Z0-9_\-]*)\.(jpe?g|png|gif|
bmp)$
#RewriteRule folder/([a-zA-Z0-9_\-]*)\.(jpe?g|png|gif|bmp)$ .script/
folder.php?folder=$1
# thumbnail/folder/image.jpg
#RewriteCond %{REQUEST_URI} thumbnail/([a-zA-Z0-9_\-]*)/([a-zA-Z0-9_\-]
*)\.(jpe?g|png|gif|bmp)$
#RewriteRule thumbnail/([a-zA-Z0-9_\-]*)/([a-zA-Z0-9_\-]*)\.(jpe?g|png|
gif|bmp)$ .script/exif_thumbnail.php?file=$1/$2.$3
# photo/folder/image.jpg
#RewriteCond %{REQUEST_URI} photo/([a-zA-Z0-9_\-]*)/([a-zA-Z0-9_\-]*)\.
(jpe?g|png|gif|bmp)$
#RewriteRule photo/([a-zA-Z0-9_\-]*)/([a-zA-Z0-9_\-]*)\.(jpe?g|png|gif|
bmp)$ .script/photo.php?img=$1/$2.$3
#RewriteCond %{REQUEST_URI} view_([0-9]{3,4})_([0-9]{2,3})/([a-zA-Z0-9_
\-]*)/([a-zA-Z0-9_\-]*)\.(jpe?g|png|gif|bmp|JPE?G|PNG|GIF|BMP)$
#RewriteRule view_([0-9]{3,4})_([0-9]{2,3})/([a-zA-Z0-9_\-]*)/([a-zA-
Z0-9_\-]*)\.(jpe?g|png|gif|bmp|JPE?G|PNG|GIF|BMP)$ .script/view.php?
img=$3/$4.$5&size=$1&qual=$2
Hope that helps.
Scott
I mean, why is it "folder/folder/image.jpg" when what I want (I think)
is /folder/image.jpg
I am not sure if it takes the root as /files or if I have to put that
before each address.
Zachary
On Jan 5, 3:32 pm, Scott <scotts...@gmail.com> wrote:
> Hi Zachary
> Glad to hear you are getting close to having it working. Once you
> do... make sure you post back any tips you have.
>
> The required .htaccess file can be found in the zip file:http://beta.robert-kummer.de/files/packages/photos.zip... it looks
I would imagine that adding all those to your .htaccess will not do
any harm. I think you need to have clean URLs enabled in Pixie for
this to work properly as well. So make sure you do that.
I think I might remove the download from the Pixie site as it seems to
cause more trouble that is worth - it was developed by a third party
developer who no longer maintains it. Have you tried this gallery:
http://pixie-cms.googlegroups.com/web/gallery_restricted_host.zip
Scott