Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images are still missing and are deformed


jpeabody

Recommended Posts

Posted

Hi everyone,

 

I have read the posts on how to fix images by setting the image width to 0 and to make sure "calculate image size" is "true" but my images still are deformed and my store logo has never appeared. I know where to find them in the includes/header.php file and have tried to change them with no change. Both on the store and on the admin pages. Any suggestions?

 

A few other things I've noticed: The "Building a Template Layout" in the dashboard talks about catalog/includes/template_top.php, _bottom.php and I do not have any template files in my oscommerce-2.2rc2a zip that I downloaded and then of course I do not have those in my uploaded catalog. Also freeoscommerce has been hijacked??

Posted

Hi everyone,

 

I have read the posts on how to fix images by setting the image width to 0

 

You should set the width, or the height, to blank not zero. Setting it to zero causes it to be very very skinny. Leaving the box empty will allow the image to resize proportionally.

 

Tim

Posted

Image problems (not showing or deformed) can also be caused if you FTP the images in the wrong mode.

 

Images files are binary and must be FTP'd to the server in BINARY mode.

 

PHP/CSS/HTML files are text files and should be FTP'd in TEXT or ASCII mode.

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 >

Posted
The "Building a Template Layout" in the dashboard

 

Where are you finding this dashboard and this text?? The only time you have template top and bottom is if you have already installed addons that create a template system..

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

Where are you finding this dashboard and this text?? The only time you have template top and bottom is if you have already installed addons that create a template system..

 

crumb trail = Dashboard > osCommerce Online Merchant v2.2 > Catalog (Frontend) > Template Layout and Header Tags

 

Template Layout and Header Tags

A basic template layout structure has been introduced in osCommerce Online Merchant v2.2 to simplify the process of customizing the design of the catalog frontend.

 

Building the Template Layout

Header and Meta Tag Modules

Building the Template Layout

 

The template design layout is defined in catalog/includes/template_top.php and catalog/includes/template_bottom.php, with the page content existing in the base catalog files.

 

Thank you for the quick response. I will stop worrying about the missing template files. For the other 2 who responded to my questions also thank you for taking the time to help me. I will respond as soon as I see if either of the solutions work.

Posted

Did you not download this from the oscommerce site?? Where did you get this version.. its definitely not the standard version.. If i were you i WOULD be worried about the lack of the files and/or the presence of that language.. because it is not default for 2.2 STOCK install

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

Did you not download this from the oscommerce site?? Where did you get this version.. its definitely not the standard version.. If i were you i WOULD be worried about the lack of the files and/or the presence of that language.. because it is not default for 2.2 STOCK install

 

The breadcrumb starts here http://www.oscommerce.info/confluence/dashboard.action

 

and ends here http://www.oscommerce.info/confluence/display/OSCDOC22/Template+Layout+and+Header+Tags

 

I'm positive I downloaded this from oscommerce. I was going with your first assessment that I have to download a template to find these files.

 

Thanks,

 

Joe

Posted

Ohh wow.. Ok, the "dashboard' Is just the new documentation dashboard, not your actual website's cart dashboad.. the introduction of the layout and template editor is on 3.0, NOT the version you have.. 3.0 is still very unstable and not for product use.

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

You should set the width, or the height, to blank not zero. Setting it to zero causes it to be very very skinny. Leaving the box empty will allow the image to resize proportionally.

 

Tim

 

Tim I wanted to thank you for your response. After 2 nights and trying everything I finally figured out what the problem was! The .png store_logo. I never would of thought I needed to change that to a .gif but it popped right up!

 

Hope this helps someone else in the future.

Posted

You CAN use a .png if you change the code to call for a .png..

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Archived

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

×
×
  • Create New...