PDA

View Full Version : Auto resize oversized sig-pictures


Eagle Creek
07-21-2005, 04:28 PM
Is there a hack that does that?

So when a user is posting a picture is his signature that is, say 800*600, it gots automaticly resized to 640*480 or removed?

Logikos
07-22-2005, 09:06 AM
Is there a hack that does that?

So when a user is posting a picture is his signature that is, say 800*600, it gots automaticly resized to 640*480 or removed?

Where the signature variable is. Which I think it's $post[signature]

You can use this:

<p>__________________</p>
<div style="width:369;height:125;overflow:hidden;">$post[signature]</div>

Eagle Creek
07-22-2005, 09:32 AM
Where the signature variable is. Which I think it's $post[signature]

You can use this:

<p>__________________</p>
<div style="width:369;height:125;overflow:hidden;">$post[signature]</div>


And what does this do exactly? Hide the bigger image?

Logikos
07-22-2005, 01:11 PM
That creates a hidden box that only allows your width and hight. Test it and see what i mean. Hard to explain

Eagle Creek
07-22-2005, 08:16 PM
I'll try :).

readyforwar
08-01-2005, 11:39 PM
that will not resize an image it just cuts it off

Zia
02-02-2006, 06:51 PM
hmm..lets have a try