Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

dynamic resizing of picture on category-page?

Old May 18, 2010, 03:14 AM
1 posts · May 2010
I have made a custom categorypage (its my first, so don't laugh too much if the code is somewhat clumsy...), and need the image I have there to resize dynamic like the images on other pages.

I have understood its the .post & img.size-full -classes that takes care of this, but I cant get it working on the categorypage? I have copied the code for the img from a page where it is working correctly, so this is really bugging me...

Here is the code for my categorypage:

PHP Code:
Template Name: sporsmal-og-svar
/* get all options: */
include (TEMPLATEPATH '/functions/bfa_get_options.php');
get_header(); ?>
<div class="post-headline"><h2>Spørsmål & svar</h2>
<div class="post-bodycopy clearfix"><p><img class="alignnone size-full wp-image-692" title="150310_mb_060_2_" src="http://domain.ext/wp-content/uploads/2010/05/150310_mb_060_2_.jpg" alt="" width="720" height="500" /></p>
<?php query_posts('cat=3'); ?>
        <?php if(have_posts) : while (have_posts()) : the_post(); ?>
        <a class="spmsvar" href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3>
        <p><?php the_excerpt(); ?> --> Les svaret</p></a>
<?php endwhile ?>
<?php endif; ?>
<?php get_footer
(); ?>
Any help to get this working would be nice!


category, custom, image, resize, template

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Logo madfab685 Header configuration & styling 0 Oct 31, 2009 04:31 AM
[SOLVED] How can I insert a picture in a custom page template? reradu Atahualpa 3 Wordpress theme 10 Oct 15, 2009 02:00 AM
Do not upgrade dynamic headers - help! krystyna Plugins & Atahualpa 9 Aug 10, 2009 09:30 AM
Huge issue with page resizing, please help! jjyykk Atahualpa 3 Wordpress theme 1 Aug 7, 2009 06:14 AM
Page Menu button images w/dynamic resize kritho Page & Category Menu Bars 1 Feb 18, 2009 05:06 PM

All times are GMT -6. The time now is 01:51 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.