Sublime directory Surf the web anonymous Pagerank Monitor


Main image + Thumbnail with _sm suffix in same folder?

woodie
Sun 3 December 2006, 03:57 pm GMT +0100
Hi,

I have seen other similar posts in the forum, but not found an answer yet...

The script below works fine and uploads a resized 'main' and 'thumb' image into separate folders - how can this be modified so that the 2 images are uploaded into the same folder with the 'thumb' image having a _sm suffix i.e.

/uploadfolder/sample.jpg (main pic)
/uploadfolder/sample_sm.jpg (thumbpic)

The site this is aimed at has a large number of pics online already, hence the need to reinvent the wheel!

Any advice would be great.

Thanks,

Woodie.

<snipped />
Download the script at: http://www.finalwebsites.com/snippets.php?id=7

olaf
Sun 3 December 2006, 06:50 pm GMT +0100
Hello,

first don't post code here if you don;t changed him.

about your question, why not using several folders like in the example?

woodie
Thu 7 December 2006, 10:51 am GMT +0100
Olaf - thanks for your quick reply. I have updated the script version as you suggested.

I have reconfigured the site to run with the 2 folders - why fix it when its not broken!!

Thanks for your support.

Woodie

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional