Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Yogen

Pages: [1] 2
1
hallo jan,

erstmal danke für die anleitung!!
wegen der anderen user hier schreibe ich mal in englisch! ;-)

--------------
i replaced... and then i tested many times but nothing would imported into the description field :-(

as i wrote before, i use 1.7 and i don't know how to fix the problem. maybe the IPTC infos are not in a correct form?
i testet all, with comma, without, all i can do!!

do you have any suggestions about the form, or any other idea why it doesn't work ??
jan, did you tested your hack by yourself ?

greetz and thnx very much!

Yogen
PS: is there any other user now, whow uses the hack and it works ??

2
hi folks, again,

is there anybody who has version 1.7 with this MOD running ????

IF, THEN please send the changed files per mail or please post the changes here...

email: yogen@gmx.de

thx !!

Yogen

3
hi folks,

jan, please check out this actual code in my admin/checkimages.php if it is correct, 'cause it doesn't work for me :-(
i'm using V 1.7 and my prob is to be sure that i've done all correct cause the thread belongs to 1.6
in the admin_functions.php i didn't change anything ... should i ??
and what ?

if i'm right in my understanding of the MOD, after the upload and checking new images, the iptc infos should be shown in the keyword-column of the normal pic-description table ??!!

antwort gerne auch in deutsch ;-)

geänderter code: 19:18, 29. april 03

Code: [Select]
     $title = $lang['field_description_ext'].((isset($file_src)) ? get_iptc_insert_link($file_src, "caption", "image_description_".$i) : "");

//old: show_textarea_row($title, "image_description_".$i, "", $textarea_size);

//new version
$caption = "";
if ($imageinfo = @getimagesize($file_src, $info)) {
  if (isset($info['APP13'])) {
    $iptc = iptcparse($info['APP13']);
    if (is_array($iptc)) {
    }
  }
}

  if (isset($iptc['2#055'][0])) {
  $caption = $iptc['2#055'][0];
  $caption = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1-\\2-\\3", $caption);
 }

if (isset($iptc['2#025'])) {
  $caption = "";  
  foreach ($iptc['2#025'] as $val) {
    $caption .= (($caption != "" ) ? " " : "").$val;
  }
}
 

show_textarea_row($title, "image_description_".$i, $caption, $textarea_size);
//ende new version


// neue date version
      $date = date("Y-m-d H:i:s", time());
 if ($imageinfo = @getimagesize($file_src, $info)) {  
  if (isset($info['APP13'])) {  
    $iptc = iptcparse($info['APP13']);  
    if (is_array($iptc)) {  
      if (isset($iptc['2#055'][0])) {  
        $date = $iptc['2#055'][0];  
        $date = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1-\\2-\\3", $date);  
      }  
    }  
  }  
}
// ende neue date version

      $title = $lang['field_date'].$lang['date_desc'].$lang['date_format'].((isset($file_src)) ? get_iptc_insert_link($file_src, "date_created", "image_date_".$i, 0) : "");
      show_input_row($title, "image_date_".$i, $date, $textinput_size);



thnx for any help !!

Yogen

4
Quote from: Shap

How do I know where my ariail.ttf file is?


hi, your TTF-file can be where you want it to, you just have to define the correct path in the control panel.

expl:

arial.ttf in the root of your server the the past must look something like this:

/home/www/webxxx/html/ARIAL.TTF

in my case, the ARIAL.TTF must be written in capital letters, as you here can see!!
(i copied from windows fonts to server)

greetz

Yogen

5
hallo,

habe nun alle testordner (kategorien) gelöscht und wenn ich jetzt das ganze komplett neu aufbauen will, geht es mit der ID Nr. 13 los, also bei der hauptkategorie die da heisst: "saison 02/03".

wie kriege ich die ID's auf Null, damit "saison 02/03" die ID 1 bekommt ?

vielen dank für tipps !!!

Yogen

6
Discussion & Troubleshooting / IPTC Problem beim bilder konvertieren
« on: April 04, 2003, 06:07:34 PM »
hi jan,

den eindruck habe ich auch ;-)

na ja, dann kann man es eben nicht online machen ...schade!!

greetz

Yogen

7
Discussion & Troubleshooting / IPTC on 1.7
« on: April 03, 2003, 12:37:58 PM »
hi jan,

can this be the solution for my problem i postet here:

http://www.4homepages.de/forum/viewtopic.php?t=4631&highlight=iptc

??
the IPTC infos are importet, but after converting to another size the infos are gone ... ;-(
ist this normal or ist this al little bug ?

thanks for help !

Yogen

8
YES !!! :-)
it works again !!

thank you very much !!!

9
ok, but, what do you think:

- first all files back to original or only database restoring ?
- completely and then new ... ?

NEW PROB:
now i can't create thumbs after upload with FTP :-(
yesterday, before installing the MOD, it was OK !!
is the mod influentially to the thumbs too ????

Code: [Select]
Erstelle Thumbnail für: bzl12 (bzl12.jpg) ....  
Warning: imagecreatetruecolor(): requires GD 2.0 or later in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 65

Warning: imagecopyresampled(): requires GD 2.0 or later in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 73

Warning: imagejpeg(): supplied argument is not a valid Image resource in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 79

Warning: imagedestroy(): supplied argument is not a valid Image resource in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 81

Fehler beim Erstellen des Thumbnails!


greetz

Yogen

10
hi V@no,

i installed another MOD, but this is only for the lightbox (quotation.php, ...) and has nothing to do with:

/*-- Setting-Group 8 --*/

my provider told me, that next week will be made an upgrade of PHP an GD on all servers. :-)

if you're right with installation probs, so it might be the best way to restore all back to original and then trying installation again ??!!

thnx for all help !! :-)

greetz

Yogen

11
i tried, after making a new DB-backup, a re-installation and got following error-messages:

Code: [Select]
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_use', '0')
Duplicate entry 'annotation_use' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font', '/home/4images/annotate.ttf')
Duplicate entry 'annotation_font' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font_size', '10')
Duplicate entry 'annotation_font_size' for key 1

.......


this seems that the fields must be already there !!

i run the batch annotate and got the errors that GD is not 2.0 !!!
this, i knew before, and i said it to my provider, that he will upgrade this !! --->> i'm awaiting the upgrade

but, if GD is not 2.0 -- nevertheless the fields in the CP must be shown, or is this the reason for the missing descriptions ??

greetz

Yogen

12
yes, all is in german, and the new fields (right side) of the annotation too!

i edited the annotate.TTF path, the TEXT wich should be placed in the pics, and all that can be saved.

and now ... ;-) ????

Yogen

13
yes, i did, but in:   /4images/lang/deutsch/admin.php
and the admin fields are there, but only the right side of them.

can it be possible that the installing after loading up the edited files is the reason ?
i uploaded the files many times to be sure that no error in accepting the changes is possible.

should i do the hole steps again ??
which DB-fields are new if it all is correct ?

thnx for help ....!!!!!

Yogen

14
hmmm, no , i did all you wrote in the description ... but, i edited and uploaded all files BEFORE i run the installer ;-))
may, this is the problem ??

which new fields must i find in the DB, if all is correct installed ?

thx for help !!

Yogen

15
hallo,

ich habe ein ähnliches problem:

ich würde gerne alles klein haben, also:
home > faq   statt   home > Faq

wie und wo editiert man diese neuen template links im clickstream, da ich die dateien ja eh schon klein schreibe: Z.B. faq.html ??

im phpMyAdmin habe ich in der DB nix gefunden, und auch in den php-files konnte ich nix entdecken. das ändern in der "lang/deutsch/main.php" ist mir ja bekannt, aber wird anscheinend nichts vom clickstream abgelegt, nach dem erstellen neuer templates.

vielen dank für hilfe !

Yogen

Pages: [1] 2