Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter fmxsteckel

    (@fmxsteckel)

    I’m currently havin just 1 problem…

    $image_next = $wpdb->get_var("SELECT ID FROM wp_album WHERE ID < $p LIMIT 1");
    if($image_next != ''){
    echo"« Prev Image";
    }else{
    echo"« Prev Image";
    }

    Sends me to the very first row entry everytime when i want it to send me to the previous one like this:

    $image_next = $wpdb->get_var("SELECT * FROM wp_album WHERE ID > $p LIMIT 1");
    if($image_next != ''){
    echo"Next Image »";
    }else{
    echo"Next Image »";
    }

    Sends me to the next one…anyone have any ideas?

    That looks cool and would be great to integrate with a moblog direct from a phone…

    Looks awesome!
    Love to see the finished work. Or is it? Hehe. Great work!

    Thread Starter fmxsteckel

    (@fmxsteckel)

    Haha…deffinatly not finished!!! I would love as much input as possible tho!

    Thread Starter fmxsteckel

    (@fmxsteckel)

    Thanks alot…yeah it uses GD but just to create the thumbnails.
    I am currently working on more layouts and options…when its complete categories will be included…or albums…however i decide to name it? lol.
    And the wtf page…HAHAHA! Well thr thing is whenever i delete a picture from the database and you go from one page to the previous…it can’t find that image and displays my “custom error message” lol. (WTF) hahaha, i’m workn on it now.
    Xtool if you can program php please e-mail me @ [email protected] and we can callaborate (spelling?) If you can’t, well…just e-mail me anyway and we can get your ideas in this hack. =)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP-ALBUM…’ is closed to new replies.