[WP Content Slideshow] custom image size
-
This gets the photos from the slideshow:
<li id="main-post-<?php echo $counting;?>" onmouseover="this.style.cursor='pointer'" title="<?php the_title(); ?>"> <img src="<?php echo $thumb;?>" /></li>
$thumb is set up just before that:
$thumb = get_generated_thumb("content_slider");
and the function from some other file is:
function get_generated_thumb($position) { $thumb = get_the_post_thumbnail($post_id, array(389,254), $position); $thumb = explode("\"", $thumb); return $thumb[5]; }
How do I make it display a certain image size? I’ve got set up the ones I need in functions php. The reason is, the slideshow just resizes it, therefore is using a much bigger photo.
I need that bigger as it is as I have some other parts where I am using it as a big image, but I would like to use a custom size and I simply don’t get it from get_the_post_thumbnail
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[WP Content Slideshow] custom image size’ is closed to new replies.