Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ohrobot

    (@ohrobot)

    Unfortunately I can’t update for now because not all plugins are working with the new version.
    Is there a solution/hack for my 2.0.7, too?

    Thread Starter ohrobot

    (@ohrobot)

    Yessss! That was the problem!

    I had to change line 75 to:
    $img_url = preg_replace(“/.$ext$/”, “Vorschaubild.$ext”, $img_url);

    now it works with my german wp version, too
    🙂

    Thread Starter ohrobot

    (@ohrobot)

    i made further observations..

    I have installed a german Version of WordPress 2.0.2. This means the thumbnail images are called e.g.
    “Slices106Vorschaubild.jpg”
    for the original-image “Slices106.jpg”
    -Vorschaubild- is the german term for thumbnail. Could this cause my problem with displaying thumbnails with szub_post_imagw()?

    Thread Starter ohrobot

    (@ohrobot)

    1. on the frontpage there’s a link called ‘Array’ instead of the attached image

    hmm.. this problem seems to have something to do with “&use_thumb=1” ..is it possible that there was no thumbnail created, yet?
    if I insert an image in a post manually (by send to editor) there is a thumbnail..thus the grafic functionality of my webserver seems to work.
    I have no idea 🙁

    Thread Starter ohrobot

    (@ohrobot)

    ok.
    the good news is: the enlarged image inside the article works (as as there is an image).

    the bad news (you can look it up on my site http://www.videofanzine.de – a german ezine about, yes – videofanzines ):

    in my single article view – template I inserted, like you said:

    <?php $thumb = szub_post_image(‘&use_thumb=0&display=0&css_class=articleview’); ?>
    <?php if($thumb) : ?>
    <?php echo $thumb; ?>
    <?php else : ?>
    <?php the_content(); ?>
    <?php endif; ?>

    and my index has this new lines of code:

    <?php $thumb = szub_post_image(‘&use_thumb=1&display=0&css_class=frontpageview’); ?>
    <?php if($thumb) : ?>
    “><?php echo $thumb; ?>
    <?php else : ?>
    <?php the_content(); ?>
    <?php endif; ?>

    so two last (i wish) problems:
    1. on the frontpage there’s a link called ‘Array’ instead of the attached image
    2. when there’s no image the text-content is displayed twice.

    I ask myself continuously – what have done wrong?

    Thank you so much so far!

    Thread Starter ohrobot

    (@ohrobot)

    oh, thank you so much.
    I feel i am very close now..
    i need only one more piece of the puzzle..
    How can I attach an image (in order to use it with post_image) to a post without actually inserting it?

    Thread Starter ohrobot

    (@ohrobot)

    em.. but what if there is a post with no picture. Doesn’t these changes in the template mean that there has to be an image in every post or at least the template tries to display one.
    oh, perhaps I didn’t get the point. 🙁

    Thread Starter ohrobot

    (@ohrobot)

    I thought this is kind of a standard-thing. Is there a plug-in for this solution too? (I have to admit that I am kind of afraid of having to insert php-code in all of my articles)

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