iWeb reflections on mass?!?!

Discussion in 'Web Design and Development' started by mooty, Mar 30, 2006.

  1. mooty macrumors regular

    Joined:
    Mar 7, 2006
    Location:
    UK
    #1
    Hi All,

    I've got a site with something like 1500 photos on it being constantly updated. I found this site : www.livereflections.com which allows you to create reflection preferences and it'll reflect whatever image in real-time... Seems pretty simple.

    Does anyone else use livereflections? It seems I can dynamically call their site with whatever image so could save me loads of time!

    Thx for any feedback.
     
  2. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #2
  3. mooty thread starter macrumors regular

    Joined:
    Mar 7, 2006
    Location:
    UK
    #3
    hmmm, seems okay, but my biggest gripe with that is its javascript, AND only works with browsers that support canvas. I'm looking for something with minimal impact on my scripts, and is always browser compliant, which is why the livereflections thing would work well... Plus it keeps the reflection generation off my server :)

    looks like png/gif is round the corner though on livereflections. I mailed the developer and he mentioned a release this weekend... :cool:
     
  4. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #4
    true, but imo that js would be easier than using the site, unless there's like some mass import deal going on, making some part of it unfeasible.
     
  5. mooty thread starter macrumors regular

    Joined:
    Mar 7, 2006
    Location:
    UK
    #5
    well, thinking about it, implementing the livereflections is actually really easily. My gallery template works as follows:

    Code:
    <?php
    
    $query = "SELECT * FROM gallery WHERE photo_id = $_GET['photo_id']";
    mysql_query ($query);
    
    //Grab the column names and reference
    $photo = relevant database column name;
    
    echo '<img src="'.$photo.'">';
    
    ?>
    
    It seems, that all I need to do is add the following to reflect any image i want:

    Code:
    <?php
    echo '<img src="'.$photo.'">';
    echo '<img src="http://www.livereflections.com/page.php?image='.$photo.'">';
    ?>
    
    That should then reflect any image i want, all old stuff, and all new stuff...
     

Share This Page