Image Magick Error to create thumbnail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jeevanism
Forum Newbie
Posts: 14
Joined: Fri Dec 09, 2011 12:12 am

Image Magick Error to create thumbnail

Post by jeevanism »

Hello to all,

this is my first visit on this forum. I have an issue. I have an application using php in which I have to create thumbnail of the uploaded images. I use imagemagic for this purpose using

shell_exec command.

the issue , when it tries to create thumbnail, it cannot create. getting an error as permission denied. with blob.c error

I tried to make chmod -R 777 to my htdocs. but the problem still persists....

any help would be greatly appreciated.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Image Magick Error to create thumbnail

Post by pickle »

Show us the command you're using, as well as the entirety of the error message.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
jeevanism
Forum Newbie
Posts: 14
Joined: Fri Dec 09, 2011 12:12 am

Re: Image Magick Error to create thumbnail

Post by jeevanism »

thanx for response.. I solved it but putting execution permission to my php file which is calling imagemagick as shel_exec. hope things are ok now..
Post Reply