Author Topic: customized display for iptc fields?  (Read 9964 times)

0 Members and 1 Guest are viewing this topic.

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
customized display for iptc fields?
« on: May 31, 2003, 08:23:32 PM »
hello,
i would like to display the iptc-tags in a customized table, but it seems that the iptc-info is handled as a block and not as individual lines for each value.
surely, i can comment out special lines in the functions.php file, but there is no way to sort the fields or to put them separately in html-tags in the iptc_bit.html-template.
am i really right??

i don´t hope so...
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
customized display for iptc fields?
« Reply #1 on: June 01, 2003, 02:13:20 AM »
Yep, you're right.  There are several places where the output is a block and we don't have the fine grain control we might wish for.

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
customized display for iptc fields?
« Reply #2 on: June 01, 2003, 09:40:21 AM »
hmmm, ok.
i wished, i could change at least the order...

thank you for this clear answer. it´s a great pity :-(
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
customized display for iptc fields?
« Reply #3 on: June 01, 2003, 04:38:04 PM »
IPTC generates in /includes/functions.php
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
customized display for iptc fields?
« Reply #4 on: June 01, 2003, 04:49:07 PM »
???
as i said it in my initial post:
Quote
surely, i can comment out special lines in the functions.php file, but there is no way to sort the fields...
because i don´t know anything about php, so i don´t know how to change the order of the fields.
it seems they will be ordered by their own "iptc code number"?
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
customized display for iptc fields?
« Reply #5 on: June 01, 2003, 06:33:20 PM »
would u send me a picture with all avalable IPTC fields filled?
I got an idea how to sort them, but can not check it myself... ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
customized display for iptc fields?
« Reply #6 on: June 24, 2003, 07:48:57 PM »
hi v@no,
how about your idea?  :wink:
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
customized display for iptc fields?
« Reply #7 on: June 25, 2003, 12:56:04 AM »
Quote from: lutz
hi v@no,
how about your idea?  :wink:

oopss...already forgot what was my idea.... :oops: :?
lets think again ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
customized display for iptc fields?
« Reply #8 on: June 25, 2003, 02:20:34 AM »
ok, to sort info as u want, replace in /includes/functions.php
Code: [Select]
   foreach ($iptc as $key => $val) {
      if (isset($iptc_match[$key])) {
        $iptc_info = "";
        foreach ($val as $val2) {

with this:
Code: [Select]
   foreach ($iptc_match as $key => $val) {
      if (isset($iptc[$key])) {
        $iptc_info = "";
        foreach ($iptc[$key] as $val2) {

then, just put the  $iptc_match['2#xxx'] = "blah blah"; in order u would like it to be showed.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
customized display for iptc fields?
« Reply #9 on: June 25, 2003, 10:25:18 AM »
hallo v@no,
this very little modification makes really a big effect!
thank you :!:
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient