New installation: can't see images

New installation: can't see images

by Marco Rota -
Number of replies: 3

Hi all,

I made a new 1.8.2 installation. All works fine except I can't see images!

I can see "internal" moodle images (icon, banner ecc...) but I can't see uploaded images. No error returned... only blank space with border and "x" at top left.

---------
|x      |
|       |
|       |
---------

Help me please!!

Tnx

Average of ratings: -
In reply to Marco Rota

Re: New installation: can't see images

by Matt Gibson -
you need the GD extension for php installed and enabled in order to see images.

Go to admin->server->environment

What does it say about GD? Also, are you on a hosted server or is it your own system that you have set up your self? if so, you can uncomment the relevant line in php.ini (somewhere in with the other module settings, should be relatively easy to find)

Matt
In reply to Matt Gibson

Re: New installation: can't see images

by Paul Holden -
Picture of Core developers Picture of Moodle HQ Picture of Moodle Workplace team Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Matt,

GD isn't required if all you're doing is serving images, you only need it if you're generating them on the fly (for example the graphlib uses it). If the problem exists when trying to view uploaded files, the most likely culprit is that the slasharguments setting hasn't been set correctly.

See this page in the docs for more info.

You can check your current setting by going to 'Server' -> 'HTTP' from your site administration panel.
In reply to Paul Holden

Re: New installation: can't see images

by Matt Gibson -
Paul, you're right. I should have been more specific there. I had the same problem on my system where I couldn't see any user pictures because they all need resizing, but the icons etc were ok as they came at the right size.