View Full Version : Changing the "No Image" image
kitamura
01-04-2006, 02:30 AM
Hi, I wanted to change the image that users get if they don't submit a photo.
So, I think I've located the file:
images/noimage.jpg
However, when I replaced the file, I found that about 10% of the time, ALL the thumbnails (recent logins/visitors) will use this noimage.jpg.
Maybe I need to lower the quality/size of the noimage.jpg?
Anyone else try this?
pasha
02-22-2006, 08:28 PM
same here, i replaced the noimage.jpg but the site is steel showing the old image...
How should we change the noimage image?
Purefan :: phpFox
02-22-2006, 08:53 PM
I believe this thread will help you guys :) (http://www.phpfox.com/members/viewtopic.php?t=467&highlight=grey+boxes)
pasha
02-22-2006, 11:08 PM
No it didn't...
Here is what happened:
1) create a member, and don't choose a pic, so that the user will get the original noimage pic
2) now, go on and change the original noimage pic
in my case the the user that has been created before the change of the noimage pic continued showing the old one.
3) I deleted the user and created a new one. - the new user immediately showed with the new pic.
And no it does not look like a browser issue, I used 3 different browsers and had the same results.
natio :: phpFox
02-23-2006, 02:16 PM
Try to view the actual html source off the page of where the noimage.jpg is located. So it would look something like this http://www.yoursite.com/images/noimage.jpg
Now copy and paste that on your browser and see what image comes up.
pasha
02-23-2006, 04:44 PM
Actually the URL... it doesn't look like anything above!
It is more like:
Content visible to registered users only.
natio :: phpFox
02-23-2006, 05:07 PM
Content visible to registered users only.
Ok I must be missing something. hehe.
So the above url is when a user image exists so it will show that image and not the noimage.jpg. If a users image does not exist in the correct folder it will show the noimage.jpg pic. So I looked at the direct link:
http://www.drumlive.com/thumb/?src=L2hvbWUvZHJ1bWxpdmUvcHVibGljX2h0bWwvbWVtYmVyL 2kvcC8yMDA1LzAxL2RyZXcuanBn&w=80&h=100&q=75
And it showed me the little phpfox staff pic. now it that pics was missing from the folder then the noimage.jpg should come up.
get back to me if I didnt make sence or if im missing something. :)
pasha
02-23-2006, 11:41 PM
Ha!!
By the above URL I was simply showing that the site doesn't use the http://www.yoursite.com/images/noimage.jpg Url of noimage.jpg.
The actual NoImage URL is different!
This is an actual noimage.jpg URL that I took from a test member account at www.drumlive.com:
User with noimage:
http://www.drumlive.com/thumb/?src=L2hvbWUvZHJ1bWxpdmUvcHVibGljX2h0bWwvbWVtYmVyL 2kvcC8yMDA1LzAxL3Rlc3QuanBn&w=60&h=60&q=75
Now if I will change the image, the members profiles that did not select their own image before the change, will still be showing the old noimage.jpg file.
Thats what I was saying.
natio :: phpFox
02-23-2006, 11:52 PM
Hey There,
oh ok I get it now. Yup if your using the gd advanced feature it will show the long encoded url. The actual image would or should still be the same "/images/noimage.jpg" for but the gd advanced or normal mod. I signed up for your site to give it a test and didnt upload a pic and got the new noimage pic: http://www.drumlive.com/images/noimage.jpg
So is it working from your end aswell. get back to us.
pasha
02-24-2006, 12:13 AM
Yes it does work, the only time that would not work is if the site admin will decide to change the noimage pic after a user has already created an account. (Those users will still be showing the OLD noimage pic. And the new noimage pic will apply only to the members that will create their accounts after the noimage pic change.
natio :: phpFox
02-24-2006, 03:33 AM
oh yeah. I thought about that after and realized thats what you meant.
With the current setup when a user signs up it will copy the noimage.jpg to the person image location to save the server and the php script the extra process to search if each picture exists and then to redirect it to another image.
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.