Jump to content
Rickharris

'On the Fly' Auto Thumbnailer using GD Library

Recommended Posts

I use transparent png in my website, I have installed this contribution but I cant make to show well the png images with this contribution, I use GD bundled (2.0.28 compatible), somebody can help me?? thanks

Share this post


Link to post
Share on other sites

I'm having a weird problem with Thumbnails, some appear but some don't, i'm checked file exist and display correctly when hit directly, all permissions are the same.

- When i turn off "Server Caching" all images are stop to work

 

Does it sound like a caching issue? Any idea?

 

Thanks!

Share this post


Link to post
Share on other sites

Hi,

 

Anyone figured this out yet ? When I load the new html_outpout.php file my spacer.gif go 1px x 1px and also my backrgound gif is affected and my layout is completely messed ..

 

Hope to solve this asap smile.gif

 

Thanks !

Share this post


Link to post
Share on other sites
Hi,

 

Anyone figured this out yet ? When I load the new html_outpout.php file my spacer.gif go 1px x 1px and also my backrgound gif is affected and my layout is completely messed ..

 

Hope to solve this asap smile.gif

 

Thanks !

 

Hi again :)

 

It seems I have found a solution to this ..... The following autothumbnailer doesnt have these issues with spacer.gif ....

 

http://www.oscommerce.com/community/contributions,2872/

 

It works for me :)

Share this post


Link to post
Share on other sites

Please can someone help. The contribution is fab the thumbnails look great. My problem is that when in the admin area. all the buttons for 'add new product' 'add category' delete product etc are missing and cannot edit add move anything.

 

if someone can please help me that would be great.

 

Thanks in advance.

 

Timmer

Share this post


Link to post
Share on other sites

Hi I got quiet a few errors in my error log, these are the latest errors, hope someone can help me sort this out.

 

[01-Mar-2012 08:47:15] PHP Warning:  implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /home/*******/public_html/includes/functions/general.php on line 239
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  w in /home/*******/public_html/product_thumb.php on line 268
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  h in /home/*******/public_html/product_thumb.php on line 268
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  w in /home/*******/public_html/product_thumb.php on line 306
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  h in /home/*******/public_html/product_thumb.php on line 306
[01-Mar-2012 15:26:28] PHP Warning:  imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions in /home/*******/public_html/product_thumb.php on line 306
[01-Mar-2012 15:26:28] PHP Warning:  imagecolorallocate(): supplied argument is not a valid Image resource in /home/*******/public_html/product_thumb.php on line 313
[01-Mar-2012 15:26:28] PHP Warning:  imagefill(): supplied argument is not a valid Image resource in /home/*******/public_html/product_thumb.php on line 315
[01-Mar-2012 15:26:28] PHP Warning:  imagecolortransparent(): supplied argument is not a valid Image resource in /home/*******/public_html/product_thumb.php on line 316
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  w in /home/*******/public_html/product_thumb.php on line 340
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  h in /home/*******/public_html/product_thumb.php on line 340
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  w in /home/*******/public_html/product_thumb.php on line 350
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  h in /home/*******/public_html/product_thumb.php on line 350
[01-Mar-2012 15:26:28] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /home/*******/public_html/product_thumb.php on line 350
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  w in /home/*******/public_html/product_thumb.php on line 362
[01-Mar-2012 15:26:28] PHP Notice:  Undefined index:  h in /home/*******/public_html/product_thumb.php on line 362
[01-Mar-2012 15:26:28] PHP Warning:  imagejpeg(): supplied argument is not a valid Image resource in /home/*******/public_html/product_thumb.php on line 363
[01-Mar-2012 15:26:28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******/public_html/product_thumb.php:268) in /home/*******/public_html/product_thumb.php on line 202
[01-Mar-2012 15:26:28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******/public_html/product_thumb.php:268) in /home/*******/public_html/product_thumb.php on line 203
[01-Mar-2012 15:26:28] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******/public_html/product_thumb.php:268) in /home/*******/public_html/product_thumb.php on line 204

Share this post


Link to post
Share on other sites

There is still a big question about this addon I can't understand.

Are the images resized when a client visits the page first time and after that chased images are used?

 

If so then the first time the customer loads the page he/she will still have to wait until the large image is downloaded and resized?

 

So preresizing my thumbnail image before I upload it would still be more useful then right? Since it doesn't have to be resized "on the fly", only it would be more work.

 

 

Is that right??

Share this post


Link to post
Share on other sites

@@surf55

 

I would personally use the addon found here if you havea 2.3 site. It has a supported support forum unlike this one

 

http://addons.oscommerce.com/info/8492/v,23


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

@@surf55

 

I would personally use the addon found here if you havea 2.3 site. It has a supported support forum unlike this one

 

http://addons.oscommerce.com/info/8492/v,23

 

Ok thanks I'll look into it. But still I can't understand if I need this addon or not?

If I install the Kissit addom do I need to upload a small thumbnail image and then all the rest product images in normal size?

 

 

If I resize the first image before upload do I still need this contribution?

Share this post


Link to post
Share on other sites

Thumbnails are getting generated, but my issue is, they are not getting displayed in my site.....

 

 

in catalog/includes/functions/html_output.php..... i guess this line is supposed to display the image.....

 

$image = '<img src="product_thumb.php?img=' . $src . '&w=' .

tep_output_string($width) . '&h=' . tep_output_string($height) . '"';

 

 

But when I check through firebug.... firebug says 'failed to load the given url'.......

 

any idea how $src can be modified... so that it points to images/thumbnails...


A man is great by Deeds, not by Birth....

Share this post


Link to post
Share on other sites

This contribution seems to be very popular. Anyway, it doesn't work for my shop. I uploaded all new files and modified the existent ones. I also changed the setting in the administration panel. When I refresh the website there is a X for every picture instead of showing those. The link of an image looks now like this here

<img width="104" height="135" border="0" title="My test product" alt="My test product" src="product_thumb.php?img=images/mytestprod.jpg&w=104&h=135">

Actually, I don't know where to find the error or what to change to make it work. Any ideas?

Share this post


Link to post
Share on other sites

This addon was very popular for a while but there are better ones now. I suggest you remove it and install this one. It is no longer supported and has some problems but I think most have been addressed in the support thread.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×