Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • We had this problem when setting up our new blog:

    blog.lamarke.com

    The solution was to set permissions on wp-admin/css/ to 755 and apply it recursively.

    Enjoy!

    Hi there,

    I had the same problem and I just found a solution using PRETTYPHOTO script

    First.
    -In my file there is a loop that calls the images for filterable.
    -Prety photo simply works by linking the thumbnail to the full size and adding a “rel” attribute to the link.

    <a href="#" rel="prettyPhoto"><img src="thumnail_link"></a>

    To get the url of the full size of the post’s featured image add the following to your loop:

    <?php $src = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), false, ''); ?>
    -this stores the url in the variable $src

    then call the variable in your link as follows:

    <a href="<?php echo $src[0]; ?>" rel="prettyPhoto"><?php the_post_thumbnail( array(200, 200) ); ?></a>

    Hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)