By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,725 Members | 1,088 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,725 IT Pros & Developers. It's quick & easy.

Cropping of an image through url in php

P: n/a
Hi,

I am facing a problem with generation of thumbnail images in php.

The requirement is as follows: the client would provide the image url,
description, and content through a page.
and the same information will be stored in database. While displaying
all images i should take that url. and read it
byte by byte and pass to a curl function where in it crops and echos..
the cropped version of image.

When I am trying to do so, I am getting the output in the localhost.
But the same is not working out on the server.
Error Generated: Cannot download image, Server Configuration - no URL
file access permission

Can u plz solve the problem in this issue

Nov 21 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
kumari wrote:
Hi,

I am facing a problem with generation of thumbnail images in php.

The requirement is as follows: the client would provide the image url,
description, and content through a page.
and the same information will be stored in database. While displaying
all images i should take that url. and read it
byte by byte and pass to a curl function where in it crops and echos..
the cropped version of image.

When I am trying to do so, I am getting the output in the localhost.
But the same is not working out on the server.
Error Generated: Cannot download image, Server Configuration - no URL
file access permission

Can u plz solve the problem in this issue
What's the URL you're passing it on the server?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Nov 21 '06 #2

P: n/a
On 20 Nov 2006 22:47:16 -0800, "kumari" <vi*************@rediffmail.comwrote:
>I am facing a problem with generation of thumbnail images in php.

The requirement is as follows: the client would provide the image url,
description, and content through a page.
and the same information will be stored in database. While displaying
all images i should take that url. and read it
byte by byte and pass to a curl function where in it crops and echos..
the cropped version of image.

When I am trying to do so, I am getting the output in the localhost.
But the same is not working out on the server.

Error Generated: Cannot download image, Server Configuration - no URL
file access permission

Can u plz solve the problem in this issue
This doesn't answer your question - it's virtually unanswerable due to you not
posting enough information. But if anyone is looking for a good client-side
image cropping widget I highly recommend:

http://www.defusion.org.uk/code/java...scriptaculous/

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Nov 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.