SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Technically not a Graphics Question but this is the best place I could find to post..

    Hello All:

    I am new at a job and I was given the daunting task of taking inventory of all the images on a website that are not directly linked or cannot be seen.

    For example, everyone can see the images in the global header through a browser and I can easily use the web developer tool bar to give me a summary of a given page.

    However, what I do not know how to do is this. I have a list of 481 graphics in a text file that are located on a server but i do not have a way to copy the image, provide a link to that image and name.

    There has to be an easier way to accomplish this other than me going one at a time through a text file, putting it in a browser, and step by stepping this to death.... right....

    Thanks for any help or advice on this,

    paul
    ********
    Regards,

    P

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,301
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by tombempty View Post
    I have a list of 481 graphics in a text file that are located on a server but i do not have a way to copy the image, provide a link to that image and name.
    I don't really know what you mean by that. Images in a text file? What does that mean? Do you mean they appear on a web page? The images will be in one or more folders on the server. What do you need to do with them?

  3. #3
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Ralph M:

    Thanks for your help with this,

    Sorry, I should have been more detailed. I have a text file with 481 names of images listed like

    image1.gif
    image2.gif
    image3.gif
    image4.gif

    and so on...

    I need to create a spreadsheet with 4 columns across that basically has

    The image itself, the name of the image, the path of the image, local path of the image.

    The problem I have is that, in order to copy each 481 of these images, I would have to open a browser window, in the images folder, and go one at a time down the list and paste the name of the image into the address bar so that I can copy each image into the spreadsheet.

    There has to be an easier way to accomplish this,

    Paul
    ********
    Regards,

    P

  4. #4
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,554
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    Write a script that recursively goes through the directories looking for files that have image extensions, then takes that data and outputs as csv /pdf etc

  5. #5
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks EC

    I decided to punch these out one at a time because the time it would take me to write that script out, I would be half way done.

    thanks everyone for the help and advice on this,

    Paul
    ********
    Regards,

    P


Bookmarks

Posting Permissions

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