Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Friday, May 24 2013 @ 10:52 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Image Captions???
   
Anonymous: Interested
 07/18/03 01:13AM (Read 1634 times)  



Just wondering if anyone has figured out a good and simple way to add captions to images.


If not, would it be a very complex matter to write a hack to display image captions?

Seems to me one could add a \"caption\" field to table \"gl_article_images\" that would be read with the article\'s \"ai_sid\". The \"story.php\" file would have to be modifed to allow entry of the caption text. Then would come the hard part. Rolling Eyes

The caption text would have to stick with the image, say, always on the image\'s lower right. Hmmmm. How could one effect such a fantastic phpenomenon? Mr. Green

 
 Quote
dgrosvold
 07/19/03 10:26AM  
+----
Newbie

Status: offline


Registered: 06/05/03
Posts: 8
I do it using this simple chunk of HTML:
PHP Formatted Code
<table cellspacing="0" cellpadding="5" align="left">
<tr><td>[image1_left]</td></tr>
<tr><td align="center">Caption -  Copyright ©: 2003 Photographer</td></tr>
</table>

I used this originally because I didn't like seeing the text bumped up against the photo with no white space, but then I added the second row as a caption. This is great for those of us who have HTML knowledge, but I have users on my site who don't. I would like to see a possible enhancement to Geeklog to do this automatically. ( I typically have to edit their stories & fix that manually at this point.)

Dave Grosvold - Greenwood, AR
 
Profile Email Website
 Quote
Anonymous: Interested
 07/19/03 03:51PM  



Thanks for the reply.

I haven\'t had time to look at this issue in detail. My current GL installation doesn\'t quite work well (hasn\'t for sometime because of a server software problem I have been working doggedly to solve). Besides, since I don\'t really know PHP I don\'t know what good I can be here anyway. But it seems to me image captions can be added to GL quite nicely. In a few days I will try to look at it and see if I can discover anything.

In the meantime, if anyone who knows GL and php wishes to quick jump in and offer some hints and tips regarding how I might approach this problem, please do it. I\'m willing to learn and do the coding myself. So you don\'t have to worry about me nagging you. Every little bit of help helps! Mr. Green

 
 Quote
Content generated in: 0.72 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content