Results 1 to 3 of 3

Thread: Way to add html formats for image viewers script or macro?

  1. #1
    Join Date
    Jun 2012
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Way to add html formats for image viewers script or macro?

    Please, no php (my server does not support)

    When using any image viewers all image must be manually added. Example from Image viewer script:

    Code:
     <a href=  "http://your url .com/0001.jpg"
       rel="thumbnail"><img style="HEIGHT: 125px"
         src="http://your url.com/0001.jpg"></a>
    Format can be copied and pasted for additional images, but must be manuallly edited
    Code:
    <a href=  "http://your url .com/0002.jpg"
       rel="thumbnail"><img style="HEIGHT: 125px"
         src="http://your url.com/0002.jpg"></a>
    Does anyone have script or macro that would automatically increase selected variable to next integer using a text editor like word or Openoffice?

    Code:
    <a href=  "http://your url .com/<previous + 1>.jpg"
       rel="thumbnail"><img style="HEIGHT: 125px"
         src="http://your url.com/<previous +1>.jpg"></a>
    It is easy to rename images with successive integers (Photoshop) this would save a lot of time for galleries with many images.
    Last edited by james438; 04-13-2013 at 06:00 PM. Reason: format

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    2,010
    Thanks
    16
    Thanked 315 Times in 313 Posts
    Blog Entries
    13

    Default

    I believe you already have this question in another thread, which has been answered: http://www.dynamicdrive.com/forums/s...avigation-menu
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    I'm closing this since this question was already answered in your other thread, and there is no new info here.
    If you need to ask anything more on this same topic, please post in your original thread.


    However,
    Quote Originally Posted by mylcorp
    using a text editor like word or Openoffice?
    I feel it necessary to point out that these programs are not text editors.

    They are word processors; their primary purpose is to allow rich formatting of text and documents.

    The whole reason coders use a text editor is to make sure the file is written with plain text, because formatting causes problems in code. A common example of this problem is that MS Word uses "smart quotes": it automatically converts normal quotation marks to left/right quotation marks (i.e., "smart quote" becomes “smart quote”), which breaks your HTML (and other code that relies on quotation marks for syntax).

    For coding, it is always best to use an actual plain text editor. There are plenty of options. Look into FREE programs like Notepad++, Gedit*, TextWrangler, or Komodo*^.

    * cross-platform (Linux/Mac/Windows)
    ^ my current favorite - highly recommended!
    Last edited by traq; 04-14-2013 at 03:35 AM.

Similar Threads

  1. Replies: 0
    Last Post: 07-15-2010, 01:10 AM
  2. javascript gallery that supports all image formats
    By tomwaits4noman in forum JavaScript
    Replies: 3
    Last Post: 04-16-2009, 04:11 PM
  3. Different formats for <a> tag
    By brycol in forum CSS
    Replies: 6
    Last Post: 05-18-2008, 05:30 AM
  4. Thumbnail viewers with auto image sizing?
    By ruthc in forum Looking for such a script or service
    Replies: 0
    Last Post: 01-13-2008, 02:11 AM
  5. Need a script to tell viewers who's on the air
    By DJ_Melody in forum Looking for such a script or service
    Replies: 10
    Last Post: 02-24-2007, 02:07 PM

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
  •