Announcement

Collapse
No announcement yet.

html help - how can I refer to "the next" picture when displaying jpegs on my website

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    html help - how can I refer to "the next" picture when displaying jpegs on my website

    I have an FTP site where i upload jpgs from a webcam program. In this case I can identify the pictures to display on my website using their explicit name since the webcam program provides cascading naming when using FTP. I now have a need to FTP pictures where a DVR forces date stamped file names.

    How can I specify a generic picture display in HTML code? For example, "show me the most recent picture" in a directory. And then "show me the next picture".

    I currently use HTML code such as "
    <a href="loft1.jpg">
    <img border="0" src="loft1.jpg" width="148" height="119"></a></td>

    Is there a way to change this to provide me the "show me the most recent picture in a directory"?

    Thanks

    #2
    If it is an .html page then no. Best to rename the latest image to a common name before uploading.

    One example: https://forums.homeseer.com/forum/ho...60#post1412660


    Jon

    Comment


      #3
      Thanks jon00. I was hoping that wasn't the case.... rats.

      Thanks too, for the example. The jpegs reside on the ISP server. I can write a script to rename the files each time, and in essence do the cascading naming, but with the frequency of posting and the number of images groups, it would be a lot of processing.

      I think I have to ponder this for a bit.

      ...thanks

      Comment

      Working...
      X