Junior Member
Junior Member
davidhowland14   2008-09-04, 02:14
#1

I just installed Zenphoto, modified the files as instructed by the install script, and uploaded my first photo. However, the photo does not show up on any Zenphoto page, only when you click through and load the largest, standalone version of the image. I've checked my .htaccess file for mod_rewrite and everything appears to check out. I copied .htaccess below in case it's useful. Does anyone have any idea why this is occuring? My url is www.frigidlight.com

`

htaccess file version 1.1.6.0


Update the above and the define in setup.php when you make changes to the rewrite rules!


NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory. (Or let setup.php do it for you!)


RewriteEngine On

!!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!


RewriteBase /zenphoto


RewriteRule ^admin/?$ zp-core/admin.php [R,L]

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^albums/?(.+/?)?$ $1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [R,L]

RewriteRule index.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-]+)/?$ index.php?p=$1 [L,QSA]
RewriteRule ^(.)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^(.
)page/([A-Za-z0-9-
]+)/?$ index.php?album=$1&p=$2 [L,QSA]

Rewrite rule addtion for search


RewriteRule ^page/([A-Za-z0-9-]+)/fields([0-9]+)/(.*)/([0-9]+)/?$ index.php?p=$1&searchfields=$2&words=$3&page=$4 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-
]+)/fields([0-9]+)/(.)/?$ index.php?p=$1&searchfields=$2&words=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-_]+)/archive/(.
)/([0-9]+)/?$ index.php?p=$1&date=$2&page=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-]+)/archive/(.*)/?$ index.php?p=$1&date=$2 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-
]+)/tags/(.)/([0-9]+)/?$ index.php?p=$1&searchfields=4&words=$2&page=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-_]+)/tags/(.
)/?$ index.php?p=$1&searchfields=4&words=$2 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-]+)/(.*)/([0-9]+)/?$ index.php?p=$1&words=$2&page=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-
]+)/(.*)/?$ index.php?p=$1&words=$2 [L,QSA]

RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.
)/image/([^/\]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA]


Catch-all - everything else gets handled in PHP for compatibility.


RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]

`

Member
Member
sbillard   2008-09-04, 03:21
#2

what is the size of your images? If they are not showing up it is often the case that memory limits are preventing processing of the image. There was a correction for such a problem in the nightly build. You should try that. If you are still having problems you should try resizing your images smaller before uploading them.

The URL you posted is not using zenphoto, so is no help.

Administrator
Administrator
acrylian   2008-09-04, 08:20
#3

Ok , I found it under http://www.frigidlight.com/zenphoto. I bet it's our recent discovered mod_rewrite problem: http://www.zenphoto.org/support/topic.php?id=3506

EDIT: Your images are too big for your server too be processed.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.