PDA

View Full Version : Change Image.php


SLP LS1
03-14-2011, 08:15 AM
Where can I change this image http://www.sportsmanshabitat.com/for...ine=1300091902 (http://www.sportsmanshabitat.com/forum/image.php?u=&dateline=1300091902)

Is this in the sql, if so how can I change it.

BirdOPrey5
03-14-2011, 12:26 PM
Actually I think it's generated on the fly... Looks like it starts around line 1046 in class_image.php (on 3.8.6)... Don't see any way of changing it... not that there is any reason anyone should ever see it- it's a placeholder when a valid argument isn't supplied to image.php.

SLP LS1
03-14-2011, 01:52 PM
Actually I think it's generated on the fly... Looks like it starts around line 1046 in class_image.php (on 3.8.6)... Don't see any way of changing it... not that there is any reason anyone should ever see it- it's a placeholder when a valid argument isn't supplied to image.php.

I'm using wordpress vbulletin bridge. When people don't long in, a big vbulletin picture is left. If I could just replace it with a no avatar picture, it would look a lot better.

You can see what I'm talking about here http://www.sportsmanshabitat.com/big-snakehead-fish.html

I'm sure there's a way, it's an image and images can be changed.

BirdOPrey5
03-14-2011, 02:38 PM
Actually What I'm saying is I don't think it is a stored image. I think it's created by php code using the graphics package part of php. As you can see in the code at line 1046 it created the 201 x 61 pixel image in the code... It's new to me though so hopefully someone else can confirm.

SLP LS1
03-14-2011, 02:45 PM
Actually What I'm saying is I don't think it is a stored image. I think it's created by php code using the graphics package part of php. As you can see in the code at line 1046 it created the 201 x 61 pixel image in the code... It's new to me though so hopefully someone else can confirm.

Yeah I just figured that, out I didn't know what on the fly mean, didn't eve know you could make an image with php code. Thanks for your input.

I'll have to just comment it out or something.

--------------- Added 1300121188 at 1300121188 ---------------

Yeah, I'm just looking for a way no to disable it. Every alteration I make to the code gives me x in my box.