lanzecki
Starting Member
Ireland
3 Posts |
Posted - 22 May 2007 : 10:35:32
|
Hi,
After problems with Proeder's file uploader (which to fix I found here!), I am the point where everything works.. But I have one problem:
I would have hoped that jpg's etc would be viewed in the msg, not by opening a seperate window. The code I've added below from myfiles.asp seems to show that the author added this into the code already.. Problem is it doesn't work.. All the files have .jpg extensions and directory rights are 100% ok.. Any thoughs?
I have two options.. Fix this code (or maybe the code is OK) or Disable all non-picture uploads and modify the later code (not shown) to display everything..
select case FileName case ".jpg", ".jpeg", ".gif", ".png" '################### Insert a picture in post ############################### %> <script> opener.document.PostTopic.Message.value+="\n\nInsert Image: "; </script> <% case else
The code continues to add 'download' options for attachments that are none pictures. |
|