File Longinfo

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
leone
Posts: 21
Joined: Tue 19. Oct 2004, 11:30
Location: Switzerland

File Longinfo

Post 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
Pauli
Posts: 92
Joined: Mon 30. Aug 2004, 11:53

Post by Pauli »

hi leone, I have exactly the same question/desire.
Any answer to this?
Pauli
Posts: 92
Joined: Mon 30. Aug 2004, 11:53

Post 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?
Post Reply