Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Thumbnailer with Caching


atQuest

Recommended Posts

  • 6 months later...
There are a number of thumbnail creation contributions, is there a guide to help people to choose which one to use?

 

Note: we support the Thumbnailer with Caching contribution.

 

 

The contribution is great, Im testing it out on my shop and I can immediately see a performance improvement in page loading speed. My question: Is there a way to allow it to accept special characters like "+" and others so that the error message is not displayed?

 

Thanks again for the great contrib!

Link to comment
Share on other sites

  • 2 months later...

This contrib seems pretty good, and I would like to use it, but can anyone tell me where to change the black border that it causes to appear around every clickable image on the site? That's the only thing I don't like about it. It put a black border around every image, even the header and my menu images. I'd be thrilled if someone could tell me how to get rid of that. Otherwise, it did seem to really speed up the page loading :)

Unique handcrafted jewelry, accessories, toys, home decor, digital art and much more.

Link to comment
Share on other sites

Hello Briana,

 

that (border around linked images) is because we try to code with the latest W3 standards in mind (i.e.: we leave the border="0" out of the img tag). The way we always solve this is to add this to your CSS file:

 

img

{

border: none;

}

 

If you have further questions about this, please PM or email us (to keep this thread focussed).

Edited by atQuest
Link to comment
Share on other sites

  • 1 year later...
  • 4 months later...
  • 1 month later...

Hi, I've installed the contribution ok and all is working on the product listings.

 

On the home page where the system use "new_product.php" I still get the old osC thumbnails. How do I replace these?

 

You can see what I mean be going to http://www.ringoroses.com/shop/

 

Cheers,

 

Mikel

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
  • 4 months later...
  • 4 months later...

I just have implement this contrib, everything works fine but the caching function are not working for me.

This meens i have build a subdirectory "thumbs" under the image directory (/images/thumbs/) and i have set the path in the product_thumb.php file to /images/thumbs/.

But the thumbs are not beeing generated.

 

rgs

 

Jan

Link to comment
Share on other sites

  • 2 months later...

The contribution works fine, but creates lots of PHP Notice and Warnings when generating thumbnails.

--------------------------------------------------------------------------------

PHP Notice: Undefined index: w in /product_thumb.php on line 373

PHP Notice: Undefined index: h in /product_thumb.php on line 373

PHP Notice: Undefined index: w in /product_thumb.php on line 383

PHP Notice: Undefined index: h in /product_thumb.php on line 383

 

PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /product_thumb.php on line 383

PHP Notice: Undefined index: w in /product_thumb.php on line 398

PHP Notice: Undefined index: h in /product_thumb.php on line 398

 

PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /product_thumb.php on line 399

 

PHP Warning: Cannot modify header information - headers already sent by (output started at /product_thumb.php:274) in /product_thumb.php on line 208

PHP Warning: Cannot modify header information - headers already sent by (output started at /product_thumb.php:274) in /product_thumb.php on line 209

PHP Warning: Cannot modify header information - headers already sent by (output started at /product_thumb.php:274) in /product_thumb.php on line 210

--------------------------------------------------------------------------------

Does anyone know how to fix the PHP Notice and Warnings?

 

Regards,

Eric_K

Link to comment
Share on other sites

  • 4 months later...
  • 7 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...