473,406 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Image and resize

Ok - this is driving me crazy. I found a lot of threads about this
topic but nothing has helped me. I'm sorry if I'm posting this in the
the wrong place.

I have the following code in a .net page:
<IMG alt="photo" src="Images\a.gif" height="70" width="70">

When the page opens, the window is not maximized. So when I maximize
the window, the image disappears. If I restore down, the image is
still gone. All the darn coding on this page and I'm getting stuck on
HTML!!!!

Thanks,
Sunshine

Jul 23 '05 #1
3 1499
Figured it out. The image is inside a table with a set height. The
table height was too small for the image when the window was maximized.
I increased the table height and now it's fine.

Sunshine

Jul 23 '05 #2
Sunshine wrote:
Ok - this is driving me crazy. I found a lot of threads about this
topic but nothing has helped me. I'm sorry if I'm posting this in the
the wrong place.

I have the following code in a .net page:
<IMG alt="photo" src="Images\a.gif" height="70" width="70">

When the page opens, the window is not maximized. So when I maximize
the window, the image disappears. If I restore down, the image is
still gone. All the darn coding on this page and I'm getting stuck on
HTML!!!!


What does this have to do with JavaScript?

If you put your problematic line of code into a page by itself
and it works, then it is most likely some other code on your
page that is causing your errors.

A good place to start is the w3c HTML validator at:

<URL:http://www.w3.org>

In the meantime, try:

<html><head><title>Just an image</title>
</head><body>
<IMG alt="photo" src="Images\a.gif" height="70" width="70">
</body></html>

--
Zif
Jul 23 '05 #3
On 27 Jan 2005 07:15:01 -0800 Sunshine wrote:
Figured it out. The image is inside a table with a set height. The
table height was too small for the image when the window was maximized.
I increased the table height and now it's fine. Sunshine

You would be better off creating an image with that size instead of forcing
the server to resize it.
Which also takes less time to load the page.
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Chris Dewin | last post by:
Hi. I run a website for my band, and the other guys want an image gallery. I'm thinking it would be nice and easy, if we could just upload a jpg into a dir called "gallery/". When the client...
2
by: Carl Gilbert | last post by:
Hi I am looking for either a component or technique to allow me to do the following: * Provide a panel with a background image * Resize the image to best fit the panel to maintain aspect...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
1
by: Arjen | last post by:
Hi, I want to resize an image on my server. I tried a lot of samples... but all the time it does resize and saves the images but I can not view the image insize a webbrowser. With an...
2
by: Tim Arnold | last post by:
Hi, I'm using the Image module to resize PNG images from 300 to 100dpi for use in HTML pages, but I'm losing some vertical and horizontal lines in the images (usually images of x-y plots). ...
2
by: Dominic Vella | last post by:
Hi, I know I seem to have the really complicated questions, but I guess that's why I'm here. This is a little verbose, only because I've been trying to crack this for a week now. Your help...
3
by: danielatdaveschool | last post by:
Hi, noob here Im using mod_python and apache2 using psp for output of page, i open a file and resize it with the following code <% import Image, util fields = util.FieldStorage(req)...
8
by: infoseekar | last post by:
Image Resize & Rotation Hi I have 2 scripts, one for Image rotation and other image resize and they both are working. Image resize scripts load the picture and resize it and Image rotation...
22
by: simon2x1 | last post by:
i have an image which width is 213 and height is 200 when i echo the image and i resize it echo "<img src='company/$present' width='70' height='68'/>"; the image was not as clear as when it was...
14
anfetienne
by: anfetienne | last post by:
hi.....i have this script (below #1) that is linked to another php file SimpleImage.php (#2) im trying to get it to work on my uploaded images but it keeps coming up errors.....i haven't altered...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.