Search found 10 matches
- Sun May 27, 2012 5:41 pm
- Forum: Tutorials
- Topic: image gallery issue.
- Replies: 3
- Views: 780
Re: image gallery issue.
ok i tried doing this again, and gave my folders different name. the image is in the folder and its being resized but just coming up as "page not found" the url i am trying to access is: http://www.thepram.co.uk/user_system/imagegallery/thumbnails/100.png the link in the script is: header(...
- Sat May 26, 2012 8:12 pm
- Forum: Tutorials
- Topic: image gallery issue.
- Replies: 3
- Views: 780
image gallery issue.
Hi, Im in the last part of the image gallery tutorial. The thumbs folder has been created, the images are being resized and saved to it and im redirected to the thumbs/img.jpg page - however when i try and display the image its saying "page not found"(even though when i check the thumbs fo...
- Sat May 26, 2012 4:38 pm
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
Re: user profile - image echo issue.
OK, so ive got my code working - thanks for all the help! :) Here is the code for reference. Jacek, would you mind scanning over this and letting me know if you forsee any security issues with this code, or maybe anything that i should tidy up? thanks! user.inc.php function fetch_users_display(){ $r...
- Thu May 24, 2012 10:07 am
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
Re: user profile - image echo issue.
Thanks for your help , I will try your suggestion later.
Just one question with the above - surely I would need to define $images variable at the top of the function you suggested in order for this to work?
thanks.
Just one question with the above - surely I would need to define $images variable at the top of the function you suggested in order for this to work?
thanks.
- Tue May 22, 2012 9:42 pm
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
Re: user profile - image echo issue.
hi, thanks for your luck but im still not having any luck here :( this is my updated fetch_user_info function - ive taken the WHERE query away. function fetch_user_info(){ $images = glob('*.{jpg,jpeg,png,gif}', GLOB_BRACE); $sql = "SELECT `user_id` AS `id`, `user_name` AS `username`, `user_firs...
- Wed May 16, 2012 9:44 pm
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
Re: user profile - image echo issue.
hi jacek, Ive called the fetch_user_info function, echoed out the avatar like you said, andi really don't seem to be having any luck with this. all the users avatars are stored as the name of their user's id i.e. ' 1.jpg' in the user_avatars folder. there is a default avatar for users who don't uplo...
- Wed May 16, 2012 7:40 am
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
Re: user profile - image echo issue.
thanks for your help jacek.
I think ive understood you correctly.
I'll attempt again and report back with my code if i have an issues!
I think ive understood you correctly.
I'll attempt again and report back with my code if i have an issues!
- Tue May 15, 2012 8:10 pm
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
Re: user profile - image echo issue.
hi, so ive been looking at this(and getting stuck quite easily) so i thought i would show you my source code. at present all image uploads are being stored correctly in the "user_avatars" folder, and are being shown when each individuals profile is clicked - that's all working fine. what i...
- Mon May 14, 2012 9:23 pm
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
Re: user profile - image echo issue.
hi temor,
i wasn't storing them in the database before, i had simply followed the Avatar / Profile Image Upload tutorial.
I will test this out report back if i have any issues/and also if it works - which obviously it should do
thanks again,
i wasn't storing them in the database before, i had simply followed the Avatar / Profile Image Upload tutorial.
I will test this out report back if i have any issues/and also if it works - which obviously it should do
thanks again,
- Mon May 14, 2012 8:49 pm
- Forum: Tutorials
- Topic: user profile - image echo issue.
- Replies: 14
- Views: 2112
user profile - image echo issue.
hi there, i completed and successfully integrated both the register/login tutorial with the user profile(with pagination) system, along with the user avatar image. what i have been trying to do(unsuccessfully) is echo the users avatar above their name on the user-list, so you have username+image, us...