Jump to content

news_newsitem


goran298

Recommended Posts

Hi

<img src="images/homepage16.jpg" alt="" width="202" height="226" class="left" />
<h2><?php echo $subject;?></strong></h2>
<p><?php echo html_entity_decode($body);?></p>
<p>Posted by <?php echo $postedby;?> on <?php echo $postdate;?></p>

This is what I have in the file "news_newsitem".

I want to see this or another picture if you post a picture in the "news". This image should have the following specifications (width="202" height="226" class="left").

If it is not inserted any image into the news, nothing will happen, other than that the text is posted

Is it possible and which file must I change?

Link to comment
Share on other sites

Each time someone put out a news and if it then add a picture in the news, so I want that image will automatically be placed to the left and have a given height and width. So I do not risk that someone post a news with an image that is 500x1000...  ::)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...