Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 A suggestion for the image-in-post MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 04 May 2007 :  04:01:56  Show Profile  Visit muddywellies's Homepage
Here's an observation on the image-in-post MOD. It's not really an idea for a MOD 'cause it may be that mine is not set up right, but after installing proeders image MOD (with a lot of help) I am ever-so-slightly disappointed with the result.

The image IS installed in the post but the format isn't quite what I expected because no image is immediately visible. Instead, the post contains the paperclip icon followed by Download attachment: Filename Filesize. Click on the filename and the image does come up in a separate window.

As I said, not quite what I was expecting. I wanted the image right there, visible in the post. But it can be done. At present, I can obtain the result I really want by removing all of the above image-related text in the post (since the image is now stored in my uploaded folder). Then click once more on the paperclip icon and click on the 'Reuse file' button. This loads the image directly in post. Just like I wanted.

This is a somewhat circuitous route to what I ideally require. Have I gone wrong somewhere? Or could a minor 'tune up' be made to enable a true image-in-post post?

I've got green fingers, but I'm all thumbs using a keyboard!

AnonJr
Moderator

United States
5768 Posts

Posted - 04 May 2007 :  05:24:48  Show Profile  Visit AnonJr's Homepage
It was always my understanding that proeder's MOD had already included the ability to show the attached image in the post. Since its still on my list of "MODs to install" on a couple of forums I can't say why its not working.
Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 04 May 2007 :  08:42:47  Show Profile
The original OutputFile.asp does not correctly assign the value to the variable ImageFileType. It never gets set to true. As such the code to insert an image and have it displayed is never exectuted.

You need to insert the following at line 135 (between the end if and
'###### Check for invalid chars in filename)

select case extension
case ".jpg", ".jpeg", ".gif", ".png", ".bmp"'##Image File extensions

ImageFileType=true
case else'##Downloadable file extensions
ImageFileType=false
end select


Check out this post about half way down the page for more info on additional formatting to make it look how you might want.

Edited by - PPSSWeb on 04 May 2007 08:45:59
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 05 May 2007 :  06:20:27  Show Profile  Visit muddywellies's Homepage
Just a quick note. No joy with the code enclosed I'm afraid. The result was a line giving the file location. I will go on to check the link given.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 05 May 2007 :  06:38:32  Show Profile  Visit modifichicci's Homepage
Have you enabled images in post from administration?

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 07 May 2007 :  03:31:36  Show Profile  Visit muddywellies's Homepage
Thanks guys,
PPSSWeb, your link to the other topic worked a treat. Thank you.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07