...

View Full Version : Output images in tabular form



n3rve
12-18-2008, 04:41 AM
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:

http://img107.imagevenue.com/loc405/th_67223_2008-12-16_144154_122_405lo.jpg

-[n3rve]

Fou-Lu
12-18-2008, 06:01 AM
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.

n3rve
12-19-2008, 09:09 PM
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:




<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>


If you feel HTML would handle this, feel free to move it accordingly.

Regards :)

-[n3rve]



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum