Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

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)

Junior Member

10+ Year Member

joined:May 20, 2005
votes: 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:
<img src="http://www.example.com/image.jpg">

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)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 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]


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members