Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog


Channel Description:

Zenphoto forum

older | 1 | 2 | (Page 3) | 4 | 5 | .... | 23 | newer

    0 0

    Zenphoto comes with three upload handler plugins: http, flash and jquery. The latter two allow the upload of multiple images at one time. The jquery allows also dragging images but not folders.
    If the plugins are enabled you can choose which one on the upload tab.

    The easiest way to upload complete folders is to use FTP directly.


    0 0

    Thanks acrylian!

    I am looking at the JQUERY plugin and it just has an "Add Photo's" button. However, when I try to drag an image into the box -- it doesn't do anything. That was the type of drag and drop functionality I was talking about.

    Is it supposed to be able to drag and drop?

    FTP woud be nice, but we have far too many users to attempt to utilize FTP.


    0 0

    Snap. I take back that comment. I have no idea why it wasn't working when I was showing people (figures, right?) but I restarted my browser and it seems to be working. Perhaps my Chrome was having a moment... :) Thank you!


    0 0



    0 0

    So have you guys figured out whats wrong with the album permissions yet?


    0 0

    Have you tried the nightly build?

    BTW, if you want to follow the status of a problem then you need to create a problem report. That is the ONLY tracking mechanism we provide.


    0 0
  • 11/26/12--17:35: lem45 on "edit htaccess"
  • hi,

    I would like to edit the .htaccess file. I would like to increase the

    php_value post_max_size 100M
    php_value upload_max_filesize 10M

    But every time I edit the htaccess i get an server error 500 and my site doesnt work.

    Can I edit the htaccess (containing all that rewwrite stuff) at all?

    If so, where?

    Thanks!
    lemmy


    0 0
  • 11/26/12--17:42: acrylian on "edit htaccess"
  • Either your host does not allow to set those values via htaccess or at all. Yes, you can edit the htaccess file naturally (you might need to do it again on updates) but you should know what you are doing and where you need to add. In this case these need to go before the Zenphoto stuff.


    0 0
  • 11/27/12--18:21: lem45 on "edit htaccess"
  • thanks.

    Thing is, i dont know what I am doing :)

    I tried to add

    php_value post_max_size 100M
    php_value upload_max_filesize 10M

    at the beginning of the .htaccess file. That brought up the same Server Error 500.

    Putting the lines at the end or in the middle didnt help, too.

    My htaccess looks like this:


    # htaccess file version 1.4.3.1;
    # When Zenphoto requires changes to the rewrite rules:
    # First make a copy of this file as 'oldhtaccess' in the zp-core folder so setup can test for unmodified files
    # Update the above and the define in setup.php

    IndexIgnore *
    <IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /

    # Redirection for site updates--remove the comment crosshatches from the following rules
    # "closed.html" in the plugins/site_upgrade folder is the target for the rewrites. You can change
    # this file to suit your needs.
    # RewriteRule ^index\.php$ plugins/site_upgrade/closed.html [NC,R=302,L]
    # RewriteRule ^$ plugins/site_upgrade/closed.html [NC,R=302,L]
    # End redirection for site updates

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

    #Rewrite rules for replaced ?RSS-xxx query parameters
    RewriteCond %{QUERY_STRING} ^rss-(.*)&
    RewriteRule ^index\.php?$ index.php?rss=%1 [NC,L,QSA,R=301]
    RewriteCond %{QUERY_STRING} ^rss-(.*)$
    RewriteRule ^index\.php?$ index.php?rss=%1 [NC,L,QSA,R=301]

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

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

    ##### put no rules before this line #######

    #rewrite rule for tinyURLs
    RewriteRule ^tiny/([0-9]+)/?$ index.php?p=$1&t [L,QSA]

    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/([A-Za-z0-9_\-]+)/([0-9]+)/?$ index.php?p=$1&page=$2 [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 addition for search
    RewriteRule ^page/search/fields([0-9]+)/(.*)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA]
    RewriteRule ^page/search/fields([0-9]+)/(.*)/?$ index.php?p=search&searchfields=$1&words=$2 [L,QSA]
    RewriteRule ^page/search/archive/(.*)/([0-9]+)/?$ index.php?p=search&date=$1&page=$2 [L,QSA]
    RewriteRule ^page/search/archive/(.*)/?$ index.php?p=search&date=$1 [L,QSA]
    RewriteRule ^page/search/tags/(.*)/([0-9]+)/?$ index.php?p=search&searchfields=tags&words=$1&page=$2 [L,QSA]
    RewriteRule ^page/search/tags/(.*)/?$ index.php?p=search&searchfields=tags&words=$1 [L,QSA]
    RewriteRule ^page/search/(.*)/([0-9]+)/?$ index.php?p=search&words=$1&page=$2 [L,QSA]
    RewriteRule ^page/search/(.*)/?$ index.php?p=search&words=$1 [L,QSA]
    #### Rewrite additions for zenpage
    RewriteRule ^pages/?$ index.php?p=pages [L,QSA]
    RewriteRule ^pages/(.*)/?$ index.php?p=pages&title=$1 [L,QSA]
    RewriteRule ^news/?$ index.php?p=news [L,QSA]
    RewriteRule ^news/([0-9]+)/?$ index.php?p=news&page=$1 [L,QSA]
    RewriteRule ^news/category/(.*)/([0-9]+)/?$ index.php?p=news&category=$1&page=$2 [L,QSA]
    RewriteRule ^news/category/(.*)/?$ index.php?p=news&category=$1 [L,QSA]
    RewriteRule ^news/archive/(.*)/([0-9]+)/?$ index.php?p=news&date=$1&page=$2 [L,QSA]
    RewriteRule ^news/archive/(.*)/?$ index.php?p=news&date=$1 [L,QSA]
    RewriteRule ^news/(.*)/?$ index.php?p=news&title=$1 [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]
    RewriteRule ^(.*)/album/(thumb|[0-9]{1,4})/([^/\\]+)$ zp-core/i.php?a=$1&i=$3&s=$2&album=true [L,QSA]
    ####

    # Catch-all - everything else gets handled in PHP for compatibility.
    RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
    </IfModule>

    Now, where could i put my stuff?

    thanks!
    Lemmy


    0 0
  • 11/27/12--20:19: acrylian on "edit htaccess"
  • You should place it before the <IfModule mod_rewrite.c> stuff. But make sure your host does actually allow to change these values via htaccess. Not all do.


    0 0

    After a while of little use we are unable to upload images to albums. I go through the upload process and all seems fine but when I return to the front end the actual picture is not showing as seen at the bottom of this page - http://www.limamachinery.com/zenphoto/index.php?album=-miscellaneous-

    Neither the photo or the text (it should read 'test upload') is showing.

    I have checked the album permissions and all are set to 755 or higher.

    All suggestions welcome.


    0 0

    As always what does the server error log say? Since the others work the images are probably corrupt or to big for your server to process


    0 0

    That particular file is only 40kb, as a rule I reduce my jpeg file size to <100kb if only because I have a lousy upload speed here.

    No error log shows, I have tried several images and none of them appear on the page although Zenphoto goes through the upload process perfectly normally.


    0 0

    Again as repeated often the file size does not matter, the dimensions do (I have not checked the images). Please see the user guide troubleshooting about that.

    Something might be different or wrong with these images which I cannot answer. MAybe they are made with a different program, contain broken meta data. Try to re-save them with another program and re-upload.


    0 0

    Just tried again with an avatar I use on a couple of forums. It's a thumbnail, 150 x 150px and around 10kb. No joy. The picture was created with a copy of PS that I use for all my photo work and I've never had a problem with corrupt files before and I'm not having problems elsewhere at present.

    The pictures will not display anywhere within Zenphoto, not on the Albums-images page nor the thumbnail crop selector page.

    Probably I best start again and reload ZP.


    0 0

    Hi

    I have an Album, which has four sub-albums A, B, C and D.

    I want users to upload photos to sub-album C and D only and not to A and B.

    How can this be done?

    Regards


    0 0

    No, you can set user rights for top level albums only.


    0 0

    any specific reason?

    this way the user has the rights to mess up anywhere!


    0 0

    Yes, it is because Zenphoto's albums are file system based and being able to do this would involve a lot of extra file system operations that possibly would slow down your site. That would happen because rights are of course inherited in the tree.


    0 0

    ok thanks Acrylian


older | 1 | 2 | (Page 3) | 4 | 5 | .... | 23 | newer