Author Topic: Searching by Orientation (Horizontal or Vertical)  (Read 4422 times)

0 Members and 1 Guest are viewing this topic.

Offline Kjeld

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • iKjeld.com
Searching by Orientation (Horizontal or Vertical)
« on: May 05, 2006, 07:05:35 AM »
-- I have added several new searchable fields to the script ('model release', 'property release', 'color', 'black and white')
-- I need one more searchable field for the orientation of the image ('horizontal' or 'vertical')

-- You could create two searchable fields ( 'horizontal' or 'vertical') as described in http://www.4homepages.de/forum/index.php?topic=9148.0 and click them for each image that you upload.
-- However, I believe it should be easy for the script to calculate the width and height of the image (or perhaps get the information from the EXIF data) upon upload and then store the result into a boolean (tinyint 1) field called 'image_horizontal' ('horizontal' = 1; 'vertical' = 0).  In this way, the whole process is automatic.

-- You would then add another boolean search field in the way described on http://www.4homepages.de/forum/index.php?topic=9148.0 (I finally solved how to do this, V@no -- you may want to have a look at it).

-- I searched the forum, but found no solutions to this problem.
-- Being able to search by horizontal or vertical orientation should be of interest to all photographers who use 4images to sell photographs. This would be a great mod to have!

 :?: Anybody knows how to do this?

Offline Kjeld

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • iKjeld.com
Re: Searching by Orientation (Horizontal or Vertical)
« Reply #1 on: May 08, 2006, 12:01:05 AM »
No solutions for this one?

Offline Kjeld

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • iKjeld.com
Re: Searching by Orientation (Horizontal or Vertical)
« Reply #2 on: May 10, 2006, 04:03:31 AM »
Noone?  :(