Hi, I have proted the shazamgallery to Drupal 5. Maybe it could help someone so I am sending it in the attachment.

Important - I also made another change in the source - users can add images only to their own galleries. In original module fork they can add images to any gallery. If you want to switch it back to the original behavior, I think you can just comment line #411

  $whereuser = (($uid == '' || $uid==1)?'':'AND n.uid = %d ');   // admin uid 1 can add images to any gallery

Regards, B.

Comments

SpatnyNick’s picture

StatusFileSize
new11.94 KB

I have already found an error in the version above, there is a corrected version...

Bevan’s picture

is someone porting this module for d5? Or isit being left behind?

yngens’s picture

I have installed shazamgallery-5.0.x-0.2.tar.gz in #1, created new gallery and uploaded a picture. Everything works fine except that it shows three thumbnails of the same picture uploaded. If I add to the gallery from previously (before installation of shazamgallery) uploaded pictures then it shows correctly only thumbnail. Three thumbnails error relates only to newly uploaded pictures.