+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 13

Thread: images in /images/ folder do not load

  1. #1

    images in /images/ folder do not load

    Using ftp, I uploaded a few images to the /images/ folder. I try to link on a page using: [[Image:Example.jpg]] but it does not show the image. All I get is:

    Missing image
    Logohat.png
    Image:logohat.png

    Any suggestions?

    Also, I would love to be able to use the alignment and frame (border) in the image, but it looks like I can't link an image from another site, or an http:// address. Any suggestions? Thank you.

  2. #2
    Member hashar is on a distinguished road hashar's Avatar
    Join Date
    Oct 2005
    Location
    Nantes, France
    Posts
    56
    Rep Power
    5

    You need to use the mediawiki upload form to do that: [[Special:Upload]].

    MediaWiki need to store some informations in its database before using an image. It also put the file in weird paths such as /image/b/bc/Wiki.png
    Hashar
    MediaWiki co-developer
    WikiMedia junior sysadmin

  3. #3
    Senior Member Rob Church is on a distinguished road
    Join Date
    Oct 2005
    Posts
    136
    Rep Power
    5

    One can disable hashed upload paths, but yes, MediaWiki's database needs to know some things about the image in order that it can be used.
    Rob Church
    MediaWiki developer

  4. #4
    Junior Member chitaranjan is on a distinguished road
    Join Date
    May 2008
    Posts
    9
    Rep Power
    2

    Database settings

    Quote Originally Posted by Rob Church View Post
    One can disable hashed upload paths, but yes, MediaWiki's database needs to know some things about the image in order that it can be used.
    Hi Rob,

    Can you please explain in details what are changes I have to do in the database for the images to be link directly to the documents.

    Regards,

    Chita Ranjan

  5. #5
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,417
    Rep Power
    9

    Try running the maintenance script rebuildImages.php. It looks through the images directories and adds the missing files to the image table.
    Private message are for private information. Please post public questions. Thanks

  6. #6
    Junior Member chitaranjan is on a distinguished road
    Join Date
    May 2008
    Posts
    9
    Rep Power
    2

    HI Michael,

    After running the maintenance script rebuildImages.php, still my images are not linking in the document. Please suggest

  7. #7
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,417
    Rep Power
    9

    Look at the image table to see if the script added the image information.
    Private message are for private information. Please post public questions. Thanks

  8. #8
    Junior Member chitaranjan is on a distinguished road
    Join Date
    May 2008
    Posts
    9
    Rep Power
    2

    Hello,

    I checked in the Images table and I think the script not added the image information. I run the script from the command prompt "c:/php/php.exe" "D:\Netsites\WIKI\Mediawiki\maintenance\rebuildima ges.php". Is there any thing wrong in the script or do I have to set anything else.

    Please guide me. Thanks

  9. #9

    You probably want to use importImages.php.

  10. #10
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,417
    Rep Power
    9

    Quote Originally Posted by chitaranjan View Post
    I run the script from the command prompt "c:/php/php.exe" "D:\Netsites\WIKI\Mediawiki\maintenance\rebuildima ges.php". Is there any thing wrong in the script or do I have to set anything else.
    You should run the script from the maintenance directory:

    cd D:\Netsites\WIKI\Mediawiki\maintenance
    php rebuildimages.php

    Make sure that AdminSettings.php is properly set up first.
    Private message are for private information. Please post public questions. Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. mediawiki/images folder not secure ?
    By moqua in forum Configuration
    Replies: 2
    Last Post: July 28th, 2008, 12:26
  2. Images in one folder?
    By wutanggrenade in forum MediaWiki General Discussion
    Replies: 1
    Last Post: June 26th, 2008, 05:28
  3. Is an un-hashed images folder a bad idea?
    By jeff in forum Configuration
    Replies: 5
    Last Post: May 9th, 2008, 18:11
  4. Many Wiki one images folder
    By Garzy in forum Installation
    Replies: 14
    Last Post: February 22nd, 2008, 18:55
  5. redirect images folder to remote folder problem
    By sancelot in forum MediaWiki General Discussion
    Replies: 0
    Last Post: January 28th, 2008, 14:01

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