1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Ive searched and searched. Can someone help me with this page setup

Discussion in 'C#' started by Robb, Oct 15, 2006.

Thread Status:
Not open for further replies.
  1. #1
    Hello,

    I am working on a gallery page. One similar to this one: http://troyhouse.com/

    I need it to update the pages automatically once i upload a new image to a folder, and each section of the portfolio show whats in each folder (like this:

    PORTFOLIO
    > user 1 folder
    > user 2 folder
    > user 3 folder

    I know this is probibly really simple, but I cannot find how to do this at all. (im new to asp). I looked on hotscripts, but couldnt find anything similar to this at all.

    Any help would be appreciated.

    Thanks
     
    Robb, Oct 15, 2006 IP
  2. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #2
    I dont properly understand you, but ......

    Do you mean you need some sort of script that would tell you the contents of a folder?

    More over are you willing to show the images inside a folder on a webpage ?
     
    Talker, Oct 15, 2006 IP
  3. Robb

    Robb Peon

    Messages:
    355
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ^^^yes,

    I need a person to be able to upload an image to a folder (picture-01.jpg / picture-02.jpg / ect). and that picture automatically show up on the page.

    example:

    MYDOMAIN/main.asp - the main page
    MYDOMAIN/main.asp?s=3 - would pull from a folder of images
    MYDOMAIN/main.asp?s=3&id=1 - would show the 01 image in the folder.

    Now, lets say I have 10 images in a folder, after they go through and get to MYDOMAIN/main.asp?s=3&id=10 they could click a link to go back to id=1

    If you look at http://troyhouse.com/main.asp?s=3&id=1 youll see what i mean.

    Thanks again for your help Sahel
     
    Robb, Oct 15, 2006 IP
  4. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Okay... this is something really new for me .. but ill see what i can do for you.

    http://troyhouse.com/main.asp?s=3&id=1 i saw this page and its showing an image.

    But if you take a look at http://troyhouse.com/main.asp?s=3
    It shows the same image .. it does not show all the contect of a folder.


    Now:
    1) I think you can control the main page yourself.
    2) How do YOU exacly want the MYDOMAIN/main.asp?s=3 to be like? Do you want to show ALL the images in a tabular format?
    3) This would be easy once the (2) is done.


    Also confirm what filenames would you be saving files as? any filename, or in sequence (1.jpg, 2.jpg.....)
     
    Talker, Oct 15, 2006 IP
  5. Robb

    Robb Peon

    Messages:
    355
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes, the main.asp?s=3 page will show an image (maybe random if possible, or just the first image in the folder). I do not want all of the images shown on the page.

    the filenames would be 01.jpg | 02.jpg | 03.jpg | 04.jpg | 05.jpg | ect. they need the 0 in front of the numbers as well, not just 1 - 2 - 3 - 4

    Thanks again man. really appreciate this help.
     
    Robb, Oct 15, 2006 IP
  6. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #6
    Hey , ill definately help you with that ... i need some sleep for now (its 6.30am here) .. could you please wait till tomorrow?
     
    Talker, Oct 15, 2006 IP
  7. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #7
    Adding 0's before each number like 01, 02, 03 will restrict the file count to a 2 digit value i.e upto 99 only .. will 99 be your limit?

    i'd suggest you leave it like 1, 2, 3, 4 so that you can add unlimited number of images.
     
    Talker, Oct 16, 2006 IP
  8. Robb

    Robb Peon

    Messages:
    355
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hello Sahel,

    Up to 99 images is fine. I do not think I will have that many :) My partner for this project REALLY is stuck on the 01 02 idea. so, if we can leave it at that. Thanks a BUNCH. ill leave a positive itrader rating for you in a bit.
     
    Robb, Oct 16, 2006 IP
  9. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #9
    Ive compelted the scriping.
    i'll PM you the temporary URL
     
    Talker, Oct 16, 2006 IP
  10. Talker

    Talker Notable Member

    Messages:
    2,795
    Likes Received:
    108
    Best Answers:
    0
    Trophy Points:
    210
    #10
    Glad you liked it.
    Yes, i can add that small fix for you. Waiting for you to send me the designed file for integration of the script.
     
    Talker, Oct 17, 2006 IP
    poseidon likes this.
Thread Status:
Not open for further replies.