iPAP 0.71

After months of inactivity, I just decided to update iPAP a teeny–weeny bit. Seriously, I just revised the readme.html file and changed the default $cache_life value to a 5–day equivalent.

After playing with my experimental 0.8 version, the flatfile database system just doesn’t cut it anymore especially if you have hundreds of photos spanning several albums. Page generation takes a more than a second in some instances — unacceptable. A nice workaround right now is to prevent frequent refreshing of the cache, since there isn’t really a need for that operation unless publishing new photo albums, hence the increase in the default $cache_life value. The MySQL–powered version of the application is in the works, I’m just not yet done migrating all database calls to SQL. Coming soon!

In addition, there is also an update for SmartyPants On Demand, now utilizing version 1.5.1b of Michel Fortin’s excellent PHP SmartyPants. Some sections of the site were also affected by the sudden desire for spring cleaning and tinkering. :)

28 replies to “iPAP 0.71

  1. 1 james 4AM of December 3, 2004

    maku, i have a comment on your iPAP. you should probably change the position of the enlarged picture. kasi tuwing ki-click ako ng thumbnail, i have to scroll down to see the bigger picture. nakaka-irita pag maraming pictures akong gustong i-view.

  2. 2 markku 10AM of December 3, 2004

    Ja-mes, you’re right. I’ve noticed that before but never really got the chance to improve it, since I rarely made photo albums with many photos. But since I’ve been posting a lot of them now, I’ll try to find a better solution for the layout and presentation. :) Thank you ‘tol.

  3. 3 Pingback from fernando_graphicos Fernando_Graphicos: iPAP 0.71 11AM of December 3, 2004 Excerpt ↓

  4. 4 Mathias Bynens 9PM of December 4, 2004 {subscribed to comments}

    Ah! Our waiting wasn’t for nothing!

    I’m not planning on upgrading to the new version yet, but as soon as the MySQL-powered iPAP comes out, I’ll be on it.

    P.S.: Is this the first official announcement iPAP’s gonna go MySQL?

  5. 5 markku 1AM of December 5, 2004

    mathibus, yes — we’re going MySQL. Didn’t I confirm that before? :)

  6. 6 Joachim 4PM of December 9, 2004

    tol, meron bang option ng batch upload na tulad sa coppermine ang iPap??? kasi kinoconsider ko na lumipat sa ibang gallery option na mas optimised para sa wordpress… and so far, sa tingin ko yung ginawa mong script is one of the best options so far.

  7. 7 markku 6PM of December 9, 2004

    Joachim iPAP doesn’t have batch upload, as of now. Currently, iPAP isn’t really an integrated solution for WordPress, it’s a standalone solution that works out of the box. I made it for myself with simplicity in mind, just the way I want it to work for my personal use.

  8. 8 nina 12AM of December 11, 2004

    i want to use this, but i have problems installing it. after logging in (there an error in the login page), i get a 404. when i go to the admin index page manually, i get more errors. though i can create new albums and upload photos, nothing shows up at the photo page (http://nina.hey.nu/photo)

    has this been tested with PHP5? my host has recently upgraded and i’ve had problems installing Wordpress because of it. could this be the cause?

  9. 9 markku 2AM of December 11, 2004

    @nina: You’re using PHP5? That could be the problem since it has not been tested on that version yet, at least not officially. Sorry there isn’t much help I can do right now, but just visit my blog regularly in case there’s an update regarding this. :)

  10. 10 KnOizKi 4AM of December 13, 2004

    GREAT PHOTOGRAPHY! nice location… i only see them in photos but never get the chance to visit. a place to visit, really.

  11. 11 Indranil 10PM of December 14, 2004

    Bravo.
    Any tentative date on the 0.8

  12. 12 james 12AM of December 15, 2004

    Maku, pangit ka! tagal mo magblog, hahahaha. bored na ako.

  13. 13 Björn 6AM of December 16, 2004 {subscribed to comments}

    Hi, and thanks for the script!

    Is the hierarchical albums thingy that is commented out on several places in the code, something that will be in the next version? Looking forward to that!

    I noticed a small thing: if I rename an album, the sanitized name doesn’t get updated…

    At around line 404 in ipap-admin/index.php, add a $new['sanitized_name'] = sanitize_title($_POST['album_title']);

  14. 14 jorge 12PM of December 23, 2004

    Meri Krismas Markku! Ano pare, bka nkalimutan mo na password mo? :P

  15. 15 markku 1AM of December 24, 2004

    Jorge, I’m alive, I’m alive! :) Hahaha.

  16. 16 Mathias Bynens 2AM of December 24, 2004 {subscribed to comments}

    Bjorn with that funky o in the name, that would be because of the fact that WordPress, for example, does the same, as it should.

  17. 17 Trackback from far from neutral 4AM of January 7, 2005 Excerpt ↓

  18. 18 Dorothy 11PM of January 10, 2005 {subscribed to comments}

    Information in this site is aimed toward foreigners on the Internet and expatriates in Thailand, having the loved ones visiting the areas during the disaster, to get the information about their friends, relatives or colleagues. For Thai nationals, we recommend that you start at the Government official website website and jump from there.

  19. 19 Cristian 9AM of January 29, 2005

    this is one cool script, but still needs some work specially on the admin side. GL for the mysql version :). can’t wait
    greets

  20. 20 Mathias Bynens 12AM of February 3, 2005 {subscribed to comments}

    I’m waiting eagerly… We all are!

    (Just emboldening ya ;))

  21. 21 markku 10AM of February 3, 2005

    Hey, thanks for dropping by. :) I’m really busy with work
    right now, but the MySQL conversion should be ready
    once I get a flash of brilliance or a day with nothing to
    do, whichever comes first. ;)

    Any day now.

  22. 22 Pingback from Photo Gallery URIs | Archives | Math Jazz 7PM of February 4, 2005 Excerpt ↓

  23. 23 Joachim 3PM of February 15, 2005

    Tol, ready na ba??? hehehe, uy ah, wag kang mapressure bossing, excited lang akong lumipat na sa new and improved na iPAP.

  24. 24 Stephen 11PM of February 17, 2005 {subscribed to comments}

    I installed ipap and it worked well this morning, but now it says UNABLE TO WRITE CACHE. I did as you said in read me and even though I can upoad pics in the admin mode, it won’t show up. I use wordpress as well. what could this be?

  25. 25 Mathias Bynens 6PM of February 19, 2005 {subscribed to comments}

    iPAP Installation, Step Four:

    CHMOD to 0777 the directory db/ and the files inside: db-uploads.php, db-albums.php, and db-photos.php.

    After that, go to your admin area and push the “Publish” button.

  26. 26 markku 2PM of February 20, 2005

    Mathias, thanks for helping me provide support for iPAP users here and on your blog. I owe you a lot, man.

  27. 27 Mathias Bynens 4PM of February 20, 2005 {subscribed to comments}

    Nah, I’m just doing that so you can keep up with the MySQL conversion :P

  28. 28 Trackback from rebelpixel productions 6PM of June 19, 2005 Excerpt ↓

Note: This website was designed to appear considerably well on a standards–compatible browser. If you see this message, your browser probably has poor support for CSS and XHTML. A browser upgrade is strongly recommended, it doesn’t cost anything at all. This site strongly recommends Mozilla Firefox. Visit the WebStandards.Org Browser Upgrade Campaign for more information.