Forums

Permalinks with index.php and image links (1 post)

  1. Maquita
    Member
    Posted 2 years ago #

    Hi,

    I'm really struggling with those damn Permalinks. My Server doesn't support htaccess so I have to use the index.php/%postname% Permalinks. That works fine, but now I'm having trouble with my image links. For most images I have used

    <img src="<?php bloginfo('template_directory'); ?>/style/images/IconPrev.png" width="15px" height="15px" alt="Previously on nb.com" />

    But then I have images like this:

    <?php $d = strtolower(get_the_time('d')); echo "<img src=\"wp-content/themes/nicolebauer/style/images/date/{$d}.png\">"; ?>
    
    <?php get_links('-1', '<li class="sidebar-blogroll-li"><img src="wp-content/themes/nicolebauer/style/images/IconBlogroll.png" alt="" /> ', '</li>', '<br />', FALSE, 'id', FALSE,
    FALSE, -1, FALSE, TRUE); ?>

    And they all don't work now. How do I have to write the links? I can't have a I'm not that familiar with PHP...:) Is there any other way then using absolute links?

Topic Closed

This topic has been closed to new replies.

About this Topic