Help with image size please
-
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.
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the 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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Help with image size please’ is closed to new replies.