Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Fixing WordPress
    In reply to: resizing images
    Thread Starter Fatwallet

    (@fatwallet)

    Ah, this is what I want. Excellent. Many thanks.
    The image i nneded to amend isn’t in a post though, it’s on a page. But I assume I just change the sizes in page.php template instead of single.php?
    Thanks for your help

    Forum: Fixing WordPress
    In reply to: resizing images
    Thread Starter Fatwallet

    (@fatwallet)

    ah, ok.
    <?php get_header(); ?>

    <?php if (get_option(‘swt_fcats’) == ‘Hide’) { ?>
    <?php { echo ‘<div id=”contentwrap1″>’; } ?>
    <?php } else { include(TEMPLATEPATH . ‘/includes/featured-cats.php’); echo ‘<div id=”contentwrap”>’; include(TEMPLATEPATH .’/includes/slide.php’); } ?>
    <div class=”inside”>

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <div class=”meta”>
    <span class=”author”>Posted by <?php the_author(); ?></span><span class=”comm”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></span><span class=”date”><?php the_time(‘M d, Y’); ?></span>
    </div>

    <div class=”entry”>
    <?php if ( function_exists( ‘get_the_image’ ) ) {
    get_the_image( array( ‘custom_key’ => array( ‘post_thumbnail’ ), ‘default_size’ => ‘full’, ‘image_class’ => ‘aligncenter’, ‘width’ => ‘384’, ‘height’ => ‘150’ ) ); }
    ?>
    <?php the_content(”); ?>
    </div>
    <p class=”postmetadata”><?php the_tags(‘Tags: ‘, ‘, ‘, ‘
    ‘); ?> Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> </p>
    </div>
    <?php comments_template(”, ‘true’); ?>
    <?php endwhile; ?>

    <div class=”navigation”>
    <?php
    include(‘includes/wp-pagenavi.php’);
    if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); }
    ?>
    </div>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php get_search_form(); ?>

    <?php endif; ?>
    </div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Forum: Fixing WordPress
    In reply to: resizing images
    Thread Starter Fatwallet

    (@fatwallet)

    I don’t want to alter the html code! Where do I find all of these codes? I can’t find anything that looks even vaguely like this!

    Forum: Fixing WordPress
    In reply to: resizing images
    Thread Starter Fatwallet

    (@fatwallet)

    I have no idea how to access the html source code either! Sorry, but I am totally new to this.
    Basically what I need to do is amend the size of the image that appears on my page. If you look at the Committee page and then the treasurer page, the image is stretched across the page, distorting it. Can this be done within WordPress or do I have to resize the image BEFORE I add it to the library, as someone has told me?
    I’m a real novice, sorry. Thank you for your help though, it’s invaluable.
    Regards

    Forum: Fixing WordPress
    In reply to: resizing images
    Thread Starter Fatwallet

    (@fatwallet)

    Sorry, but where did you get the height setting from?

    Forum: Fixing WordPress
    In reply to: resizing images
    Thread Starter Fatwallet

    (@fatwallet)

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