Hallo
Leider ist in meinem Theme auf http://www.chaneletlesautres.com ein blödes Images Resize für die Vorschaubilder. Ich hasse das!! Er soll die Bilder lassen wie sie sind. Weiss jemand wie ich das ändern kann? Ich hab bisschen mit dem Code gespielt aber dann hatte ich auf einmal gar kein Bild. Hier ist der wichtige Teil meines index
ZitatAlles anzeigen<?php
$html_content = get_the_content_with_formatting();
$only_text = strip_single_tags($tags, $html_content);
$images = get_all_img_urls($html_content);
$image = $images[0];
// now lets check widht of image. If it is bigger than 540 - resize it
if ($image != "")
{
$width = $air_img_w;
$height = $air_img_h;
$resized = vt_resize( '', $image , $width, $height, true );
$image_html = "<p style='float:left'><img src='". $resized[url] ."' alt='' width='$width' height='$height' class='shadow alignleft' /></p>";
}
else $image_html = "";if(!empty($post->post_excerpt))
{
//This post have an excerpt, let's display it
$excerpt = get_the_excerpt();
}
else
{
// This post have no excerpt
$excerpt = better_excerpt($only_text, $air_words);
}
echo $image_html;
?>