This topic is locked

thumbnails not showing in view

8/8/2006 1:09:34 PM
PHPRunner General questions
S
steveb author

I am not able to see thumnails in my record view table ( they appear as broken lins)
I have modified variables.php as follows (per instructions found in another thread) as well as uncomented

extension=php_gd2.dll in php.ini.
I dont see that the thumnails get made actually. should I find them someplace
Steve Brettler

// thumbnails

/

$thumbnail_fields = array();

// $thumbnail_fields = array("Field1","Field2");

// field names are case-sensitive!

$thumbnail_prefixes = array();

/

$thumbnail_fields = array("Image");

// $thumbnail_fields = array("Field1","Field2");

// field names are case-sensitive!

$thumbnailprefixes = array("image"=>"t");
// $thumbnailprefixes = array("Field1"=>"t1" , "Field2"=>"t2_");

$thumbnail_maxsize = 75;

Alexey admin 8/9/2006

Steve,
field names are case-sensitive here.

Use this line in your code:

$thumbnailprefixes = array("Image"=>"t");

S
steveb author 8/9/2006

Steve,

field names are case-sensitive here.

Use this line in your code:


Thanks you may want to check the example at

http://www.xlinesoft.com/phprunner/article..._thumbnails.htm

because it is listed inccorectly there,In any case I still do not get thumnailss, the images appear at full resolution.
Any other ideas
Thanks Steve

J
Jane 8/9/2006

Steve,
thank you for pointing to this issue.

We'll fix it.
Please give me the URL where I can see the error.

You can post it here or send to [email=support@xlinesoft.com]support@xlinesoft.com[/email].

S
steveb author 8/9/2006

Steve,

thank you for pointing to this issue.

We'll fix it.
Please give me the URL where I can see the error.

You can post it here or send to [email=support@xlinesoft.com]support@xlinesoft.com[/email].


Jane the url for the example is in my previous post. I am still looking for other things to check that might prevent my uploaded images from being displayed as thembnails though.
Any other thoughts on that?
Steve

Alexey admin 8/10/2006

Steve,
the thumbnails are generated for newly uploaded files only.

To display thumbnails for the files that are already at your server you need to create a thumbnail for each file manually using some image processing software.
If thumbnails are not created for newly uploaded files please zip and send to support@xlinesoft.com a full set of generated PHP files along with your database creation script.

I'll find what's wrong running your pages on my test box.