flipandboef
Posts: 107
|
| Posted: 10/26/2007, 1:31 PM |
|
Hi all,
I am forced to change hosting companies and the new hosting company does not support the Persist.Jpeg component.
(We're combining 2 sites in 1, conditions are there that I can not change hosting from this one at the moment)
I use this to resize my pictures in the file Resize.asp as shown below....
I did not create this file myself, as I am not a good programmer...;o)
Is there an alternative way to do this, not using the Persist.Jpeg?
Thanks for the help!
<%
Set jpeg = Server.CreateObject("Persits.Jpeg")
jpeg.Open( Request("path") )
jpeg.Width = Request("width")
jpeg.Height = jpeg.OriginalHeight * jpeg.Width / jpeg.OriginalWidth
jpeg.SendBinary
%>
In the HTML file i used: <img src="resize.asp?path=d:/inetpub/virtual/wwwroot/images/{PhotoSmall_Src}&width=120"
CCS 3.2 Personal Edition / Access DB / ASP
|
 |
 |
flipandboef
Posts: 107
|
| Posted: 12/13/2007, 11:31 AM |
|
Posted 2 months ago, and still no one replied... 
Anyone??
|
 |
 |
Oper
Posts: 1195
|
| Posted: 12/13/2007, 1:24 PM |
|
Free no idea.
but there are like Zillion out there.
The important question is what Image Processing your New WebHost Support
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
flipandboef
Posts: 107
|
| Posted: 12/13/2007, 1:41 PM |
|
That's the question indeed... They for some reason can not tell me (great hosting company, i know )
ANyhow,
Found a temp soluteion to just set the width manually, like
<img src="/images/{PhotoSmall}" width="120">
So if anyone can help
|
 |
 |
Oper
Posts: 1195
|
| Posted: 12/13/2007, 5:27 PM |
|
you could set width and height that way
i though you need to get the real size of a pic.
Note: cant be a great Hosting company if they dont know what COM they have available for Image Proccesing..
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
|