Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49206

Resizing images within a view

$
0
0

Hi all, I'm fairly new to drupal 6 and had a slight query which I'm hoping somebody can help me with.

I have created a view called "News" and wish to display most recent news(obv). I have enabled the CCK for users to upload images when creating a new news article. The problem being that when user upload images to news articles, they will uploaded in various sizes.

In the view I have created called "News", I wish to use the "Rewrite the output of this field" option to resize the image automatically but this seems to be a big problem as I'm not too familiar with html or php.

So far I have the code:

img src='[field_image_fid]' width="304" height="171"

This doesn't work. Can anybody help me with what im doing wrong?

Thanks!


Viewing all articles
Browse latest Browse all 49206

Trending Articles