473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Cropping of an image through url in php

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
2 1762
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ralph Freshour | last post by:
Is there anyway to crop .jpg images so that they are all of the same width and height? I use the following math to calculate the correct aspect ratio: width / height == aspect ratio so if I...
1
by: Duncan Smith | last post by:
Hello, Can anyone advise me how to crop an EPS image generated by dislin. I can't figure out how to crop the image before generating it. Using PIL to crop the generated image I get an IOError...
3
by: Paul E Collins | last post by:
I need to load a bitmap image, crop it, and save it. By cropping, I don't mean resizing - I mean reducing it to a fixed size area. Image img = Bitmap.FromFile("in.bmp"); // what goes here?...
2
by: Milsnips | last post by:
hi there, i'm uploading to my photo gallery and this is what i'm after.. When user uploads image, i automatically create a 75x75 thumbnail, however using the GetThumbnailImage function drops...
0
by: AmerS | last post by:
hi, I have been trying to generate image patches for a training set but have not succeded yet. The only method i tried is cropping areas of the image and store the cropped images or patches as an...
0
by: lalithabhamidi | last post by:
Hai i am using GDIplus and working on VC++ 6.0.Please can u help me on Removing red eye and cropping an Image.I immediately need ur help. Thanks in advance for ur help.
1
by: jpuopolo | last post by:
All: I looked around and could not find a simple yet complete example of cropping an image in C#. I had the problem of needing to shave off the bottom-most 18 lines of a directory full of...
1
by: MUHAMMAD RAFIQUE | last post by:
1-How to crop a image in Visual Basic 2- How to save the in the same Jpg file after Cropping
3
by: mcfly1204 | last post by:
I have a photo cropping tool in place that fits my needs, with one exception. When a user uploads a high res. photo, it does not fit on the screen. I have a zoom feature that allows the image to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.