PDA

View Full Version : Uploading = Black Thumbnail??


b00k
02-10-2005, 01:36 PM
i have vbgarage working and everytime i upload an image it adds it to the garage not as a thumbnail but as a link (ie: hotcar.jpg) . When you click it the image name (hotcar.jpg) it pops up but the window is all black.
Any thoughts?

http://www.torontostreetracing.com/online/

:ermm:

jdebler
02-10-2005, 02:14 PM
I dunno how much this helps, but I want to say your image paths are incorrect. The black you see in the popup window is the background without an image, meaning the image is not displaying. This might also explain the thumbnail issue. It cannot find the thumbnail, so it substitutes a text link instead.

I checked out your garage, and viewed the properties of one of the "broken" images, and loaded the properties URL...see for yourself what happens...
http://www.torontostreetracing.com/online/vbgarage.php?do=thumb&width=175&id=5

This is only a guess on my part. Someone please correct me if I am wrong.

b00k
02-10-2005, 03:11 PM
I dunno how much this helps, but I want to say your image paths are incorrect. The black you see in the popup window is the background without an image, meaning the image is not displaying. This might also explain the thumbnail issue. It cannot find the thumbnail, so it substitutes a text link instead.

I checked out your garage, and viewed the properties of one of the "broken" images, and loaded the properties URL...see for yourself what happens...
http://www.torontostreetracing.com/online/vbgarage.php?do=thumb&width=175&id=5

This is only a guess on my part. Someone please correct me if I am wrong.

yup.. igot what youre saying but im not even sure where to begin with this. :disappointed: :tired:

im thinking now, a wrong path?

<?php
// vBGarage 4.0.0 By Magnus
// Ugrades/congif file by noppid @ www.lakecs.com 1-18-2005

// set this to 1 to store vbgarage images in the filesystem.
// set this to 0 to store vbgarage images in the DataBase.
$vbg_use_fs = 1;

// path to files folder, include the trailing slash. Folder must be set 777.
// this must be set to use a watermark too. If not using FS mode A read only folder is ok.
$vbg_path = "/home/online/garage/";

// set this to 1 to enable watermarking of full size images
$vbg_use_wm = 0;

// set the name of the watermark file. It must be uploaded to your images folder.
// you must use a .png file.

$vbg_wm = "watermark.png";

// water mark position
// set this to 0 for top center of image OR set this to 1 for bottom center of image
$vbg_position = 0;

?>

andi verified the dir where i would like the uploads to go, and after uploading nothing was in it. sooo now.. issues :rolleyes:

noppid
02-10-2005, 03:35 PM
That one SS shows GD for Perl, not PHP. Not sure if that's the problem or not though.

b00k
02-10-2005, 03:38 PM
That one SS shows GD for Perl, not PHP. Not sure if that's the problem or not though.

i just grabbed that from the control panel...LOL..
im lost now..

noppid
02-10-2005, 03:46 PM
i just grabbed that from the control panel...LOL..
im lost now..

Try this...

Go to ftp and see if you have i123.jpg and t123.jpg for example. Download one of the txxx.jpg's and see if it works. If it does, we have a link problem, if they don't exist or don't work I think it's a GD problem which your host will have to fix by adding GD to PHP.

b00k
02-10-2005, 03:49 PM
ya, im not seeing any of the files ive tried to attach via vbgarage.

however, my regular thread attachments is working great.
ill send a msg to the host...

i thought maybe it was an error in my path to the dir of the garage.

noppid
02-10-2005, 03:55 PM
ya, im not seeing any of the files ive tried to attach via vbgarage.

however, my regular thread attachments is working great.
ill send a msg to the host...

i thought maybe it was an error in my path to the dir of the garage.


If you don't see any images in the folder, it may be the path or the permissions.

The images folder needs to have 777 attributes.

b00k
02-10-2005, 04:11 PM
If you don't see any images in the folder, it may be the path or the permissions.

The images folder needs to have 777 attributes.


yup, permissions are all in check, i think its the path..

ive tried /usr/online/garage
./online/garage
/public_html/online/garage

i give up until ihear from one of the other guys..

i wish there was a way to check, or even a file i could download, crack open and see

noppid
02-10-2005, 04:21 PM
You are on a cpanel server so the path is something like.

/home/toront/public_html/online/garage/

The toront part is a guess. Replace that with your cpanel login name.

b00k
02-10-2005, 06:52 PM
You are on a cpanel server so the path is something like.

/home/toront/public_html/online/garage/

The toront part is a guess. Replace that with your cpanel login name.


you my man, are da man :D


thanks a ton for spending the time helping me, much appreciated!!!!!!!

great help

noppid
02-10-2005, 07:18 PM
Glad it worked out.