Results 1 to 2 of 2

Thread: So many choices - seeking automatic image viewer?

  1. #1
    Join Date
    Apr 2012
    Thanked 0 Times in 0 Posts

    Default So many choices - seeking automatic image viewer?

    So many choices -
    I am seeking code to display .jpg on a web page from an "images" folder on same website. Is it possible to display contents of the folder without adding pix name and code to the webpage? Also to cycle through the entire Images folder without renaming each .jpg file? - Like Windows filemgr SlideShow.

    Thanks for any direction.

  2. #2
    Join Date
    Mar 2006
    Illinois, USA
    Thanked 690 Times in 678 Posts


    You can find many discussions about the impossibility of preventing others from stealing your images. It's not possible, don't bother trying it because it will just make your page unusable and not stop image thieves. (And in some cases, why not let someone save the image-- maybe they just like it and want to look at it, or want to use it in a class presentation-- harmless stuff.) If you need to deal with this, you can either use copyright law (slow and difficult, unfortunately, although you can speed it up by contacting webhosts if someone is copying your stuff), or you can not put up important files to be downloaded.
    The simplest explanation: if someone can see it, that means it is ON their computer. It might not be in an easy place to save it, but for someone who knows what they're doing, it is easy.

    As for showing an entire directory, sure. You would need a serverside script that can search the directory, then you would need a Javascript image gallery. Or, if you want, Flash (or another plugin) could do this too. PHP and Javascript would be the most common combination.

    One option is here:
    You could, if you need, combine the PHP half of that with another gallery/slideshow. It might be a little work to change it, but the basic idea could be used in many ways.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post: (04-28-2012)


Posting Permissions

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