| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor|
|How can I change the size of an image|
if I don't have access to the img tag?
| 9:30 pm on Feb 28, 2008 (gmt 0)|
I have a website which allows customers to upload an image. I need to fix the image size, 100 x 100 for example.
Normally you can just enter in the image size like this:
<img src="http://www.example.com/image.jpg" width="100" height="100">
Here is the problem. The program uses a snippit of code to insert the image into the website like this <<IMAGE>>
I just enter that in the HTML exactly where I want the picture to be.
That snippit of code only includes this:
I can't include the image size after the code. Any ideas on how I can adjust the image size?
| 9:42 pm on Feb 28, 2008 (gmt 0)|
You won't be able to it with HTML, but you can resize the images on the server. For example, you can use PHP, as in this thread:
upload and resize image [webmasterworld.com]
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved