This topic is locked

How To Store Thumbnail Database In After Upload?

2/28/2013 2:20:09 PM
PHPRunner General questions
T
Tornado973 author

How do I get to get Thumbnail file to be stored in database the same as the image.
I have a fields called

Image

T_Image
When I save I want to files name added the image to image field and thumbnail to T_Image field

Sergey Kornilov admin 2/28/2013

Simply turn on thumbnails option and choose a field to store the thumbnail.
See 'Binary field: Image' section at http://xlinesoft.com/phprunner/docs/edit_as_settings_file_image.htm

T
Tornado973 author 2/28/2013



Simply turn on thumbnails option and choose a field to store the thumbnail.
See 'Binary field: Image' section at http://xlinesoft.com/phprunner/docs/edit_as_settings_file_image.htm


I don't have a select box to select field. I see create thumbnails on the fly and have that checked but I don't have and dropdown like the image shows in example. I have 6.2 I don't know what I am doing wrong.

Sergey Kornilov admin 3/1/2013

You can post a screenshot of what you see there.
Make sure you do have at least two binary fields in this database table, one to store the image itself and another one to store the thumbnail.

T
Tornado973 author 3/5/2013



You can post a screenshot of what you see there.
Make sure you do have at least two binary fields in this database table, one to store the image itself and another one to store the thumbnail.


Sergey Kornilov admin 3/6/2013

Are you sure 'Image' is a binary field? Looks like a text field to me.
If Image is a text field you don't need anything else and you don't even need the second field. Thumbnails will be stored in 'files' folder.

T
Tornado973 author 3/8/2013



Are you sure 'Image' is a binary field? Looks like a text field to me.
If Image is a text field you don't need anything else and you don't even need the second field. Thumbnails will be stored in 'files' folder.



I want to get both fields to list the file names and not the full path.