[Contribution] oscThumb
#281
Posted 09 January 2010, 01:18
#282
Posted 10 January 2010, 08:25
First of all i want to thank you for your time..
I installed the add on, and when under Admin->Configuration->oscThumb i switch oscThumb master switch to true, my images on the site are all broken links. I have NOT turned any extra features i.e. watermark or encryption on, and i have reviewed my installations 3 times and a mate as looked at it as well... i cant work out what have i done wrong?
on 1 of the broken links i right click and selected "Copy Image Url" which is...
http://Mywebsiteaddress/store/oscthumb.php?src=/images/Mobiles/EGG-107-2.jpg&w=100&h=80&fltr[]=wmt|Eoghans%20Gismoz%20n%20Gadgets|10|Top|000000|arial.ttf|20|0|0&f=jpg&q=95&hash=bae816922606644182c5a18748446708
Any HElp PLease?
#283
Posted 10 January 2010, 12:43
NoobOscommerecer, on 10 January 2010, 08:25, said:
Perhaps your php isnt compiled with all the necessary gd library functions?
Add this code to a page (I add it just b4 the <!-- body //--> section) it will inform u of you gd library status.
<style type="text/css">
.yes, .no {color: green; float: right; font-weight: bold;}
.no {color: red; }
.opts {float: left;}
</style>
<center><div style="clear: both; width:400px;">
<?php
$yes = '<p class="yes">Yes</p>'; $no = '<p class="no">No!!</p>';$nl = '<br><hr>';
echo '<br><p class="opts">GD support on your server:</p>';
if(function_exists("gd_info")) {
echo $yes .$nl; $gd = gd_info();
echo '<p class="opts">GD Version =</p><p class="yes">' . $gd['GD Version'] . '</p>'. $nl;
echo '<p class="opts">XBM Support =</p>' . ($gd['XBM Support'] ? $yes : $no ) . $nl;
echo '<p class="opts">Jpeg Support =</p>' . ($gd['JPG Support'] ? $yes : $no ) . $nl;
echo '<br>Options List:<br><br>';
foreach ($gd as $k => $v) {
if ($k == 'GD Version') continue;
echo '<p class="opts">' . $k . '</p>' .($v ? $yes : $no).$nl;
}
} else { echo $no; }
?></div></center>
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#284
Posted 10 January 2010, 15:51
dOoBiX, on 09 January 2010, 01:18, said:
You can install Spooks Simple Multi Image Add-on (Un-Limited) with FancyBox Popups which you can find here...it uses oscThumb.
Simple Multi Image Add-on (Un-Limited) with FancyBox Popups
I use it and like it alot.
Dan
#285
Posted 10 January 2010, 21:00
spooks, on 10 January 2010, 12:43, said:
Add this code to a page (I add it just b4 the <!-- body //--> section) it will inform u of you gd library status.
<style type="text/css">
.yes, .no {color: green; float: right; font-weight: bold;}
.no {color: red; }
.opts {float: left;}
</style>
<center><div style="clear: both; width:400px;">
<?php
$yes = '<p class="yes">Yes</p>'; $no = '<p class="no">No!!</p>';$nl = '<br><hr>';
echo '<br><p class="opts">GD support on your server:</p>';
if(function_exists("gd_info")) {
echo $yes .$nl; $gd = gd_info();
echo '<p class="opts">GD Version =</p><p class="yes">' . $gd['GD Version'] . '</p>'. $nl;
echo '<p class="opts">XBM Support =</p>' . ($gd['XBM Support'] ? $yes : $no ) . $nl;
echo '<p class="opts">Jpeg Support =</p>' . ($gd['JPG Support'] ? $yes : $no ) . $nl;
echo '<br>Options List:<br><br>';
foreach ($gd as $k => $v) {
if ($k == 'GD Version') continue;
echo '<p class="opts">' . $k . '</p>' .($v ? $yes : $no).$nl;
}
} else { echo $no; }
?></div></center>
Put that in and nothing has come up?? So does that mean that there is something wrong??
Thanks again
#286
Posted 10 January 2010, 21:20
NoobOscommerecer, on 10 January 2010, 21:00, said:
Thanks again
Means you put it in the wrong place, created an error or put it somewhere it wont execute.
It will say GD support on your server yes (+options) or no
it must be within a php file, not a html one
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#287
Posted 10 January 2010, 21:48
I have a little problem, in the config I have using Text Watermak only for the popups images, but it's show too in product_info thumbnails.
I have installed too Simple Multiple Images (Unlimited) with Fancy Popups V1.3.5
Can anybody help me, please?
Sorry for my poor english
Regards!!!
#288
Posted 10 January 2010, 22:13
PiLLaO, on 10 January 2010, 21:48, said:
I have a little problem, in the config I have using Text Watermak only for the popups images, but it's show too in product_info thumbnails.
I have installed too Simple Multiple Images (Unlimited) with Fancy Popups V1.3.5
Can anybody help me, please?
Sorry for my poor english [img]http://forums.oscommerce.com/public/style_emoticons/default/blush.gif[/img]
Regards!!!
There is a support thread for Simple Multiple Images (Unlimited) with Fancy Popups , please use it.
In product_info.php Find:
tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"', false, 5)
Replace with
tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"')
Edited by spooks, 10 January 2010, 22:16.
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#289
Posted 10 January 2010, 22:43
spooks, on 10 January 2010, 21:20, said:
It will say GD support on your server yes (+options) or no
it must be within a php file, not a html one
Thanks for your time...
I have it in http://www.gismozngadgets.com/store/contact_us.php but nothing comes up.. I asked my host and they said it is installed and can be confirmed at the following link http://gismozngadgets.com/phpinfo.php
Dont want to but might just do a fresh reinstall of Oscomerce, and install OscThumbs on the fly, then manually install all the oter contribs..
#290
Posted 10 January 2010, 22:53
NoobOscommerecer, on 10 January 2010, 22:43, said:
I have it in http://www.gismozngadgets.com/store/contact_us.php but nothing comes up.. I asked my host and they said it is installed and can be confirmed at the following link http://gismozngadgets.com/phpinfo.php
Dont want to but might just do a fresh reinstall of Oscomerce, and install OscThumbs on the fly, then manually install all the oter contribs..
Created a PHP File on the fly using a PHP Editor, added your little script.. and Ran it..
GD support on your server:Yes
GD Version =bundled (2.0.34 compatible)
XBM Support =Yes
Jpeg Support =Yes
Options List:
FreeType SupportYes
FreeType LinkageYes
T1Lib SupportNo!!
GIF Read SupportYes
GIF Create SupportYes
JPG SupportYes
PNG SupportYes
WBMP SupportYes
XPM SupportYes
XBM SupportYes
JIS-mapped Japanese Font SupportNo!!
#291
Posted 10 January 2010, 23:01
spooks, on 10 January 2010, 22:13, said:
There is a support thread for Simple Multiple Images (Unlimited) with Fancy Popups , please use it.
In product_info.php Find:
tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"', false, 5)
Replace with
tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"')
Please excuse me, I thought that it was caused by oscThumb, by this reason I posted here
Thanks for all
Regards!!
#292
Posted 11 January 2010, 13:02
NoobOscommerecer, on 10 January 2010, 22:53, said:
oK i HAVE fixed the problem...
Nothing to do with the editting of the files... i did a file compare of the files i needed to upload and files on the web server i somehow missed 6 files that did not upload properly.
Thank you Sam and all for your time, and assistance
#293
Posted 12 January 2010, 07:46
Two little issues,
1 - Thumbnails in admin are deformed, is this correct?
2 - PNG images are transformed in blank images (also with watermark if enabled).
My server support GD PNG.
Can anybody help me?
Thanks!!!
#294
Posted 12 January 2010, 20:09
Quote
Same problem wih me,
othertime its transformed with a grey background if transparent.
Try to change Use Zoom Crop to True.
My config:
oscThumb Master Switch On
Process Store's Graphics False
Encrypt Image Filenames True
Filename Encryption Key blackhole bilbao
Output GIFs as JPEGs False
'GIF as JPEG' Matte colour (HEX) FFFFFF
Thumbnail Cache directory phpThumb/cache/
Use Zoom Crop? True
My problem is when diferent product have the same image asigned.
When listing products images with various contributions phpthumb takes the first image queried and cached it. But the second image appears in the same size.
For example I want the product_image with big size , and down optional products with small size.
Does anybody kwons how to fix this????
#295
Posted 16 January 2010, 21:09
First i want to say thank you for this great contribution!
I have installed the last version of oscThumb (1.1.2), and it works fine, but there is still one problem:
In the images section (in admin panel), i set the "product information image width" parameter at 300px (because i want to see the image in productinfo page at this dimension, but i also want to see the same image in "specials" box and "what's new" box with original settings for small images - 100px*80px)
I switch on the contribution, and nothing happened, it seems like it doesn't work. My image in productinfo page it's still 100px*80px.
Best regards!
#296
Posted 16 January 2010, 21:28
bhbilbao, on 12 January 2010, 20:09, said:
othertime its transformed with a grey background if transparent.
Try to change Use Zoom Crop to True.
My config:
oscThumb Master Switch On
Process Store's Graphics False
Encrypt Image Filenames True
Filename Encryption Key blackhole bilbao
Output GIFs as JPEGs False
'GIF as JPEG' Matte colour (HEX) FFFFFF
Thumbnail Cache directory phpThumb/cache/
Use Zoom Crop? True
My problem is when diferent product have the same image asigned.
When listing products images with various contributions phpthumb takes the first image queried and cached it. But the second image appears in the same size.
For example I want the product_image with big size , and down optional products with small size.
Does anybody kwons how to fix this????
----
Using this config, images are still blank, only apears watermark.
Saludos!!!
-----
Regards!!!
#297
Posted 17 January 2010, 02:04
#299
Posted 17 January 2010, 20:05
BAV, on 16 January 2010, 21:09, said:
First i want to say thank you for this great contribution!
I have installed the last version of oscThumb (1.1.2), and it works fine, but there is still one problem:
In the images section (in admin panel), i set the "product information image width" parameter at 300px (because i want to see the image in productinfo page at this dimension, but i also want to see the same image in "specials" box and "what's new" box with original settings for small images - 100px*80px)
I switch on the contribution, and nothing happened, it seems like it doesn't work. My image in productinfo page it's still 100px*80px.
Best regards!
Nevermind... I've fixed it!
#300
Posted 18 January 2010, 23:36
steph44, on 31 October 2009, 18:44, said:
it works except that the images do not show and I had this error:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/********/www/********/includes/classes/oscthumb.php on line 271Then I re-updated and I have no message but I still have no images generated
I set chmod 777 on cache
Sorry for my English
bump. i am getting the same php error msg. This is what all my images look like when i turn on oscthumb
[img]http://www.toohotglass.com/images2/error.jpg[/img]














