Uploading images

Discussion in 'wiki development.' started by Richard Watkins, Jun 17, 2009.

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. Richard Watkins

    Richard Watkins Registered User
    NAWCC Member

    Oh, well, I'm thick.

    I created an image article with the name ALDennisonPortrait. I uploaded a file with the name ALDennisonPortrait.jpg, which it did OK. But when I try to save the article I get an error saying the file and article names are different!

    Why?
     
  2. Jerry Treiman

    Jerry Treiman Registered User
    NAWCC Member Donor

    Aug 25, 2000
    5,077
    19
    38
    Geologist - California Geological Survey
    Los Angeles, CA
    Country Flag:
    Region Flag:
    Apparently the article title needs the same extension (.jpg) as the image.
     
  3. Tom McIntyre

    Tom McIntyre Technical Admin
    Staff Member NAWCC Member Donor Sponsor

    Aug 24, 2000
    77,866
    396
    146
    Male
    retired SW dev
    Boston
    Country Flag:
    Region Flag:
    Correct.

    The image namespace can hold a variety of other image types besides pictures. In general any file can be handled, but if it is a new file type the admin needs to make provision for it. Keeping the extension in the article name simplifies the wiki handler for the files.
     
  4. kirxklox

    kirxklox Registered User
    Donor

    Dec 17, 2002
    4,387
    55
    0
    Dardanell, AR
    Country Flag:
    Region Flag:
    File names in the INTERNET World is going to be critical, In the area of Horology, Images are worth a 1000 words and many questions can only be answered by using good images.

    I have developed my own extensible filing system for Images for Pocket Watches using SerialNumber-Desc-#. Some of you may want to consider developing something similar.
     
  5. Jerry Treiman

    Jerry Treiman Registered User
    NAWCC Member Donor

    Aug 25, 2000
    5,077
    19
    38
    Geologist - California Geological Survey
    Los Angeles, CA
    Country Flag:
    Region Flag:
    OK ... I placed some images to use in the Wiki Images section and then linked to them in an article. However, the images just show up with no link evident to the Wiki Image space. I notice images in other articles link back to the Image space and, likewise, the original image location indicates the links within the Wiki. How is this done properly?
     
  6. Tom McIntyre

    Tom McIntyre Technical Admin
    Staff Member NAWCC Member Donor Sponsor

    Aug 24, 2000
    77,866
    396
    146
    Male
    retired SW dev
    Boston
    Country Flag:
    Region Flag:
    To link to the image in the image namespace you use the namespace tag [image]articlename.jpg|thumb|Text for the caption[/image]. You can also control the size and placement of the image with similar arguments separated with vertical bar. However, the caption only works with thumbnail size images.

    There is an article, Use of Image Space, in the Tutorials section of the Wiki that goes into use of the IMAGE tag in some detail.
     
  7. Tom McIntyre

    Tom McIntyre Technical Admin
    Staff Member NAWCC Member Donor Sponsor

    Aug 24, 2000
    77,866
    396
    146
    Male
    retired SW dev
    Boston
    Country Flag:
    Region Flag:
    I am adding a note here to make sure this does not slip away.

    Because we are using HighSlide to view enlargements from thumbnails, the Image behavior works differently than it would if we did not have HighSlide in place.

    Clicking on the body of a wiki image will generate the larger view unless it is already full size. Clicking on the large view with the blacked out background will open a new window or tab to display the image.

    If you want to see the Image Article, you need to click on the link symbol in the lower right hand corner of the image box. It looks like a pair of rectangles overlapping.
     

Share This Page