Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get a crisp, clear header image


oliviaiam

Recommended Posts

have you edited the header.php file? you will need to add the images dimensions and add the right name for your image

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

If you're using an FTP program to transfer the image to your web site, be sure you use BINARY mode to transfer image files, as opposed to ASCII mode used for text files.

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

The image is over-stretched. It is naturally 500x121 but you have it at 100%x185. You need to do as rabbit suggests and input the correct dimensions for it.

 

You also have an incomplete closing table tag there </table

Link to comment
Share on other sites

The image is over-stretched. It is naturally 500x121 but you have it at 100%x185. You need to do as rabbit suggests and input the correct dimensions for it.

 

You also have an incomplete closing table tag there </table

 

 

Thanks so much, Peter...and Rabbit! That sounds like the solution. I'll give it a try.

Link to comment
Share on other sites

Thanks so much, Peter...and Rabbit! That sounds like the solution. I'll give it a try.

 

Peter---I hate to be such a dolt. But which file contains the incomplete closing tag? Thanks.

 

Also, I've reworked the art and transferred it in binary (rather than ASCII), but it still comes out with choppy text and a pixelated image. Any ideas? Could the incomplete closing tag be causing the problem or do you think it's something else? ...Anyone?

Link to comment
Share on other sites

find this in header.php

<tr class="header">
	<td valign="bottom">
		<img border="0" src="images/store_logo.png" width="100%" height="185"></td>
</tr>
</table

 

change to:

<tr class="header">
	<td valign="bottom">
		<img border="0" src="images/store_logo.png" width="379" height="92"></td>
</tr>
</table>

 

that will make it the right size

 

but if you want it to stretch and look good you really need to edit the original psd file and make it the size you want it to be, then add the correct dimentions in header.php like I just showed you

 

HTH

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

width="379" height="93">

 

Also, the lettering on that image at correct size is still rough.

You might want to consider recreating it or getting a pro in if you can afford it.

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Link to comment
Share on other sites

find this in header.php

<tr class="header">
	<td valign="bottom">
		<img border="0" src="images/store_logo.png" width="100%" height="185"></td>
</tr>
</table

 

change to:

<tr class="header">
	<td valign="bottom">
		<img border="0" src="images/store_logo.png" width="379" height="92"></td>
</tr>
</table>

 

that will make it the right size

 

but if you want it to stretch and look good you really need to edit the original psd file and make it the size you want it to be, then add the correct dimentions in header.php like I just showed you

 

HTH

 

OH MY!

 

I've edited the size of the image (a million times). I've edited the table info to correspond. First trying it with an exact size, then putting it back to 100%. At an exact size (I tried both 379x92 and 185x760) it was just as pixilated only it didn't fill the full screen. At 100%, it at least fills the screen.

 

I also made sure that my settings transfer the image in binary rather than ASCII. No luck.

 

I'm now officially bald from pulling my hair out.

 

But I refuse to let the digital dark side win. Does anyone have additional advice on how I can get my image to come out crisp? I've been editing the art in MSFT Publisher and MS Paint. Yes, I know other software is fancier. But it's also costly. Is my choice of software the problem. Or is it something else?

 

This is what it looks like at this point...

https://host168.ipowerweb.com/~jwakeman/osCommerce/catalog/

 

DANG, I hope you can help!

Link to comment
Share on other sites

Hi

Heres a tip

 

When creating header images its a good idea to open the oringinal pic and find out it's size. using a prgram like Photo shop, open the original select all and copy to clip board. Open a new file within P,Shop and select defaults. you now have a layer the same size of the origian header pic , get creative.

 

Cheers

Simon :thumbsup:

Link to comment
Share on other sites

photoshop is best, the font has to be changed in order to look good, that is step one

 

changing it from 100% has to be done also

 

feel free to PM if you need assistance

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...