Welcome to Geeklog, Anonymous Thursday, May 23 2024 @ 11:23 pm EDT

Geeklog Forums

URL of image posted


Status: offline

fakestar

Forum User
Chatty
Registered: 03/15/06
Posts: 37
Hi

How can i show the url of each image posted in articles?

Actually, i need a form showing like this:

<form name="formurl">
<input name="permalink" value="&lt;a href=&quot;http://www.mysite.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot; URL of image of post here&quot; alt=&quot;&quot;&gt;&lt;/a&gt; " class="permalink" onClick="javascript:document.formurl.permalink.focus();document.formurl.permalink.select();" readonly="true" type="text" />
</form>

below every image posted in articles.


Thanks

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You would need a piece of PHP code to get the names of the images from the database ...

bye, Dirk
 Quote

All times are EDT. The time is now 11:23 pm.

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