WordPress.org

Ready to get started?Download WordPress

Forums

WordPress powered portfolio. (5 posts)

  1. jimboready
    Member
    Posted 8 years ago #

    Hey gang.

    I've just finished redesigning my portfolio site to apply to a few universities with and most of it's powered by wordpress.

    http://www.jimboready.com/

    The html site (http://www.jimboready.com/html/) is all updated by wordpress but as yet I haven't managed to build it into the flash part, so I have to add new links in the flash portfolio section manually. I plan to eventually get it all to run off wordpress by querying the database and feeding it into flash, but I don't really know enough php or mysql yet.

    I'd appreciate any constructive criticism or your opinions.

    Many thanks,

    - Jim.

  2. Riccardo
    Member
    Posted 8 years ago #

    Ciao a tutti, c'è quacluno che sa parlare italiano????

  3. jwurster
    Member
    Posted 8 years ago #

    That is really cool. Very creative. If I may ask, how is the gallery viewing handled? I'm always looking for new and creative ways for displaying images.
    Thank you, jim

  4. jimboready
    Member
    Posted 8 years ago #

    The gallery's done with two custom fields. one of them's the url of the thumbnail (thumbnail), the other's a small javascript snippet that calls the popup (pic), which looks like:

    'image name', 'width', 'height'

    There's a php gallery page that loads the pic depending on the url extension, and a popup script that loads the gallery page and resizes the window.

    The popup script and a link to the post (containing the pic info) are both called when you click the thumbnail. So it looks like this:

    <?php
    $posts = get_posts('numberposts=10&category=6');
    foreach ($posts as $post) : start_wp();
    if(get_post_custom_values('pic')) :
    foreach(get_post_custom_values('pic') as $pic) {
    echo 'onclick="javascript:Popup(' . $pic . ')"';
    }
    endif;
    ?>
    onmouseover="return escape('<?php the_title(); ?>')">
    <?php
    if(get_post_custom_values('thumbnail')) :
    foreach(get_post_custom_values('thumbnail') as $img) {
    echo '<img src="' . $img . '" alt="" border="0"/>';
    }
    endif;
    endforeach; ?>

    I can send you the gallery file and popup script if you wanna have a play with it.

    Cheers,

    - Jim.

  5. jwurster
    Member
    Posted 8 years ago #

    That would be great. You can send it to jwurster at comcast dot net. Again, it's a great site.

Topic Closed

This topic has been closed to new replies.

About this Topic