heya guys, im trying to take a variable input file and make a thumbnail so my gallery pageloads are lower. i want all the thumbnails to end up around 15ish kb, i know my current settings dont display that - im still testing.
it works on smaller files 250k, resizes to about 20ish k and 170k to about 3k, but i cant get it to resize bigger images and the while loop wont stop when the image reaches a certain size, i dont know where to go... pls...
User Profile
Collapse
-
php GD makeing thumbnails to a certain size
-
thanks guys, i'll have a closer look at those -
Max_upload
Heya again, im having trouble with file transfers being too big.
neither editing the php.ini or employing the fancy script i wrote to let ppl know they are uploading a file thats waaay to big actually stop the file from being uploaded to the temp cache.
my script "works" but it only looks at the filesize in the cache once the file has been uploaded.
can the filesize checking be done at the... -
createing dynamic new pages
Heya guys,
I an having trouble building a page that dynamically expands.
The page fundimentally works fine, but at the moment i am storing about 45 image locations in my db.
I am having real difficulty finding some understandable examples of how to account for a potentially infinite number of images so the user can view the gallery say 20 images at a time on a page to cut down loading - currently thay... -
I musta screwed up the permissions on teh server or something. i resinalled my micro version of fedora and it works fine now :P...Leave a comment:
-
yeah im only trying small files. i wonder what i did. i might just reinstall web then, thx for the persistance dude.Leave a comment:
-
cheers, but i got the
There was an error uploading the file, please try again!Leave a comment:
-
-
[QUOTE=ajaxrand]Put your form.php,upload .php and gallery in side one dir we will say www dirQUOTE]
thx ajax, but my root.dir is html. i put them i a subfolder, rechecked my permissions, still no go. tried the new path, still no go, tried variations of the path, still no go. its hard to believe it actually worked.Leave a comment:
-
thanx for you're input ajax, i tried the different variations but to no avail, (on a remote server btw). it seems such a simple script.
[directories and permissions]
/ -- var -- 755 / www-- 755 / html -- 755 | -- gallery -- 777
| -- form.php -- 755
| -- upload.php -- 755
I just noticed...Leave a comment:
-
Setting up file uploads with php
Heya guys, i got this simple script to work and now it doesnt.Its far from completed, i know, i just want it to gogogo so i can expand it to include my preferences and a few hidden fields.
I can't tell if i screwed up the code or its a server related problem. here goes....
...Code:<html> <body> <form action="upload.php" method="post" ENCTYPE="multipart/form-data">
-
ok i fiddled with PHP, i got it to work then it stopped. i'll repost my particular issue in the PHP part of the forum. thx mate...Leave a comment:
-
Sorry, if that was me I was just ahving a noob day, pure accident :(...Leave a comment:
-
a little of PHP - i thought javascript could be used in server side scripting on the odd occasion wiki
i can get perl to list the contents of a directory, i just dont know how to call it automatically froma webpage - OR output it into a place where javascript can use it...Leave a comment:
-
source directory on server
Heya guys, i was wondering how to get javascript to put the contents of a local folder into an array, im fine from here on in. i have apache 2.2.2 and the folder is a sub-directory on the server. I am going to use the output to update links dynamically. if not, what language should i be looking at to achieve this?
thanks..
No activity results to display
Show More
Leave a comment: