Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Jun 2015, 09:01
ageurtse ageurtse is offline
 
Join Date: Apr 2009
Real name: arnold
create a page with pictures

Hello,

I wan't to create a page where a list of images is displayed.

i read the article on how to create a page (http://www.vbulletin.org/forum/showthread.php?t=228112)


The page with the text TEST is displayed, but now i wan't a list of images being displayed.

There is a table in the database, where the name and URL of the image are.
but i can't figure out where and how to fetch this list, and generate a <img> tag so these images are displayed.

do i do this on the page or in the template ?

need some advise or tutorials on how to do this.

--------------- Added 27 Jun 2015 at 15:00 ---------------

i think i'm a bit further, but the array isn't filling.

it seems that my read on the database is wrong.
but can't figure out what.

below a peace of the code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #2  
Old 29 Jun 2015, 13:42
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Read this article to learn how to access the database:
http://www.vbulletin.org/forum/showthread.php?t=119350
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:52.

Layout Options | Width: Wide Color: