Image Descripton: SubAlbums Problem

Hello Everyone (My first time posting),

I am having a problem with the descriptions. You see I took the code printImageDesc from the image.php and placed it in the album.php. This displayed the image description next to the list of images, which I wanted, along with the option to ajax edit them.

However, when I edit the image description, it doesnt stay and it ends up editing the album description (no matter which image I change). The Album Description can't even be changed (when set to true) and just gives me "add description". While the image.php (the pop up) allows me to edit the image description, so that works for some reason though the same code is in the album.php.

Its makes me want to rip out my hair, it just doesnt make any sense to me. I deduced the problem to the code x_saveDesc but I cant find that function.

Please someone help

Comments

  • kenoji Member
    Bump:

    Anyways, so the problem is still there. While using the ajax edit feature-

    If I edit the album description on the index page nothing happens.
    If I edit the image description while on the album page, the album desc changes.
    When I edit the image description on image.php it changes the image descrption correctly.

    Its like a puzzle lol! I just havent put the right pieces together yet. I think album desc is meant to be on album page, and imagedesc should be on image page. However, I am not sure how this correlates. Can anyone help, developer give me any insight?
  • kenoji Member
    Bump 2:

    Same problem, can anyone help me troubleshoot it, its getting to the the point of maddening. (BTW I am using the audible theme).
  • Here is an alternative:

    require_once`subalbumfunctions.php` from the effervescence_simpleviewer theme. Then put a call to `printSubalbumAdmin()` in your footer. This will give you a link to an admin page where you can edit all the image descriptions in the subalbum.
  • kenoji Member
    Is there any way to do this in Ajax, because I dont use just images for zen, I use all kinds of file types.
  • kenoji Member
Sign In or Register to comment.