osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

'On the Fly' Auto Thumbnailer using GD Library

This is a discussion on 'On the Fly' Auto Thumbnailer using GD Library within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; in the File includes/functions/html_output.php in the function tep_image there is a check if the image size should be calculated: // ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-08-2008, 06:22 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,761
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post 'On the Fly' Auto Thumbnailer using GD Library

in the File includes/functions/html_output.php in the function tep_image there is a check if the image size should be calculated:

// Do we calculate the image size?
if (CONFIG_CALCULATE_IMAGE_SIZE [...] )

This check is incorrect because in the admininterface the CONFIG_CALCULATE_IMAGE_SIZE is set to "true" or "false"(both strings!) and therefor this part of the check is everytime valid!

it should read:
if(CONFIG_CALCULATE_IMAGE_SIZE == "true" [...]

More...
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 09-26-2007 05:11 PM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 09-08-2007 07:14 AM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 09-07-2007 08:23 PM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 08-22-2007 11:24 AM
'On the Fly' Auto Thumbnailer using GD Library michael_s New osCommerce Contributions 0 03-12-2007 08:12 PM


All times are GMT -8. The time now is 10:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design