Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Open Pictures In New Window

Reply
Thread Tools

Open Pictures In New Window

 
 
azzamqazi@gmail.com
Guest
Posts: n/a
 
      07-19-2006
Hi guys,

How are you all doing? Hope good. I have a problem and was
wondering if someone can help me out here. I have a webpage with images
in it. Now what i want to do is that when the user clicks on the image,
the image will appear in a new Window and will be enlarged. I dont know
much HTML and would greatly appreciate it if someone can help me out
here.

Thanks a lot guys!!!

 
Reply With Quote
 
 
 
 
jojo
Guest
Posts: n/a
 
      07-19-2006

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hi guys,
>
> How are you all doing? Hope good. I have a problem and was
> wondering if someone can help me out here. I have a webpage with images
> in it. Now what i want to do is that when the user clicks on the image,
> the image will appear in a new Window and will be enlarged. I dont know
> much HTML and would greatly appreciate it if someone can help me out
> here.
>
> Thanks a lot guys!!!
>


<a href="image.jpg">< img src="image.jpg></a>

There ya go! I'm pretty sure this is what your looking for.


jojo


 
Reply With Quote
 
 
 
 
Mike Massonnet
Guest
Posts: n/a
 
      07-19-2006
Le Wed, 19 Jul 2006 18:37:54 +0000, jojo a écrit*:

>
> <a href="image.jpg">< img src="image.jpg></a>
>
> There ya go! I'm pretty sure this is what your looking for.
>


Look at all the errors you wrote there... this is a pita.

Anyhow, azzamqazi, consider not cross-posting. I already read your post
on another group, and answered there.

>
> jojo


Mike
--
http://massonnet.org/ Mike Massonnet (mmassonnet) ,-.
, ( {o\
GnuPG 0--" 0xF8C80F97 {`"=,___) (`~
C4DA 431D 52F9 F930 3E5B 3E3D 546C 89D9 F8C8 0F97 \ ,_.- )

 
Reply With Quote
 
jojo
Guest
Posts: n/a
 
      07-19-2006

"jojo" <cgv_2000@*remove your hat*yahoo.com> wrote in message
news:6_uvg.174439$(E-Mail Removed) .net...
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ups.com...
>> Hi guys,
>>
>> How are you all doing? Hope good. I have a problem and was
>> wondering if someone can help me out here. I have a webpage with images
>> in it. Now what i want to do is that when the user clicks on the image,
>> the image will appear in a new Window and will be enlarged. I dont know
>> much HTML and would greatly appreciate it if someone can help me out
>> here.
>>
>> Thanks a lot guys!!!
>>

>
> <a href="image.jpg">< img src="image.jpg></a>
>
> There ya go! I'm pretty sure this is what your looking for.
>
>
> jojo
>


ok, I goofed. this is corrected:

<a href="yourimage.jpg" target="whatever"><img src="yourimage.jpg"></a>

This allows you to click on an image to one the image on a new page


 
Reply With Quote
 
jojo
Guest
Posts: n/a
 
      07-19-2006

"Mike Massonnet" <_@_.ch> wrote in message
newsan.2006.07.19.18.50.42.339373@_.ch...
> Le Wed, 19 Jul 2006 18:37:54 +0000, jojo a écrit :
>
>>
>> <a href="image.jpg">< img src="image.jpg></a>
>>
>> There ya go! I'm pretty sure this is what your looking for.
>>

>
> Look at all the errors you wrote there... this is a pita.
>
> Anyhow, azzamqazi, consider not cross-posting. I already read your post
> on another group, and answered there.
>
>>
>> jojo

>
> Mike
> --
> http://massonnet.org/ Mike Massonnet (mmassonnet) ,-.
> , ( {o\
> GnuPG 0--" 0xF8C80F97 {`"=,___) (`~
> C4DA 431D 52F9 F930 3E5B 3E3D 546C 89D9 F8C8 0F97 \ ,_.- )
>


your right Mike...I goofed. Just posted a revision.
Can you post your solution here? I can't see it.

Thanks,
jojo


 
Reply With Quote
 
Mike Massonnet
Guest
Posts: n/a
 
      07-19-2006
Le Wed, 19 Jul 2006 18:55:01 +0000, jojo a écrit*:

> your right Mike...I goofed. Just posted a revision.
> Can you post your solution here? I can't see it.
>


It is the same as yours

> Thanks,
> jojo


Cheers,
Mike
--
http://massonnet.org/ Mike Massonnet (mmassonnet) ,-.
, ( {o\
GnuPG 0--" 0xF8C80F97 {`"=,___) (`~
C4DA 431D 52F9 F930 3E5B 3E3D 546C 89D9 F8C8 0F97 \ ,_.- )

 
Reply With Quote
 
jojo
Guest
Posts: n/a
 
      07-19-2006

"Mike Massonnet" <_@_.ch> wrote in message
newsan.2006.07.19.19.50.02.509750@_.ch...
> Le Wed, 19 Jul 2006 18:55:01 +0000, jojo a écrit :
>
>> your right Mike...I goofed. Just posted a revision.
>> Can you post your solution here? I can't see it.
>>

>
> It is the same as yours
>
>> Thanks,
>> jojo

>
> Cheers,
> Mike
> --
> http://massonnet.org/ Mike Massonnet (mmassonnet) ,-.
> , ( {o\
> GnuPG 0--" 0xF8C80F97 {`"=,___) (`~
> C4DA 431D 52F9 F930 3E5B 3E3D 546C 89D9 F8C8 0F97 \ ,_.- )
>


Cool!
I did not mean to jump in with bad info, I'm a newbie too and just wanted to
help.
I hope he reads the entire thread!


jojo



 
Reply With Quote
 
Chris F.A. Johnson
Guest
Posts: n/a
 
      07-19-2006
On 2006-07-19, http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Hi guys,
>
> How are you all doing? Hope good. I have a problem and was
> wondering if someone can help me out here. I have a webpage with images
> in it. Now what i want to do is that when the user clicks on the image,
> the image will appear in a new Window and will be enlarged. I dont know
> much HTML and would greatly appreciate it if someone can help me out
> here.


The important thing is DON'T! If the user wants it in a new window,
he can tell the browser to do that. Just put the img in a link, with
a thumbnail in the img:

<a href="xxx.png"><img src="xxx-thumb.png" alt="xxx.png"></a>

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
 
Reply With Quote
 
azzamqazi@gmail.com
Guest
Posts: n/a
 
      07-20-2006
Thanks a lot guys. So lets see here is what i have to do to display the
image in a new window right?

<a href="yourimage.jpg" target="whatever"><img src="yourimage.jpg"></a>


Also can i tell the browser to fetch the image from another website, is
there a way i can specify a URL to the image in this command?

I greatly appreciate all the help guys.
Thanks a lot


Chris F.A. Johnson wrote:
> On 2006-07-19, (E-Mail Removed) wrote:
> > Hi guys,
> >
> > How are you all doing? Hope good. I have a problem and was
> > wondering if someone can help me out here. I have a webpage with images
> > in it. Now what i want to do is that when the user clicks on the image,
> > the image will appear in a new Window and will be enlarged. I dont know
> > much HTML and would greatly appreciate it if someone can help me out
> > here.

>
> The important thing is DON'T! If the user wants it in a new window,
> he can tell the browser to do that. Just put the img in a link, with
> a thumbnail in the img:
>
> <a href="xxx.png"><img src="xxx-thumb.png" alt="xxx.png"></a>
>
> --
> Chris F.A. Johnson <http://cfaj.freeshell.org>
> ================================================== =================
> Author:
> Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


 
Reply With Quote
 
azzamqazi@gmail.com
Guest
Posts: n/a
 
      07-20-2006
OK i got it. I can put the link directly. Now the problem is that i
want the image to be displayed a little larger. Is there a way to do
that?

(E-Mail Removed) wrote:
> Thanks a lot guys. So lets see here is what i have to do to display the
> image in a new window right?
>
> <a href="yourimage.jpg" target="whatever"><img src="yourimage.jpg"></a>
>
>
> Also can i tell the browser to fetch the image from another website, is
> there a way i can specify a URL to the image in this command?
>
> I greatly appreciate all the help guys.
> Thanks a lot
>
>
> Chris F.A. Johnson wrote:
> > On 2006-07-19, (E-Mail Removed) wrote:
> > > Hi guys,
> > >
> > > How are you all doing? Hope good. I have a problem and was
> > > wondering if someone can help me out here. I have a webpage with images
> > > in it. Now what i want to do is that when the user clicks on the image,
> > > the image will appear in a new Window and will be enlarged. I dont know
> > > much HTML and would greatly appreciate it if someone can help me out
> > > here.

> >
> > The important thing is DON'T! If the user wants it in a new window,
> > he can tell the browser to do that. Just put the img in a link, with
> > a thumbnail in the img:
> >
> > <a href="xxx.png"><img src="xxx-thumb.png" alt="xxx.png"></a>
> >
> > --
> > Chris F.A. Johnson <http://cfaj.freeshell.org>
> > ================================================== =================
> > Author:
> > Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Window.Open get new tab instead of new window in FireFox Fredzidd@gmail.com Javascript 1 02-29-2008 03:06 AM
window.open() doesn't open new Window in Opera PC HUA Javascript 2 05-19-2004 02:29 AM
Need to open a new browser window, not a new window Gordon ASP General 3 04-16-2004 10:46 PM
Re: open window a new window and retrieve data from it. C# Cheryl ASP .Net 2 11-13-2003 11:07 AM
open window a new window and retrieve data from it. C# Cheryl ASP .Net 2 11-12-2003 05:30 AM



Advertisments