PDA

View Full Version : Graphics engine installation problem


SteveF
5th of April 2004 (Mon), 15:39
Hello,

Setiing up graphics module in 1.5 RC3 . FTP step is all done and green.

ImageMagic Paths are both listed as ok. They are /usr/local/bin/convert (or composite) on lunar pages. I'm on the Valina server at LunarPages which is the one with exec() and the one others here have been on to run this.

When I click on 'ImageMagic' in the 'Select Test' menu and then click 'test' I get

Original size: 769x513


RESIZE RESULT:
ee_result_37e2682726.jpg (4 KB):


but no pictures. Was this file in the RC3 pack? Or another step I missed? Trying to follow the instructions to the letter - thanks for your help.

Steve

Pekka
5th of April 2004 (Mon), 17:37
Just to make sure: is your browser set to show pictures?
The file ee_result_37e2682726.jpg is not a "fixed" one but created and named differently each time test is done. You can find it in

/UPLOAD/test/ee_result_37e2682726.jpg

Can you see resize method preview results (if you use ImageMagick)?

SteveF
5th of April 2004 (Mon), 21:58
Hello,

Just to make sure: is your browser set to show pictures?

I think so. I have no problem seeing pictures on other EE websites or other general sites. Is this what you mean?

Can you see resize method preview results (if you use ImageMagick)?

Nope. The pages print out a result like this

IMAGEMAGICK RESIZE AND SHARPEN TEST PAGE
IMPORTANT: set your browser's cache system to read every page directly so that results are up-to-date and not cached!

GENERATED COMMANDS:
RESIZE, SHARPEN, PROFILE: /usr/local/bin/convert -size 560x373 UPLOAD/test/source.jpg -resize 560x373! +profile '*' -unsharp 0.4x0.5+1+0.1 -quality 85 UPLOAD/test/result.jpg


RESIZE RESULT:
result.jpg (56 KB):



But there is no associated image.

In IE 6 under Tools > Internet Options > Temp Internet Files > Settings I have 'Check for newer version on every visit to the page' checked. Is this the same as having the cache set appropriately? I did a search for "cache" settings and couldn't find this word specifically.

thanks,

Steve

SteveF
6th of April 2004 (Tue), 23:28
Hello,

Just an FYI - same result in RC4.

I also tried it on Opera - got the same result - so I don't think it is an IE issue, but again not sure.

thanks,

Steve

Pekka
7th of April 2004 (Wed), 08:20
Can you PM me the address to your editor (and login info) - I'll see what is going on there. If there is some problem I cannot fix it I can not reproduce the problem here.

Pekka
7th of April 2004 (Wed), 11:55
Thanks for PM. I went there and I tried IE 6 and FireFox 0.8 and I saw the test image normally.

Download Firefox browser and try with that. If you can not see the test image with it either then it is a firewall problem (which it must be).

http://www.mozilla.org/products/firefox/

SteveF
7th of April 2004 (Wed), 14:46
Hello,

You were correct. Zone Alarm Pro was seeing the picture as a pop up ad and blocked it. As soon as I allowed these for the site then it worked fine.

Thanks again,

Steve

Pekka
7th of April 2004 (Wed), 15:07
Hello,

You were correct. Zone Alarm Pro was seeing the picture as a pop up ad and blocked it. As soon as I allowed these for the site then it worked fine.

Thanks again,

Steve

Interesting, because it is not a popup. Maybe they filter out MD5 filenames just in case... :)

cruaux
24th of April 2004 (Sat), 00:02
Using EE 1.5 RC4, ftp server set up gets all greens, and the ImageMagick paths are being shown as OK, but when I run the test I see no resized image. I get the same with IE, Safari and Firefox, and I have allowed popups in both IE and Safari. I added a different file to the upload directory as well and tried testing with this... the calculated sizes and so forth in the test are correct for the original, but still no resizing.

If I watch the /UPLOAD/test folder with an ftp program, I never see files appearing with the names generated in the graphics module report window.

I'm not entirely clear what is going on here (obviously :? ), would appreciate any pointers.

Jernau
24th of August 2004 (Tue), 17:22
First of all, greetings to everyone in the forum and thanks to Pekka for producing such an amazing piece of software.

I am attempting to get my first Exhibit Engine site off the ground and have hit a problem at what I'm hoping is about the mid-point of the install. I have successfully installed the database, setup the ftp server and have gotten to the graphics module installation. However, I cannot get the ImageMagick test to pass. The IM Paths for 'convert' and 'composite' both indicate a green PATH OK, so I'm assuming IM is correctly installed on the server. When I click 'DO THE SELECTED TEST' on ImageMagick and IMagick I see no resized image (much like cruaux above me).

On examination of the input/UPLOAD/test/ folder on the server I can see that a number of files have been created (ee_result_47b6af03b0.jpg.0 to ee_result_47b6af03b0.jpg.8 ) of various different sizes (ranging from 35.6KB for ee_result_47b6af03b0.jpg.0 to 196bytes for ee_result_47b6af03b0.jpg.8 ). The actual resized jpg itself doesn't appear to have been created though.

Does anyone know why this might be happening? Has anyone come across this issue? cruaux, did you get a resolution to your problem?

I can get GD1 & 2 to work, but I would prefer to get IM working off the bat. My site is hosted by UKHOST4U (one of the hosts recommended in the sticky) if that sheds any light on the matter. I have tried in both Mozilla Firebird and IE, so I'm pretty certain it isn't a browser issue. Also because the .jpg.<number> files are being created in the test folder I'm assuming that permissions are ok.... consider me stumped!

Thanks in advance for any help with this. I'm really looking forward to getting my EE site up and running!

Pekka
25th of August 2004 (Wed), 14:10
The imagemagick path may come up as OK in some serfver configurations even if it does not work - some servers have set up a fixed response to exec command and this can be interpreted as response from Imagemagick by EE.

First of all, you must have safe mode OFF or safe_mode_exec_dir set to imagemagick path in order to run program like IM.

Contact your server support and ask what imagemagick path is and as make sure that your server has safe mode set as above (this can be done per server in most cases).

If you have Windows server and imagemagick path contains spaces let me know. In RC4 path does not accept quotes, I have already fixed that in developement version.

Please also check that following folders are chmod to 777 or 757:

GALLERY/temp
GALLERY/export
GALLERY/input/temp
GALLERY/input/UPLOAD
GALLERY/input/UPLOAD/test
GALLERY/input/UPLOAD/ee_temp_upload
GALLERY/input/backup/ee_backup_files

If imagemagick runs but you get errors with (indication is temp files left over), then try a different IM profile setting in graphics engines page.

Jernau
27th of August 2004 (Fri), 02:44
It was the profile settings. IM is working perfectly now! Thank you so much for your help and thanks again for the software, the more I use it the more it blows me away :D

nbolsen
10th of September 2004 (Fri), 17:06
>>If you have Windows server and imagemagick path contains spaces let >>me know. In RC4 path does not accept quotes, I have already fixed >>that in developement version.

i am using windows anfd have the problem is there a fix? :D