default value for Image file type

  • Thread starter Dao Trung Thanh
  • Start date
D

Dao Trung Thanh

Guest
Hi all,

Can you tell me how to set up a default value for Image_file type field, for example: blank.jpg?
 
E

Eugenio

Guest
Dao Trung Thanh wrote:

> Hi all,
>
> Can you tell me how to set up a default value for Image_file
> type field, for example: blank.jpg?

At the moment it isn't possible to set up a default value for an image_file type.

Eugenio.

(Latest version of DaDaBIK when this message was posted: 2.2.1)
 
B

Binh Dao

Guest
Howdy,

I'm just a beginner in PHP and MySQL.
I downloaded DaDaBIK and install it on my PC at home. Everything works great!

I created a database to catalog all my digital pictures. I want to add another field which contain the picture file. I want to be able to display the picture filename with url link to the actual picture. So that when click on the link, it will display the pciture.

Any suggestion on how to do it is very much appreciated.

Thank you.
 
E

Eugenio

Guest
Binh Dao wrote:

> Howdy,
>
> I'm just a beginner in PHP and MySQL.
> I downloaded DaDaBIK and install it on my PC at home.
> Everything works great!
>
> I created a database to catalog all my digital pictures. I
> want to add another field which contain the picture file. I
> want to be able to display the picture filename with url link
> to the actual picture. So that when click on the link, it will
> display the pciture.
>
> Any suggestion on how to do it is very much appreciated.

Just use generic_file as field type for that field, and set all the properties about file uploading in config.php.

Eugenio.

(Latest version of DaDaBIK when this message was posted: 2.2.1)
 
Top