preparing picture to submit to a forum

  • Thread starter Thread starter DSG
  • Start date Start date
D

DSG

I have a need to submit pictures to a forum so that the only thing the
viewer sees is the picture.

For instance, I have added a small picture on a new page in my web, removed
the top, left and bottom borders for just that page. What else do I need to
do so all they get when they click on the URL is the picture. Thank you.
DSG
 
DSG said:
I have a need to submit pictures to a forum so that the only thing
the viewer sees is the picture.

For instance, I have added a small picture on a new page in my web,
removed the top, left and bottom borders for just that page. What
else do I need to do so all they get when they click on the URL is
the picture. Thank you. DSG

You need to publish the image file, e.g. a jpeg file to the web.

You can then link to it and the picture itself will open
<a href="image.jpg">Click to see Image </a>
 
Yes, but don't you have to deliberately size the frame for the picture so
the viewer doesn't get the whole, long page?
: DSG wrote:
: > I have a need to submit pictures to a forum so that the only thing
: > the viewer sees is the picture.
: >
: > For instance, I have added a small picture on a new page in my web,
: > removed the top, left and bottom borders for just that page. What
: > else do I need to do so all they get when they click on the URL is
: > the picture. Thank you. DSG
:
: You need to publish the image file, e.g. a jpeg file to the web.
:
: You can then link to it and the picture itself will open
: <a href="image.jpg">Click to see Image </a>
: --
: Cheers,
: Trevor L.
: Website: http://tandcl.homemail.com.au
:
:
 
DSG said:
Yes, but don't you have to deliberately size the frame for the
picture so the viewer doesn't get the whole, long page?

O.K. I think I understand.

Are you saying that the image (example image.jpg) is larger than you want.

Then I guess you are stuck with linking to an html page, but that page can
resize the image.
e.g <a href="image.html">Click to see Image </a>

The file image.html contains
<html>
<head>
<title>Picture Caption</title>
</head>
<body>
<img src="image.jpg" height="600" width="400" /><br />
Picture Caption
</body>
</html>
 
No, that is not it, exactly. One of the forums requests that we give the
URL like this: "the_url_for_the_website/images/picture.jpg".
When the forum visitor clicks on my URL, they get the picture, but they get
the whole, big page (nothing on it except the picture which is 2" x 2.5" in
the top, left corner). Others who submit their pictures have done something
to place the small picture inside a frame. When we click on their URL, their
small picture in a small frame is all that opens - not a whole web page.
I'm trying to find out how this is done. DSG
...................................

: DSG wrote:
: > Yes, but don't you have to deliberately size the frame for the
: > picture so the viewer doesn't get the whole, long page?
: >>>>>>>>>>>>>>>>>>>>>
:
: O.K. I think I understand.
:
: Are you saying that the image (example image.jpg) is larger than you want.
:
: Then I guess you are stuck with linking to an html page, but that page can
: resize the image.
: e.g <a href="image.html">Click to see Image </a>
:
: The file image.html contains
: <html>
: <head>
: <title>Picture Caption</title>
: </head>
: <body>
: <img src="image.jpg" height="600" width="400" /><br />
: Picture Caption
: </body>
: </html>
: --
: Cheers,
: Trevor L.
: Website: http://tandcl.homemail.com.au
:
:
 
DSG said:
No, that is not it, exactly. One of the forums requests that we give
the URL like this: "the_url_for_the_website/images/picture.jpg".
When the forum visitor clicks on my URL, they get the picture, but
they get the whole, big page (nothing on it except the picture which
is 2" x 2.5" in the top, left corner). Others who submit their
pictures have done something to place the small picture inside a
frame. When we click on their URL, their small picture in a small
frame is all that opens - not a whole web page. I'm trying to find
out how this is done. DSG ..................................

Hmmm!
Interesting.

If I were doing it form my own website, I would use Jimco's Spawn
http://www.jimcosoftware.com/ which *will* open a small window.
See my site and click on either of the pictures at top left or right. They
open in a window exactly the size of the image

Are you only posting the address to the forum? If so, you can use Spawn to
place it in a specially sized window.
(I can post further info on how to do this.)

Could you post URLs which open in the 2 different ways?
(The source code may give a clue.)
 
If you are linking just to the image, then the image is loading in the default browser window, you
have no control over this.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
One of the forums actually shows the picture right into the message I send
with it. It uses my url to read the picture (not a page) directly from my
images folder from my website.

The forum for which I need a frame the size of the picture (like on your
website) (instead of the whole web page where the small picture shows up on
a large page) also uses the url for where the picture is (images folder from
the website), but includes in the message a tiny thumbnail. When the viewer
clicks on that thumbnail, they get the small picture inside a small frame.

This conversation has caused me to think a little harder and I think I have
got it. I'll get back to you and thanks for Jimco's URL. I was there last
night and saw the spawn thing but didn't read what it does. dsg



: DSG wrote:
: > No, that is not it, exactly. One of the forums requests that we give
: > the URL like this: "the_url_for_the_website/images/picture.jpg".
: > When the forum visitor clicks on my URL, they get the picture, but
: > they get the whole, big page (nothing on it except the picture which
: > is 2" x 2.5" in the top, left corner). Others who submit their
: > pictures have done something to place the small picture inside a
: > frame. When we click on their URL, their small picture in a small
: > frame is all that opens - not a whole web page. I'm trying to find
: > out how this is done. DSG ..................................
:
: Hmmm!
: Interesting.
:
: If I were doing it form my own website, I would use Jimco's Spawn
: http://www.jimcosoftware.com/ which *will* open a small window.
: See my site and click on either of the pictures at top left or right. They
: open in a window exactly the size of the image
:
: Are you only posting the address to the forum? If so, you can use Spawn to
: place it in a specially sized window.
: (I can post further info on how to do this.)
:
: Could you post URLs which open in the 2 different ways?
: (The source code may give a clue.)
: --
: Cheers,
: Trevor L.
: Website: http://tandcl.homemail.com.au
:
:
 
May 1, 2006
Here is a sample of what I've tried to explain:
http://www.mountain-toursltd.com/aaenglish/kindergarten.htm
Click on Photo Gallery. The picture(s) pop out of the web into its own
frame. That's what I want to do.
...........................................

:I have a need to submit pictures to a forum so that the only thing the
: viewer sees is the picture.
:
: For instance, I have added a small picture on a new page in my web,
removed
: the top, left and bottom borders for just that page. What else do I need
to
: do so all they get when they click on the URL is the picture. Thank you.
: DSG
:
:
 
It was done with JAlbum, not FP's Photo Gallery

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
DSG said:
May 1, 2006
Here is a sample of what I've tried to explain:
http://www.mountain-toursltd.com/aaenglish/kindergarten.htm
Click on Photo Gallery. The picture(s) pop out of the web into its
own frame. That's what I want to do.

Hi DSG,
This page uses spawnJimcoPopup.
Here is the code to open one picture. (I have placed each parameter on a
separate line for ease of reading):
onclick="spawnJimcoPopup
('../skischools/alibaba/index.html'
,'alibabainvernoestate'
,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'
,'450'
,'700'
,'center'
,'center'
,'pixel')
;return false;">

Obtain it from: http://www.jimcosoftware.com/ (or just copy the code below)

It is a very useful tool. The function is:
// Jimco Add-ins Spawn JavaScript
// This script is freely redistributable.
function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
{
var windowOptions;
if (scaleType == 'percent')
{
w = (w * screen.availWidth) / 100;
h = (h * screen.availHeight) / 100;
}
if (x == 'center')
{
x = (screen.availWidth - w) / 2;
y = (screen.availHeight - h) / 2;
}
windowOptions = options + ',width=' + w + ',height=' + h + ',left=' + x +
',top=' + y;
newWindow = window.open(url, name, windowOptions);
newWindow.focus();
}
Its parameters are:
url: the file you want to open
name: its name - can be blnak,
options: various options such as
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'
Generally leave these as default
h: height of the window
w: width of the window
x: position of the window in x direction (from the left) or
'center'
y: position of the window in x direction (from the top) or
'center'
scaleType: 'percent' or 'pixel' (units for h and w)

If x is 'center' the window centres in both directions (regardless of what y
is)
I find it useful to change the function to read
function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
{
if (scaleType == 'percent')
{ h = (h * screen.availHeight) / 100
w = (w * screen.availWidth) / 100 }
if (x == 'center')
x = (screen.availWidth - w) / 2
if (y == 'center')
y = (screen.availHeight - h) / 2
options += ',width=' + w + ',height=' + h
+ ',left=' + x + ',top=' + y
var newWindow = window.open(url, name, options)
newWindow.focus()
}

Then the window can be centered in x and y directions independently. I use
it this way on my site. (Clickon a picture at top left or top right of the
home page - it opens centred in x direction, not in y.)
 
Happy Spawning?? Now I feel like a fish swimming upstream. Thanks, guys. I
guess I have enough information now to pick up what I need. I couldn't
think of a good search word, so didn't find much direction. Both of you have
been very helpful. Most of the time I create little tutorials on my website
for these two graphics forums to save their bandwidth, so I just send my
website's URL, but it will be better to have the pop-out picture with the
text on their forums. Again, Thanks.
DSG
.........................................
: DSG wrote:
: > May 1, 2006
: > Here is a sample of what I've tried to explain:
: > http://www.mountain-toursltd.com/aaenglish/kindergarten.htm
: > Click on Photo Gallery. The picture(s) pop out of the web into its
: > own frame. That's what I want to do.
:
: Hi DSG,
: This page uses spawnJimcoPopup.
: Here is the code to open one picture. (I have placed each parameter on a
: separate line for ease of reading):
: onclick="spawnJimcoPopup
: ('../skischools/alibaba/index.html'
: ,'alibabainvernoestate'
:
,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'
: ,'450'
: ,'700'
: ,'center'
: ,'center'
: ,'pixel')
: ;return false;">
:
: Obtain it from: http://www.jimcosoftware.com/ (or just copy the code
below)
:
: It is a very useful tool. The function is:
: // Jimco Add-ins Spawn JavaScript
: // This script is freely redistributable.
: function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
: {
: var windowOptions;
: if (scaleType == 'percent')
: {
: w = (w * screen.availWidth) / 100;
: h = (h * screen.availHeight) / 100;
: }
: if (x == 'center')
: {
: x = (screen.availWidth - w) / 2;
: y = (screen.availHeight - h) / 2;
: }
: windowOptions = options + ',width=' + w + ',height=' + h + ',left=' + x
+
: ',top=' + y;
: newWindow = window.open(url, name, windowOptions);
: newWindow.focus();
: }
: Its parameters are:
: url: the file you want to open
: name: its name - can be blnak,
: options: various options such as
:
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'
: Generally leave these as default
: h: height of the window
: w: width of the window
: x: position of the window in x direction (from the left)
or
: 'center'
: y: position of the window in x direction (from the top) or
: 'center'
: scaleType: 'percent' or 'pixel' (units for h and w)
:
: If x is 'center' the window centres in both directions (regardless of what
y
: is)
: I find it useful to change the function to read
: function spawnJimcoPopup(url, name, options, h, w, x, y, scaleType)
: {
: if (scaleType == 'percent')
: { h = (h * screen.availHeight) / 100
: w = (w * screen.availWidth) / 100 }
: if (x == 'center')
: x = (screen.availWidth - w) / 2
: if (y == 'center')
: y = (screen.availHeight - h) / 2
: options += ',width=' + w + ',height=' + h
: + ',left=' + x + ',top=' + y
: var newWindow = window.open(url, name, options)
: newWindow.focus()
: }
:
: Then the window can be centered in x and y directions independently. I use
: it this way on my site. (Clickon a picture at top left or top right of the
: home page - it opens centred in x direction, not in y.)
: --
: Happy spawning,
: Trevor L.
: Website: http://tandcl.homemail.com.au
:
:
 
Back
Top