Page 1 of 1

File Longinfo

Posted: Sun 31. Oct 2004, 15:59
by leone
Is there any way to extract the longinfo stored along with an image file. I would like to be able to access this info, i.e. use it for the picture captions. For example I would like to be able to leave the picture caption empty in the content menu and when there is a description it would take the longinfo and use it as a caption. Another solution would be to add a tag such as {LONGINFO} in the caption field.

I have tried in vain to find the correct php files for this. Can someone direct me to the correct php files for such a mod.

Another solution would be that the longinfo would be added automatically in the caption field, as soon as one has selected a picture in the content edit menu. Then one would be able to accept or change the existing caption text.

I would be glad for any hints towards a solution.

regards,
Leone

Posted: Sat 25. Dec 2004, 15:30
by Pauli
hi leone, I have exactly the same question/desire.
Any answer to this?

Posted: Sun 26. Dec 2004, 11:33
by Pauli
The layout of the popup is from 'image_zoom.php'
Is it possible to maybe add some code to get related info of the pictures, for example get 'f_longinfo' from the 'phpwcms_file' table?