HTML - Image Scaling Problem
Hi all
Im having this weird issue.. On my site, under pics http://www.2muchspiff.com/weedimg/ some of the image are large, and when you zoom in on them, and zoom out, it makes the image all weird. How can i fix this? thanks Similar Tutorialshey all, sorry if you get alot of annoying questions on myspace so ill try to make this easy I have created an image with the scale of 1024x768 to put on my page. however, i have a monitor that runs on a 1440x900 resolution. of course i can change the image to fit my screen but then, it wouldnt fit the average users screen very well. Currently i have the image pushed to the left, but i can get it centered horizontally with the code Code: background-position: 200px 0px; but vertically im having a bit of trouble. heres an image of what im seeing. http://img409.imageshack.us/img409/1851/img1wz6.jpg the words on the right are suppose to read "Echoes From Malta" however the "ta" in "malta" is cut off the bottom of the page. thats what the problem is from my end of the picture. from my friends view, who is on a smaller screen (i dont know the size) sees the image as being to big for the screen compared to me seeing it so small. so in short, how can i get the image to fit the screen correctly for me, and get it to scale appropriately for viewers varying resolutions. thx for your help Hi, I'm doing some tweaks to my tumblr layout, and I'm really, really bad at this. What I need help with is the image scaling. The layout has standard 550 width for images posted. However, this makes all images this width automatically. For photos that are bigger than 550 px it's fine, they can be made smaller, but I wish to remove the feature that makes smaller photos being scaled up. F.ex. if I post an image with 200 or 300 px width, I don't want it to be scaled up to 550 px, I want it to stay in it's original, smaller size. How can I do this? Here's my code for images: {blockhoto} <div id="entry"> {block:IndexPage}<a href="{Permalink}">{/block:IndexPage} {blockermalinkPage}{LinkOpenTag}{/blockermalinkPage} <img src="{block:IndexPage}{PhotoURL-HighRes}{/block:IndexPage}{blockermalinkPage}{PhotoURL-HighRes}{/blockermalinkPage}" alt="{PhotoAlt}" max-width="550"/><div style="margin-top:-4px; margin-bottom:-4px;"></div> {block:IndexPage}</a>{/block:IndexPage} {blockermalinkPage}{LinkCloseTag} {/blockermalinkPage} {block:Ifshowcaptions}{Caption}{/block:Ifshowcaptions}</div> Thanks in advance. /V I've searched around quite a bit, read various articles and so-on and only really come to the conclusion that this is a lot harder than it should be! What I have is a simple page for a PHP script, it has a little form for entering keywords, and displays an image above this form. Now, what I want to do is place these in a table, and have that table resize to fit the viewable area of the user's browser-window. So, what I have is a table with three-rows: The title of the image The image itself The form for entering image keywords Now, what I would like to do is have the image scale to fill the middle cell, which by default eats up all available space leftover by the form and title cells. However, this isn't happening, I enter a height of 100% for the image but it seems to be using some other container to get its height. I'm generally well-versed in HTML, but this one has me stumped! Any help is appreciated, here is the basic HTML I'm using for what I had thought would be a simple page Code: <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" /> <meta name="author" content="Haravikk.com" /> <title>Add keywords</title> <style type="text/css"> body, html { height: 100%; margin: 0; text-align: center; } tr, td, textarea { width: 100%; } table { width: 99%; height: 100%; margin: 0 auto 0 auto; } table, td { border-width: 0; border-spacing: 0; padding: 0; } #image { height: 100%; } #tdTitle { height: 5%; } #tdImg { height: 75%; } #tdForm { height: 20%; } #formText { width: 100%; height: 75%; } </style> </head> <body> <table> <tr> <td id="tdTitle"><b>placeholder.png</b></td> </tr> <tr> <td id="tdImg"> <img id="image" src="http://haravikk.com/placeholder.png" alt="" /> </td> </tr> <tr> <td id="tdForm"> <form action="keywords.php" method="post"> <textarea name="keywords" id="fmrText"></textarea><br /> <input type="submit" /> </form> </td> </tr> </table> </body> </html> Now, I don't know if I could eliminate the table in favour of divs and do this, any suggestions to make the above html work, or to re-write it are welcome! The image provided is just to illustrate the problem hi i am building my site in flash cs3 , and when i test it in the browser,it is scaling depending how big is the browser,and I would like that the size of my web is fixed-not scaling .( because when someone resize the browser some images are getting really big and bad quality. So how can i make that my website is not scaling please? when i exported it from flash from the export options i choose NO scale,but its not working. so please help me what can i do? thanks My question is regarding this gallery that I put together: http://moparch.com/moparch/architecture/ds.html My goal is to make it so the image scales with the size of the browser window. Right now the image only scales as the page shrinks horizontally. When the page shrinks vertically the image does not change size. The page is made up of two flash movies, one for the images and one for the text and arrows. In dreamweaver I have set the image flash movie (the one on the left) to scale to 100% width and 100% height. I have set the text movie to be a fixed size. If anyone could explain how to get my image movie to scale as the browser window shrinks both horizontally and vertically I would greatly appreciate it. thanks Looks fine. Does not look fine. The first picture was fine because it was viewed with a 1024x768 resolution(which is the resolution that I'm working on my website with). However, any higher resolutions, and you'll see that the video goes out of place and moves too much to the right(second pic). I need to make it so that the video scales with all resolutions so it stays in place like in the first picture, no matter what the resolution is. Can anyone tell me how to fix this? Please be specific, i.e. what code? Thank you. I have a question about this web page: http://moparch.com/_moparch/architec...piastudio.html Right now, when you make the browser window smaller in the horizontal direction the image scales to fit the window. However, when you make the browser smaller in the vertical direction the image does not scale. How do I get the image to scale when I make the browser smaller in the vertical direction? Thanks in advance. Please see the following web page: http://moparch.com/moparch/architect...ucture/ds.html My question is: how do i get the flash movie (containing the pictures) to scale when the browser window gets smaller in the vertical direction? Right now it scales fine in the horizontal direction, but stays the same size when you make the window smaller in the vertical direction. Thank you in advance. I know there are a lot of table scaling issues out there, but I can't find one with my specific problem. I've set up this page made of a simple table with 9 cells. 3 Rows and 3 columns. All the cells have jpegs in them except the center one. That has a flash swf. My end intention is to have this without any scrollbars. I already know how to take those off, but I've left those on until I figure out this problem so that you can scroll around the page to see what I'm talking about. http://www.cachemeadow.com/beta_website/index2.html MY ISSUE: I'm wanting the viewer's screen to automatically center on the flash movie (the center cell). I would like all other cells in the table to 'bleed' off screen, thereby accommodating viewers with higher/lower screen resolutions. This also includes the first cell (top left) to bleed off the top-left so that the screen can be centered on the center cell. I would also prefer to make the page so that if anybody views or scales the entire window that it would always center in on the center cell (flash swf). I don't know very much code. I'm more of a graphics guy. Please help. Here's my existing code: Thank you. Hey everyone, I've been redesigning this website I did for a local restaurant, trying some different takes on things (not designing the entire website using framesets and tables), and I'm still a bit confused. I'm currently on a 1280x800 resolution, Windows Vista and Firefox 3, and designing the website in I suppose what would be what looks best in THIS resolution. However, when I switch to 1024x768 which a lot of people are still using, the website is offset to the right due to my 'margin-left: 200px;' in the container. How else can I go about centering this page so that it is in the middle for most/all resolutions? The link is he http://www.totaros.com/indexnew.aspx So far the index, directions, and cuisine pages are fresh. All of the other links should point either dead or to the old website's pages. Thank you for taking the time to read my message, and thanks for any help in advance! hey i need some help to scale my webpage to fit all screens. a mate of mine told me to use this code, however it dosn't work Code: <html> <head> <style> span.site { margin-left:auto; margin-right:auto; text-align:left; width:1680px; } </style> </head> <body> <span id="site"> blablabla </span> </body> </html> how should i solve this problem? quick intro~ im an artist making a unique gallery. i did have someone else helping out n tried doing things in wordpress but that was getting to be too much trouble (especially after a promotion in their dayjob left me effectively alone with a site beyond my understanding). so i'm striking out to make it look as i want in plain ol' html first, and will tackle the database and backend stuff later. http://www.gaudiepod.org.uk/light/al.../test****.html ^ this example uses a few different techniques from my explorations of the possibilities. http://www.gaudiepod.org.uk/light/al...t****beta.html ^ this example is closer to what i am looking for (ignoring that it's all the same image for the moment). the images aren't merely cell-backgrounds, and so can be turned into clickable links without messy text (which was there just to give something that i could turn to links to lead to the fullscreen images), however all is not yet quite right.... ...when the window is large enough, the images in the grid show correctly, filling the screen. (hurrah!) but squish the window too small, and the cells refuse to shrink further than 100% the image's original size, and worse, the "fill table to 100% of window" breaks, and a scrollbar appears. i was wondering perhaps if i discovered the code to disable the scrollbar, that would force the table to remain constrained to the window's edge again. (would it?) but i'm guessing this cant be the whole solution, given the behavior of the table as is. what i'm going for, is a grid of 9 clickable images , that always scale to fit the window (or frame). (tho of course, the skills here will be scalable/transferable to tables any number of cells, not limited to just a 3x3 table of 9 cells) how can i make sure the table remains inside the window (no scrollbars!), and the images can scale down to smaller than original size? if i've messed up some other way (like left some link pointing to my local files or something), do please let me know. Hi there, I recently made a "mobile" version of my business' website, and am using some javascript to redirect screen sizes smaller than 480px. The problem is, the mobile page I designed looks tiny on iPhones, even though in a regular browser it looks very similar to other site's mobile pages (which look great on the iPhone.) If someone could give me some advice as to why this is happening, I would appreciate it very much. I found a site that looks and acts just like how I want mine to: http://mobile.walmart.com/m/home And here is mine: http://www.sandiegopcsupport.com/mobile/ Thanks Hi. At the moment I'm developing my new site but I have a strange problem. I want to insert an image and make it wider. The original resolution is 1 * 350px and I want to make it 200px wide. But when I insert the code below The image's heigth becomes huge. Code: <img src="images/t3.jpg" width="200px" /> Can you tell me what's the problem. This slows down the entire process. Hi all, I have a problem with one image on a website. Unfortunately it seems to be a problem only for my client. She's using a pc, latest Exploror and has Norton running (which may be the problem). Here's the page with the problem: http://www.sheilachandra.com/information/biog.html The problem image is the linked image on the right hand side, 'Get to know Sheila's career in three minute or less'. It just will not load in to the browser on my clients computer!! It's as if the link never existed. Here's the code that should be the Code: <a href="biog3.html"><img src="../images/general/3minsb.gif" width="120" height="60" border="0"></a> Here's the code that my client sees: Code: <a href="biog3.html"></a> Something has stripped the tag out of the link! Also, here's the bit of javascript that Norton places in the page. Not sure if that's got anything to do with it, but I thought I'd plonk it here anyway: Code: <script language="JavaScript"> <!-- function SymError() { return true; } window.onerror = SymError; var SymRealWinOpen = window.open; function SymWinOpen(url, name, attributes) { return (new Object()); } window.open = SymWinOpen; //--> </script> Any idea appreciated?? Ok, this probably sounds kinda noobie... or whatever but I put to image codes next to each other like so... HTML Code: <img align="left" src="ball1.png" alt="ball"> <br> <img align="left" src="ball2r.png" alt="ball2"> ok they both show but instead of it looking like this BALL1 IMAGE BALL 2 IMAGE There next to each other like this BALL 1 IMAGE BALL 2 IMAGE How do I solve this also...... how can I move text along without using this HTML Code: <p align="center" say if I only wanted a few spaces forward how would I do that? sorry for my lack of knowledge! Because I'm still in the process of learning HTML, I am currently creating a webpage in GIMP and using the image map tool to build my website. I have a page at this URL: www.wildthangracing.zzl.org/index2.html The page is loading just fine, but there is white space at the top, left, and bottom of the page and I can't figure out how to get rid of it. Here's the code: <html> <head> <title>Wild Thang Racing</title> <img src="home.gif" width="1349" height="768" border="0" usemap="#map" /> <map name="map"> <area shape="rect" coords="255,133,651,187" href="index.html" /> <area shape="rect" coords="375,214,471,239" href="index.html" /> <area shape="rect" coords="485,216,612,239" href="about.html" /> <area shape="rect" coords="625,214,728,242" href="gallery.html" /> <area shape="rect" coords="738,209,904,240" href="contact.html" /> <area shape="rect" coords="918,209,996,240" href="links.html" /> <area shape="rect" coords="745,119,1079,202" href="http://www.facebook.com/wildthangracing" /> </map> </head> <body> </body> </html> Does anyone know what could be the cause of this? The image map on my site works fine in Safari and Flock on my computer... but works in neither on my actual website? I don't know where the coding could have messed up? i used java for the image map... if anybody knows a more foolproof coding method for it, let me know... www.illustrationbeast.com if anybody needs any of the code not on view source let me know Hello, I literally only have the rest of today to figure this out; it is a quick fix I'm trying to do for a company. I'm sure this has been asked many times, but if someone would be so kind as to re-explain I would be SO grateful. I have made a website with an image map and tables that works well in Safari and Firefox, but gets pretty messed up in IE. The website is www.goldleafworld.com You can view the code there. I'm pretty sure this is something minor..if anybody has any suggestions I would be forever in your debt! Thanks in advance. Megan Hi everyone. I don't often use image maps, but for a project I'm doing at work at the moment, I felt it is appropriate, especially as I don't have (or know how to do) Flash. Here's the code I have for a an image map, which when you hover over each outside section, the image changes to another and back again when you hover out. Code: <h2>Overture</h2> <p>Click on the sections for further information.</p> <script type="text/javascript"> Image1 = new Image(523,541) Image1.src = "overturemap.gif" Image1.border="0" Image2 = new Image(523,541) Image2.src = "overturemap_over_appform.gif" Image2.border="0" Image3 = new Image(523,541) Image3.src = "overturemap_over_prospecting.gif" Image4 = new Image(523,541) Image4.src = "overturemap_over_script.gif" Image5 = new Image(523,541) Image5.src = "overturemap_over_calc.gif" </script> <img src ="overturemap.gif" width="523" height="541" border="0" name="overture" id="overture" alt="overture image" usemap ="#overturemap" /> <script type="text/javascript"> function appform() { document.overture.src = Image2.src; return true; document.overture.src = Image2.border; return true; } function prospecting() { document.overture.src = Image3.src; return true; } function script() { document.overture.src = Image4.src; return true; } function calc() { document.overture.src = Image5.src; return true; } function original() { document.overture.src = Image1.src; return true; } </script> <map id ="overturemap" name="overturemap"> <area shape="circle" coords="260,79,62" href="PrivateSIPPTrust_Application_Form.doc" target="_blank" alt="Application Form Image" onMouseOver="appform()" onMouseOut="original()" /> <area shape="circle" coords="78,267,62" href="/site/492/overture_prospecting.aspx" target="_blank" alt="Prospecting Image" onMouseOver="prospecting()" onMouseOut="original()" /> <area shape="circle" coords="445,267,62" href="/site/493/overture_telephone_script.aspx" target="_blank" alt="Script image" onMouseOver="script()" onMouseOut="original()" /> <area shape="circle" coords="260,456,62" href="CALC_Overture_1.11.xls" target="_blank" alt="Calculator Image" onMouseOver="calc()" onMouseOut="original()" /> </map> What I want to know is, what's that top and left border doing on the image? I can't get rid of it and don't want it there. The working map can be viewed at http://swweb.frih.net/map/imagemap.html Many Thanks |