Author Topic: [REQ] additional database and search field: portrait / landscape  (Read 4228 times)

0 Members and 1 Guest are viewing this topic.

Offline marcus_s

  • Newbie
  • *
  • Posts: 33
    • View Profile
hi. i think it would be very usefull to get another database field which descripes a picture as portrait or landscape.
plus it would be great to make this field searchable in the search_form.

i can imagine to implement it as a radio button in V@no´s quick edit.  :wink:
and as a button in the search_form too.

what do you think about that?

thanks

marcus

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: [REQ] additional database and search field: portrait / landscape
« Reply #1 on: March 19, 2005, 07:52:38 PM »
I think all you need to do is open includes/db_field_definitions.php and follow the instructions found in the comments.  Also search the forum for how to make additional image fields searchable.  All of this has been covered already so I am not going to post the same details over again

Offline marcus_s

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: [REQ] additional database and search field: portrait / landscape
« Reply #2 on: March 19, 2005, 08:08:05 PM »
hi chris.

yea discovered the "making an additional field searchable"-thread. what i would like to have is that comfortable radio-button in the edit images section into the acp.
i am not a "coder" therefore i´m not that good to work it out. thought it might be an interesting MOD when someone puts it together.

anyway thanks for the clue´s. gonna try to do it myself … :)

marcus

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: [REQ] additional database and search field: portrait / landscape
« Reply #3 on: March 20, 2005, 06:51:28 PM »
You don't need to modify anything.  Just add the field and follow the instructions.  The radio button will show up automatically