Loading...
 
Features / Usability

Features / Usability


Image and Thumbnail not displayed on Upload. Any Ideas why?

posts: 22 Ireland

I am running tiki 1.8.4 when i upload an image to my image gallery, i get the message

Upload successful!
The following image was successfully uploaded:

In tiki-upload_image.php

However the image and thumbnail which i uploaded does not get displayed below this message, all i get are the two boxes with the red crosses and the text "image ID" instead of the image.

I am able to browse the gallery and view the full size images but not able to view any thumbnails.

Does anyone know what the problem is and how i could fix it?? It is extremely important to me that i get this particular problem sorted out.

I have removed the semicolon from before the line extension=php_gd2.dll in php.ini and i have insured that php_gd2.dll is in the extensions folder.

I have also changed the memory limit in php.ini to 33 MB, here is the exact line:

memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)

I have also ran php.exe --modules from the command prompt to verify that GD is an installed module.

Please Help!

posts: 2881 United Kingdom

Make sure php was compiled with the --with-jpg option.

Also have you restarted apache to accept the changes to the config file? Apache mod_php and php.exe are different.

use the phpinfo on your Admin menu in TikiWiki for confirmation of module and value changes

Damian

posts: 22 Ireland

Hi Damien,

Thanks for the quick reply! I am running my Tiki site on IIS - does this make a difference??

I have stopped and restarted IIS using:

net stop iisadmin
net start w3svc

But it makes no difference!!

Im afraid i dont know how to compile php with the --with-jpg option can u please tell me how?

Do i just type:

C:\php> php.exe --with-jpg

Thanks again..