Images in single.php
-
Hi all!
In admin when you create a post you can attach images to the post. Not in the textfield but just basicly uploading an image thats related to the post. Appears in a tab called “Gallery (numofimages)”. I wonder how i can code this into the single.php template file. What i want to do is:
GET images WHERE id postid
echo “<img src=’image’ />”;
Should be basic but i have no idea and havent found any answers on the forum.
Edit: I’d also like to this for .swf files, all media files related to the post, how do i grab them?
Best regards
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Images in single.php’ is closed to new replies.