• There is a script for this ? i try to use the upload image script but it no good for me.

    I would like post a photo with the same dimension for every post

Viewing 3 replies - 1 through 3 (of 3 total)
  • Well do you want to use the same photo per user (like an avatar) or a different photo for EVERY post?

    I made avatars very easy by adding this code to the index.php

    <img src=”https://yoursitehere/imgdir/&lt;?php the_author() ?>.gif” id=”author_icon” align =left />

    by having the authour upload an image that is saved as the author’s “login.gif” in the img dir. I’m sure it wouldn’t be difficult to do by catagory either if you chose.

    just replace <?php the_author() ?> with <?php the_category(‘, ‘) ?>.

    rename your images accordingly.

    It’s a bit ugly but it does the trick if that is what you are looking for.

    I’d post a link to my blog and show you but my blog is mostly for familial consumption and I am still not done with all my modifications. Work in Progress, so its not shown till it’s done. ??

    Thread Starter Marcomail

    (@marcomail)

    Razzi your script is very good, i would like add only a thumb picture in the post of homepage, but it mustn’t show in the comment page….have you understand ? I can use simple html code for every post, but i prefer an automatic script for upload the image directly in the panel control….its similar to an avatar, but it mustn’t connect to the user, it is indipendent

    sorry for my bad english eheheh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add a photo for every new post in blog’ is closed to new replies.