Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images fair to poor looking


blr044

Recommended Posts

For the life of me, just not able to get my images to appear like they should on web site. they look very distorted. Been working with this issue for over two weeks now. Have tried using OscThumb after some modifications so as to work with ver 2.3. But I get this error message at product_info page:

 

Fatal error: Call to undefined method oscthumb::process22() in /hermes/xxxx/xxxxxx/xxxxx/xxxxxxx/includes/functions/html_output.php on line 179

 

This is what's located at line 179:

function tep_image_submit($image, $alt = '', $parameters = '') {

global $language;

 

The images I download from vendor are, 800 x 800. I have re-sized them to 400 x 400 and also 480 x 480 pixels. At admin ->configuration -> images, the width is set at 125 pixels and the height is blank.

 

Now some images do look a bit better then some of them, but still not very sharp images. Even have worked the below code to see if anything will help, but nothing.

 

<script type="text/javascript">
$('#piGal ul').bxGallery({
 maxwidth: 300,
 maxheight: 300,
 thumbwidth: <?php echo (($pi_counter > 1) ? '75' : '0'); ?>,
 thumbcontainer: 550,
 load_image: 'ext/jquery/bxGallery/spinner.gif'
});
</script>

 

May see sample here: www DOT greatdiscounts4u DOT com/surgical-stainless-steel-cookware-p-83 DOT html All edits I have been doing is being done at localhost, not my live store.

 

So am looking for any tips that will correct this issue from you, the osc forum.

 

Thanks in advance.

Link to comment
Share on other sites

I have only experimented with 2.3.1, and am not a programmer.

 

If you are talking about roduct images, can you not create your own thumbnail of the image, and add that to the product first. Then you add a large image of say your 480 x 480 image. Isnt that how it is supposed to work. Oscommerce is then not resizing the thumb image, as you have already done that.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

 

If you are talking about roduct images, can you not create your own thumbnail of the image, and add that to the product first. Then you add a large image of say your 480 x 480 image.

 

That's what I am doing presently. I take my vendor images which is 800 x 800. I then re-size images at 125 x 125 for the thumbnails. I load these up first. Then I take the original 800 x 800 and re-size them to 450 x 450, when is then used for the larger images. Then at product_info, I have this set at:

maxwidth: 300,

maxheight: 300,

 

If I set maxheight to 275 to 150, images is really distorted. In previous vers of oSC images were set 140 for the width, all was fine. I even looked at a few other sites whom is using 2.3.1 to see what their images looking like.

 

Thank you.

Link to comment
Share on other sites

Create the image at 300x300 if thats the size that you want and stop oscommerce resizing the images, which is probably causing the distortion. I have a test site of 2.3.1 and the large images in the product inf page look very good, but i do alter the image to the size that i want before uploading them.

 

OSCtumb that you tried to install requires GD library, has your server got that installed. I have read somewhere in these forums that there are several image contributions that work out the box with 2.3.1, so if all fails you should get one of them to create a decent thumbnail from your images.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

and stop oscommerce resizing the images, which is probably causing the distortion.

 

 

Steve, to stop OSC resizing the images, do you leave the width / height categories blank (as in no 0, just nothing)? I see the manual says that you can do this for one of the fields, but can you do it for both?

 

And does this work for all imaging sizing variable settings?

Link to comment
Share on other sites

You set one to the width of your images and leave the other blank. So if you want your images to be 300 px wide, you first create your images 300 wide, then set the width in images to be 300.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...