custom page for crowd tagging and descriptions

Hi there, I'm trying to create a custom page so others can tag and describe photos, but I'm not exactly sure how to go about this. When I made edits to the admin pages and took out fields I noticed they started to be saved as null values in mysql.

How can I setup a custom admin page that would allow for a simplified set of fields that wouldn't create empty values in the db. Should I just use hidden fields in HTML?

Comments

  • Are you well versed in PHP coding? If not just stop right here.

    If you are, then you can copy the "POST" handling code and the form code from the appropriate places in admin into your own script and give your users access to that script.
  • Hi there, yeah I can handle that. I'll give it a shot today and see how it goes, thanks!
  • *edit: nevermind, I needed to comment out: //genAlbumUploadList($mcr_albumlist)

    --

    OK, so I've got the edit code from admin.php page=edit, and I've got a loop that contains 611 images, but when it comes to output the form I get an error:

    Fatal error: Call to a member function getAlbums() on a non-object in /var/www/apache2-default/ee/photodrop/zp-core/admin-functions.php on line 470

    What could cause the getAlbums function to behave this way? My tagging.php page isn't even calling getAlbums() anywhere.
  • acrylian Administrator, Developer
    getAlbums is a class method, you need to use it with an object. You probably did something wrong on your tagging.php page..:-)
  • How can I replace $image->getThumb with something that will reference the same thumbnail I'm using on my album.php page?

    My album.php uses this for thumbnails:
    printCustomSizedImage(null, 220, 220);

    And I can pass a custom value in my tagging.php like:
    $image->getSizedImage(220);

    But it recreates the file instead of using a cached version. What's up? How can I just use the same cached image in the tagging.php file?
Sign In or Register to comment.