Using Frames-way to change Image size just using the link?-please read

D

danCER

I know that subject is confusing, kind of like how I am confused.
I know how to page a page with frames, and I know how to link from one
frame to another frame.
Let's say I have two columns: the first with a list of pics
and the second column to display those pics one at a time.
So the link of the image is in the first column and the target is the
second
column. Is there a way that the imaged can be resized in the second
column by just using the link in the first column?
Ex. In first column the html is:
<a href=01.jpg target=main>Picture 1</A>

Yes the picture will show up in column 2 but I need it smaller. I
don't want to use paintshop pro to rezise all of these pics, or to
make a page for each picture using the width and height attributes in
the src.

Any thoughts?
Thanks.
danCER
 
N

Nico Schuyt

danCER said:
Yes the picture will show up in column 2 but I need it smaller. I
don't want to use paintshop pro to rezise all of these pics, or to
make a page for each picture using the width and height attributes in
the src.

Use PHP. Function getimagesize gets the width and height of an image. After
that you can make the necessary calculations in PHP and display it on screen
like you want.
Nico
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top