• Hi everyone

    Could somebody help with this code I have? This code below resize’s the image and stores it /uploads/et_temp to save on page loading time.

    Pastebin

    How do I apply that to this code?

    <div id="authorblock3" class="post2">
    <?php $Thumbnail_Two = get_post_meta($post->ID, 'Thumbnail_Two', TRUE); ?>
    <?php if($Thumbnail_Two) { ?><img src="<?php echo $Thumbnail_Two; ?>" width="65" height="55" alt="<?php the_title_attribute(); ?>" /><?php } ?>
    				</div>

    If anybody knows how to minify the top code so it is similar to the bottom code,but obviously doing the same function that would be great.

  • The topic ‘image resize code’ is closed to new replies.