I Need A Code That Resizes The Images On My Site To Match Resolutions
I want the site to look the same on all browsers. All the tables and stuff are based on percentages but this doesn't fix the images. The images are based to fit 1024x768 but i want them to look the same on every other resolution. Can someone help me with a script?
View Replies
ADVERTISEMENT
I have the standard folder structure on my web server (sya that the server is estserver):
My site is in c:Inetpubwwwrootmysite
I have also introduced the folders:
c:Inetpubimagerootcompany1
c:Inetpubimagerootcompany2
c:Inetpubimagerootcompany3
The idea is security (the companyN folders store images belonging to the companies 1,2,3 - and never the twain shall meet - this does not matter so much). The images are stored above MySite (in the imageroot folder) so that no-one can see them - if they sat in mysiteimages, for example, anyone can see them. And to further thre security, /imageroot does not have a URL
What I need is someway that I can display an image in imageroot on a page in MySite, eg /mysite/gallery.
I need to use an absolute path from my page in mysite to the required image
so in HTML that would be
<IMG SRC=" estserverinetpubimagerootcompany1picture.gi f">
however, that don't work. So how do you do it?
View Replies
View Related
Does anyone have some code examples to upload image with ASP. My App is using ASP with VBScript.
View Replies
View Related
Got a chinese website (has both chinese character and english), got to code search function for it, search for keywords in the webpages (htm/asp)
search in english it works, no problem
search in chinese it doesn't - it always return "nothing found"
you guys any idea?
View Replies
View Related
I want to know how to make a match for a text , for I'm wan't to search for this in the db . the search i made search only for the exact text user inserted so if the user misspelled the word the search will give him zero result. So i want to seach for any part of the word or if it is aword in aphrase.
View Replies
View Related
hi there i need to display results that do not match those in the database. I have an excel file and i upload it, inserting the records in a temp table. Than i compare the values in the original table and the temp table. All i want is the values that do not match..i did this:Code:
sql = "SELECT TempSerial.SerialNo "&_
"FROM TempSerial, Serial WHERE TempSerial.SerialNo <> Serial.SerialNo "&_
"OrderBY TempSerial.SerialNo;"
Set RS = objConn.Execute(sql)
i displayed the records with <%=RS("SerialNo")%> but i get all the records in the temp table displyed.
View Replies
View Related
part of this code works but it seems to ignore the password check, any ideas?
If Request.Form("PuafoPassword") = Request.Form("RePassword") Then
strError = strError & "Passwords don't match.<br>" & vbNewLine
Else
If rspuafo.EOF and rspuafo.BOF Then
Response.Redirect ("thankyou.asp")
Response.End
Else
strError = "Username already exists, please choose another one" & vbNewLine
View Replies
View Related
If i am querying from a database with code like: Code:
Set oRs=server.CreateObject("adodb.recordset")
strSQL = "SELECT * FROM tblInfo WHERE Name = '" & request("name") & "' OR State = '" & request("state") & "' OR Zip = '" & request("zip") & "' "
oRs.Open strSQL, conn
Do while not oRs.EOF
Response.Write "<tr><td>" & oRs ("Name") & "</td><td> " & oRs ("State") & "</td><td>" & oRs ("Zip") & "</td>
oRs.MoveNext
loop
how can i diplay the results that match all three catories before partial matches?
View Replies
View Related
I have a web page programmed in ASP that creates a calling list based
on the user's preferences, which queries the information from a SQL
2000 database. I want the user to be able to select whether to create
different lists based on time zones or one list with all time zones.
The user should be able to mix and match time zones. However, I'm not
sure how to do this task. An example would be that the user wants
east coast and central in one file, then pacific and mountain in
another, but it could also be pacific in one and east and mountain in
another, and the possibilities go on. The database is set up with all
the information needed, but I'm not user how to code in ASP for the
different possibilities.
View Replies
View Related
i want to provide exact match. e.g. if user enters pharma machine result only display records containing pharma machine and not records containing either pharma or machine.
database table: company_info
database field: products
user entered search (field name): st
i had tried the following
select * from company_info where products like '"&st&"'
but is shows the wide result
View Replies
View Related
I have a query that accepts input from a form and deletes a row if the form input = the value in the table .if the input is not in the table how do i post to the user that this data was not found in the table?
View Replies
View Related
I have a form on a .asp page that when submitted via post to itself its values are grabbed by asp and put into an sql statement. From there the records are generated depending on the criteria selected in the form. What I would like some help or guidance is if no records match the criteria how can I generate a meesage that states which criteria in the request did not match.
So if the form submitted is looking for a home in Michigan, Ranch Style, with 2 car garage, 3 bedrooms, 2 baths, between 1000 to 1500 square feet and there is no record that matches that criteria a response is given that the reason for no match is because the 2 bath criteria didn't match or because the 2 bath and the square footage criteria didn't match.
I have the form working with asp already. When there is no record I have a simple statement that says "sorry, no homes matched your criteria" I would like to state why there was no match.
View Replies
View Related
can any one help me to read the datas from the excel sheet and match it with the database.i will be thankful to you if u provide me a sample code.
View Replies
View Related
I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work?
The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp
If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it?
Can a Html website be loaded and working on an asp server or host?
Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.
View Replies
View Related
I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.
View Replies
View Related
Whenever I do a site that is mostly static but with some semi-dynamic
sections, I've struggled to find a good site search solution without
paying for a hosted search service.
I like the FSO-based search engines, but they fail to pick up on some of
the dynamic part.
I was just creating a Google sitemap and it made me wonder: has anyone
created or seen a script that uses the XML Google sitemap to power a
search engine for your own site?
Seems like if you were keeping it updated for Google, why not use it for
your own site?
View Replies
View Related
My page have background image,on that image have more images and text. My problem is whenever resize browser that images are not resized and also not moved correct place .(i.e look not like before alignment).I want to do everything in dyanamic....
View Replies
View Related
I'm looking for sample code that will require a use to enter a code from a scued image format.
I'm sure you've seen them before where the image is barely readable by a human and the user has to enter the code correctly to submit the form.
I'm looking for ASP code and NOT ASP.NET code as I am supporting a legacy site.
View Replies
View Related
I have an asp page that displays thumbnails from my database. I want the user to click on the thumnbnails to open up the larger image which is also stored in a DB.
View Replies
View Related
i am uploading 3 images(jpg) to sql server 2000 using asp 3.0.i was using this code
http://www.stardeveloper.com/articles/display.html?article=2001033101&page=1
which was working fine when i uploaded 2 images when i tried to upload 3 images its not working.i had posted in the forum earlier about this issue
since i work for a non profit organization who cant spend money on buying some component for uploading images is there any other way or any other code or a free component thats not going to expire
View Replies
View Related
I have an image page in which has a line of small images in a row. click on it it makes it larger below. The images aren't binary form, just the lnik to the image it self. I add the images in a form, so i type in 'image1.jpg' and then it adds it to the database, and then it routs to it and shows it in the database. Now on the image page which shows the image i want a little bit of writing below the image saying its properties. So when i add the image to the database i have to write about the image for example 'A picture of Joe Bloggs' and then when it veiws the image it will say that writing underneith
View Replies
View Related
ive been looking for a .net script that will upload an image to the server, but saved an optimised thumbnail into a different directory (or under a different name) with the main image being saved as usual.
can you run regular asp within a .net page? anyone got those .net friendly url/querystring scripts again, my NG browser doesnt go that far back.
View Replies
View Related
I am designing a website that is based from an Access database; in the database I have a table called "Categories" with fields called "Category" and "CategoryPic". On my index page I have coding to get the list of Categories, called rsCategories.
What I am attempting to do is create ASP code that would retrieve an associated GIF file from my images folder when a particular "Category" is chosen (ie. if you choose CategoryA from the recordset, then CategoryA.gif would appear on the page, CategoryB would retrieve CategoryB.gif, etc.). Can anyone kindly assist me in completing this one piece of code.
View Replies
View Related
anyone here got an idea on what codes am i going to use? I got a folder full of images (jpg) and I want my asp page to display those images.
View Replies
View Related
I currently use ASPImage and resize JPG files with no problem. How, though, do I resize GIF images? Is there a different component?
View Replies
View Related
I wanted to know that is there someway in ASP that I can generate images on-the-fly without using ne 3rd party component?? Like its possible in CGI-Perl to generate ne type of image on-the-fly, is there a way 2 that in ASP? OK, if the 3rd party components r the only way, then r there ne free ones available?
View Replies
View Related
Does anyone knows how to print images to a pringter connected on the Web Server (IIS) Machine using ASP?
View Replies
View Related
I've had some periodic problems on certain (intranet)servers where IIS seems
to be caching thing in an unexpected way, or is server cached pages where
new content is expected.
The first situation is where we have a standard Top + Left + Content
framset; the left frame contains a menu which shows standard options - when
the user logs in, extra menu options are available to them, depending on
their priveleges. The menu is generated from a DB in ASP, and when the user
logs in, Javascript is used to reload the page in the left frame - eg.
re-generate menu based on logged-in user.
This used to work on all servers, but at some point in time I found that
people were logging in but were stuck with the standard menu. If we
right-clicked in the menu and chose refresh, often the correct (eg expanded)
menu would be shown.
I'm not sure where the problem is IIS or could be controlled in ASP...
The second problem is on my development machine; when I browse to my
development copy of the intranet, I dont get the icons for each menu item.
However, when I browse to the live Intranet system, the correct graphics are
shown.....
View Replies
View Related
I am trying to get a feature to work on a clients website.
I am building a image library in ASP VB Script and I want the user to be
able to select the amount of images they view on the page.
eg. Images per page 12 - 16 - 32 - 64
So selecting 12 for example would only show 12 records.
I am using the Horizontal Looper extension to display my images in 4
columns.
Have anyone ever done this before or know of how to do it?
View Replies
View Related
Alright, so I'm experimenting with some asp, trying to make a dynamic page. My problem is such:
I have a bunch of images displayed on a page, and when I click one, I would like to create a cookie with a value associated to that image. Kinda like a catalogue. Here's my body thus far:
<form action="Browse.asp" method="get" name="View">
<input type="image" name="350-43730" src="SW.jpg">
<input type="image" name="787-48930" src="MO.gif">
</form>
<%
dim ID
ID=request.QueryString()
response.write(ID)
%>
The name is the ID number I'm trying to get from the image. How do I go about getting this?
View Replies
View Related
This is my scenario...I have three images that I want to put on a website that will change to one another constantly. There will be three table columns on the top that indicate what the available three images are. If the user's mouse hovers over one of the table cells, the image will immediately change to what the table cell corresponds, and the user will be able to click on either the table cell or the image to go to another website.
I have included an image to better illustrate what I am talking about.
image
What is the best scripting language to do this? javascript, css, asp, flash?
All of the above seems hard to me, especially the last two....
View Replies
View Related
I made a program which exports a file asp to Excel file, but export included of the images, and I want an export without images.
View Replies
View Related
is there sombody who can helpme witht he following, i am ''pretty new'' to
php and am looking for a script to show images randomly at a 10/ 15 seconds
interval. is there anybody who can help me with this or does know where to
find a good template script for this?
View Replies
View Related