you press PrSc (Print screen), then open up Photoshop (or similiar photo editing program), make a new document and paste inn from clipboard (print screen saves your screen in clipboard), cut it to the dimensions you need, then upload it to for instance http://imageshack.us, where you will given an URL, like http://img71.imageshack.us/img71/2904/messedaa0.jpg This you use in the comment in HTML mode, you would type something like this : <img src="http://img71.imageshack.us/img71/2904/messedaa0.jpg"/> in your comment where you want the image to appear.
Non selected images appear as images with just their name and image id Selected images show the image placement icons, Full or Thumbnails, Delete plus a new Home button. The Home button makes the image appear on the discussion list next to the discussion title.
In PHP version 4.3.10 (possibly earlier versions) there is a file upload bug. This bug appears when magic_quotes_gpc is enabled on the server (most are set on by default.) When on, any filenames uploaded with an apostrophe (') will get mangled (anything to the left of the apostrophe, including the apostrophe itself is truncated.) It is recommended to upgrade to PHP 4.3.11 or newer
Can anyone tell me why a large image (one exceeding the define width) would not be scaled down. I'm seeing an image place holder rather than the image in the user comment.
note: i'm using the latest extension for attachments and inline
hi fnostro. maybe your php isn't configured for image manipulations. to see the error(s) just copy the url of the not displaying image in an empty browser window or post the link here.
More info - the image place holders exist for only IE (7).
In Firefox what I see is a filename rather than the scaled down image.
the following is rendered for both IE and FF:
===============================================================================
<div class="Attachments" id="Attachments_23">
<ul>
<div>
<img src="/extensions/InlineImages/image.php?AttachmentID=13" alt="CaptainsIsland.JPG" />
</div>
</ul>
</div>
===============================================================================
I don't see an error and none is reported in the browser. If it's a php thing can you point me to the php.ini parameter to look for?
hi all!
has anybody found a solution for adding inline images on the first post?
it's a disadvantage to first post the comment and uploading the file
and then you have to edit the comment and add the inline images...
my idea is:
adding another tag -> the original where [Image_*]. the new are [ImageNum_*] (or [Image*] without the underscore).
this tag uses the number of the image of the current comment!
i already implemented this on my forum. but found 1 major bug:
the multiple file upload stores the files in reverse order?!?
the first image i upload gets the highest database id.
this means, if i upload 3 images, [ImageNum_1] is my 3rd image...
update:
a simple sorting before storing the files in the database removes the "sorting bug".
I would like to have my thumbnails resized to a max width of say 200px, and the large images have a max of 750px. Is this possible?
On the options page there is the 'Maximum Width' parameter, this controls the size of the large image? I am a wee bit lost...
EDIT. Ok, so Max width controls the width the image displays at before you click it. And when viewed, you still see it scaled down to this width, even if the image is bigger. Can the click through always go to the full size image, displayed at original dimensions, by default? Or what about an option for this to happen, as long as the original image is less than a specified max width for the large image.
Cheerz!
hello there.. my uploads result in broken images although the images load to the server successfully. any idea?
the img-urls seem to be correct (.../extensions/InlineImages/image.php?AttachmentID=1)
there is a bug in this extension similar to the one in JQMedia - it does not respect the user's text-only (worksafe) mode setting, but displays the images in the comment body regardless.
here's a fix: in InlineImages/default.php, change line 52 from:
$ImageBody = '<img src="'.$WebRoot.'extensions/InlineImages/image.php?AttachmentID='.$Attachment->AttachmentID.'" alt="'.$Attachment->Name.'" />'; to:
if ($AttachmentManager->Context->Session->User->Preference("HtmlOn") == 1) { $ImageBody = '<img src="'.$WebRoot.'extensions/InlineImages/image.php?AttachmentID='.$Attachment->AttachmentID.'" alt="'.$Attachment->Name.'" />'; } else { $ImageBody = $Attachment->Name; } this is just one approach, of course. the important thing is that Context->Session->User->Preference("HtmlOn") is respected.
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://img71.imageshack.us/img71/2904/messedaa0.jpgThis you use in the comment in HTML mode, you would type something like this :
<img src="http://img71.imageshack.us/img71/2904/messedaa0.jpg"/>in your comment where you want the image to appear.
i hope this helps :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Non selected images appear as images with just their name and image id
Selected images show the image placement icons, Full or Thumbnails, Delete plus a new Home button. The Home button makes the image appear on the discussion list next to the discussion title.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •don'tdo not use extraneous characters in filenames!Posted: Sunday, 29 April 2007 at 7:03PM
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Wanderer, I'd like to see you enforce that on the general public =D
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •function StripShit($guff){
$guff = str_replace("'", "x", $description);
return $guff;
}
Posted: Monday, 30 April 2007 at 3:01PM
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •note: i'm using the latest extension for attachments and inline
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •maybe your php isn't configured for image manipulations.
to see the error(s) just copy the url of the not displaying image in an empty browser window or post the link here.
regards, J
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •here it comes..
thank u for checking :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I'm thinking it's a corrupt image?
Posted: Friday, 13 July 2007 at 7:30AM
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •derfreddy, if you want to give me a server login, i can probably figure it out.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •here's a fix:
in InlineImages/default.php, change line 52 from:
$ImageBody = '<img src="'.$WebRoot.'extensions/InlineImages/image.php?AttachmentID='.$Attachment->AttachmentID.'" alt="'.$Attachment->Name.'" />';to:
if ($AttachmentManager->Context->Session->User->Preference("HtmlOn") == 1){
$ImageBody = '<img src="'.$WebRoot.'extensions/InlineImages/image.php?AttachmentID='.$Attachment->AttachmentID.'" alt="'.$Attachment->Name.'" />';
} else {
$ImageBody = $Attachment->Name;
}
this is just one approach, of course. the important thing is that Context->Session->User->Preference("HtmlOn") is respected.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •