No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I designed a photo gallery for a local Primary School and now that the new session has started, I have been asked to remove all the photographs and supply them on CD. Unfortunately, although I have now corrected the problem for new photos, I did not have a unique name … |
|
A primary school website I am working on is completely database driven and as part of the site the school wishes a series of photo galleries. For various reasons I cannot use any of the ready made photo galleries. I have managed to write the code for uploading the pictures … |
|
I have managed to get previous and next links working on my photo gallery but need to tidy it up. My link works when coded like this [CODE]<? echo "<a href='" . $PHP_SELF . "?photo_id=$prev'>Previous</a>" ?>[/CODE] But when I do this I get various errors. Obviously my syntax is wrong … |
|
I am trying to create a photo gallery and there are various reasons why I need to create it from scratch. Below is the code for my upload file and I have been building it gradually. I have now added the resize function. I had placed this function in a … |
|
I have an HTML form for authorised users to upload photographs and am having problems with file size. I have my test server restricted to 2m filesize upload and am trying to add something to tell my users if they go above this. I have tried using a hidden field … |
|
Is there a way to find the path to imagemagik on my server, I got the following code from someone to fin out if imagemagik is on the server [CODE]<?php echo "<pre>"; system("type convert"); echo "</pre>"; ?>[/CODE] I get the following back, is this the path? [QUOTE]convert is /usr/bin/convert[/QUOTE] |
|
When trying to resize photographs I am getting the following error on my test server. Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in C:\wamp\www\phototest\reqfiles\submit_photo.req.php on line 70 here is my code from line 67 to 74 [CODE]$src = ImageCreateFromJpeg($image); $dst = ImageCreate($tn_width,$tn_height); ImageCopyResized($dst, … |