Displaying page image in the footer automatically

You want to use the Featured Post Thumbnail: http://wpcanyon.com/tutorials/how-to-use-the-post-thumbnail-feature-in-wordpress-2-9/ http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/ http://codex.wordpress.org/Function_Reference/the_post_thumbnail In your functions.php, define an image size with add_image_size(), then display it in the footer like this: the_post_thumbnail(‘footer-image’); Keep all of the loop inside of your main template file and do not split it across multiple files. That’s really messy, and as you’ve figured … Read more

How can i link a custom post type thumbnail to intermediate size

<a rel=”lightbox” href=”https://wordpress.stackexchange.com/questions/10191/<?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,”large’, true); echo $image_url[0]; ?>”> <?php the_post_thumbnail(‘thumbnail’); ?> </a> Yeah the above (posted by @null) is correct on getting the url, here it is all put together. Including the rel=lightbox. I call to WP’s large image size here personally for the lightbox image to be linked to. … Read more

WordPress Bug on IIS ? Problem when uploading image on IIS 7

You are encountering an improperly configured server. Please consult the WordPress manual on how to setup wordpress on a windows server system. AFAIK – but I’m not a windows server expert – you must configure the upload directory that the user executing the PHP WordPress application is able to access files therein for reading, writing, … Read more

Thumbnail Image to go in the post aswell

Use the post thumbnail for the single blog pages too. You can use the add_image_size() function to create an additional image size that is displayed on the blog posts. add_image_size(‘single-post-image’, 650, 250, true); // name, width, height, crop mode Then in single.php the_post_thumbnail(‘image-size’); Simply place the first function in your functions.php, and the second in … Read more

Howto use WP built in Thickbox for images?

What if you try adding this to your functions.php function tb(){ wp_enqueue_script(‘thickbox’,null,array(‘jquery’)); wp_enqueue_style(‘thickbox.css’, “https://wordpress.stackexchange.com/”.WPINC.’/js/thickbox/thickbox.css’, null, ‘1.0’); } add_action(‘wp_enqueue_scripts’,’tb’); and keeping your bit of jQuery (not sure what your are needing those php variables for): jQuery(document).ready(function() { jQuery(“img”).parent(“a”).addClass(“thickbox”); });

Image resizing – TimThumb vs convert on upload?

WordPress and TimThumb both use GD to resize images, so quality is going to be similar. GD’s resize quality is not as good as Photoshop, you’ll notice this especially in fine details. Both WP and TimThumb can be modified to use ImageMagick, WP via a plugin, TimThumb I think requires you edit the code directly, … Read more