Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Output images in tabular form

    Hey, I need help with this
    Basically, what I want is a script where links to images can be put into a form along with a link after which it gets interpreted and outputs the images in a tabular form with links underneath for each streamed image.
    I won't be uploading the images, I'd only put a link to the image and a link to a download section under each image.

    See an example, this was done with a bulletin board system, although, it's too tedious to continue that way:



    -[n3rve]

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    I don't see how this is a PHP problem. Looks like its simply a formatting question for CSS since it sounds like you'll be using standard <img> tags or css backgrounds.
    If you can clarify a reason for using PHP, I'll keep it here, otherwise we'll have it moved up to HTML/CSS forum.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    New Coder
    Join Date
    May 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hey Fou-lu ,
    Sorry for not explaining in detail, I'm looking for some sort of program that I can drop image links into and it will then send the parsed links to a html table and populate them. From there I'll take the CODED html table and just paste it into a post. This will also include a link below each image.

    I thought PHP would be best to handle the code transformation and such and hoped someone would give me a start on how to code this up

    Here's how i want the code to look after it's ran through the parser:
    Code:
    [html]<center><table border="1" bordercolor="#ffffff" style="background-color:#3a3e42" width="700" cellpadding="4" cellspacing="4">
     &nbsp;
    <tr>
     &nbsp; &nbsp; &nbsp;<td><center><a href="http://img259.imagevenue.com/img.php?image=36192_video-paradise_123_246lo.jpg" target=_blank><img
    
    src="http://img259.imagevenue.com/loc246/th_36192_video-paradise_123_246lo.jpg" border="0"></a><br><br><a href="http://rapidshare.com/files/174133598/Paradise-Ambra.rar.html" ><b>Ambra - Paradise</b></a></center></td>
     &nbsp; &nbsp; &nbsp;<td><center><a
    
    href="http://img252.imagevenue.com/img.php?image=36167_video-path_123_182lo.jpg" target=_blank><img
    
    src="http://img252.imagevenue.com/loc182/th_36167_video-path_123_182lo.jpg" border="0"></a><br><br><a href="http://rapidshare.com/files/174133624/Path-Ambra.rar.html" ><b>Ambra - Path</b></a></center></td>
     &nbsp; &nbsp; &nbsp;<td><center><a
    
    href="http://img210.imagevenue.com/img.php?image=36228_video-pinfold_123_214lo.jpg" target=_blank><img
    
    src="http://img210.imagevenue.com/loc214/th_36228_video-pinfold_123_214lo.jpg" border="0"></a><br><br><a href="http://rapidshare.com/files/174133826/Pinfold-Ambra.rar.html" ><b>Ambra - Pinfold</b></a></center></td>
     &nbsp; &nbsp; &nbsp;<td><center><a
    
    href="http://img230.imagevenue.com/img.php?image=36166_video-sandybeach_123_2lo.jpg" target=_blank><img
    
    src="http://img230.imagevenue.com/loc2/th_36166_video-sandybeach_123_2lo.jpg" border="0"></a><br><br><a href="http://rapidshare.com/files/174135600/Sand-beach-Ambra.rar.html" ><b>Ambra - Sandy Beach</b></a></center></td>
     &nbsp; </tr>
     &nbsp; <tr>
     &nbsp; &nbsp; &nbsp;<td><center><a href="http://img23.imagevenue.com/img.php?image=52776_saoma_123_1193lo.jpg" target=_blank><img src="http://img23.imagevenue.com/loc1193/th_52776_saoma_123_1193lo.jpg" border="0"></a><br><br><a href="
    http://rapidshare.com/files/174127642/Ds-Saoma-Ambra.rar.html" ><b>Ambra - Saoma</b></a></center></td>
     &nbsp; &nbsp; &nbsp;<td><center><a href="http://img255.imagevenue.com/img.php?image=52695_suprise_123_486lo.jpg" target=_blank><img src="http://img255.imagevenue.com/loc486/th_52695_suprise_123_486lo.jpg" border="0"></a><br><br><a href="
    http://rapidshare.com/files/174127688/Ds-Surprise-Ambra.rar.html" ><b>Ambra - Suprise</b></a></center></td>
     &nbsp; </tr>
    </td>
     &nbsp; </tr>
    
    </table>
    <p style="font-family:verdana,arial,sans-serif;font-size:9px;"></p>
    </center>
    [/html]
    If you feel HTML would handle this, feel free to move it accordingly.

    Regards

    -[n3rve]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •