X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   my image looks like poo (https://forum.x-cart.com/showthread.php?t=5510)

AKR 12-07-2003 05:15 PM

my image looks like poo
 
i designed it at a width of 900 px, so it's in between the top two screen resolutions. the problem is, it looks distorted. i KNOW it's supposed to look stretched or squeezed, depending on the resolution, but the actual image quality looks worse. in paint shop, when i stretch or squeeze it, it doesn't look bad like it does on line. does anyone know why this is and how to fix it? -Reuben

groovico 12-08-2003 09:36 AM

A url would be handy, hard to guess what you're meaning without one. Post a link for people to take a look and help you.

AKR 12-08-2003 08:51 PM

***edited to keep hackers away***

blue-dreamer 12-08-2003 11:18 PM

That's because images do distort when they are stretched, and unfortunately there's no compromise.

One option would be to use a flash logo, I believe this would stretch without losing quality - I'm no flash guru but have seen it done.

groovico 12-09-2003 11:22 AM

You got the width set to 100% on a normal bitmap image. It's a no no thing to do.

You need to build a fixed width image, if you want it to use up additional space you need to buffer the sides with background table images. For example resize this forum. notice the top images stay the same? You need to use the same kind of logic where it doesnt resize but rather slides.

You can do it a few ways in flash too but microsoft is being forced to remove the active X embedding code after january which is going to royally screw up future flash users so it's not a good path to take.

leon 12-09-2003 12:08 PM

Cut the image at some point and make it as the background image before you add the logo.

For example:

1. Cut the image after the TM
2. now you have 2 images
3. use three cells in a table
4. put your first image in cell #1
5. put your second image in cell #3
6. in the middle cell (cell #2) put a background image so it can repeat itself, usually a cut out from the logo that doesnt compromise letters or images.

Done.

AKR 12-16-2003 02:04 AM

i ended up just making it a fixed image and leaving it at that. thanks all, Reuben

leon 12-16-2003 04:00 AM

Seams all black to me, but when you have your site in different resolutions may not look so good (if you could actually see your logo).

juiceman 12-21-2003 07:19 PM

poo
 
well, I just checked it and it still looks like poo :lol:

I had the same issue at first. What I had to do was remove the formatting from the template.

AKR 01-04-2004 12:57 AM

Re: poo
 
Quote:

Originally Posted by juiceman
well, I just checked it and it still looks like poo :lol:

I had the same issue at first. What I had to do was remove the formatting from the template.


haha, yeah, i've been viewing it in mozilla, so it looked fine for me until i used IE. what do you mean "remove the formatting"?

lildawg 01-04-2004 05:23 AM

How big is your image really suppose to be? Also if trying to use the actual 1x120 then it is best to use that image as a background then to make it strecth the width of the page. Images used as backgrounds are NOT STRETCHED they are just repeatedly repeated until they fill the section. let us know so we can get this fixed for you.

leon 01-04-2004 07:02 AM

Yeah, you could use an image stilt to repeat background, but if the image they want is actually a Prototype for the site (as a logo or something) then its messed up.

AKR 01-05-2004 08:51 AM

it's supposed to be 900 x120. in mozilla, when i click to view the properties, it says it's 900x120, but in IE, it says 1x120. i DID have a 1x120 black image that i aligned on the left side because my search box and links ended up sitting over the large image (that looks like a sliver in IE) at the top. i used it to push them down below the large image, but i don't see that sliver in my head.tpl code anymore. this is really confusing. :(

leon 01-05-2004 09:07 AM

I got it !

Your problem is a missing closed tag in your TD where it says:

Code:

<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%" height="100%">
  <TR>
    <TD valign=top>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 class=HeadBox width=100%> 
<TR>
[b]<TD colspan="2" valign="top" align="center"[/b][img]../skin1/images/headbarbed.jpg[/img]<table border=0 cellpadding=0 cellspacing=0>
    <form method="get" action="../customer/search.php" name=productsearchform>


Notice the bold part, you didnt close your td tag properly before adding the:
[img]../skin1/images/headbarbed.jpg[/img]

Try that, it will probably solve your problem.

AKR 01-05-2004 10:17 AM

hmm, i made it "<TD colspan="2" valign="top" align="center">" but the image still looks the same.

leon 01-05-2004 10:26 AM

You also have a duplicate attribute in your tag, which is invalid for IE, dont know about Netscape:

[img]../skin1/images/headbarbed.jpg[/img]

Take out the width="fixed" and you will probably be ok.

AKR 01-05-2004 10:41 AM

nice! it works! thanks for your help, leon. and thanks to everyone else as well. i really appreciate it. =D>

leon 01-05-2004 10:48 AM

Your welcome, glad I was helpfull this time.

Tip:When you have problems with layouts or crashed images always right click on your browser, and choose view source, that will open Notepad, then save that specific code in an editor like Dreamweaver (my favorite) for example, it will highlight problems in yellow, making it easier to determine the problem (thats what I did). :wink:

AKR 01-05-2004 10:59 AM

ah, thanks, i'll keep that in mind.

leon 01-05-2004 06:52 PM

My pleasure. :wink:


All times are GMT -8. The time now is 07:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.