I have created a table that I need to display images on.so its 3 images across and how ever rows down. but I need to do this dynamically.what I have at the moment is a standard recordset, it will display the 3 recordsets left to right, once reaches 3, then drops a line and carries on.
But this isn't working properly.as its calling the images directly instead of from the database.Can someone let me know how I can display images 3 x ~until the recordset goes EOF/BOF
Have two folders on my web server, data and public. Public is the www root and is read only, data has my database and is read/write.
I've got an asp upload script sending image files to data/images which works fine. I've also got a file listbox which picks out the file names on an asp script to add the names of the files to a database table.
However...I'm having real problem pulling the images out on the gallery page, I reference them with a virtual path '../data/images/imagename.jpg' etc, but they will not show.
Anybody know a way round this? Sorry if you need more info just say.
I am building a website where users can place advertisements with images. I have decided to place the images in an Access database to ensure the right images are matched the correct advertisements. My problem is that I can retrieve all of the data from the table which holds the photos (eg, filename, file size, content type) except for the actual photo itself. When I try to download the photo or press the hyperlink to display the photo all I get is the square with the red cross. I do not get any error messages.
Does anyone know why this is happening. My code is below:
I am trying to display images on a results page which have been saved in a Access database as BLOBS. I also trying to resize the images at the same time so that each record on the results page has the same dimensions. I have 2 include files on the webpage to resize the images, a processing ASP page to download the images and the syntax to make it all work.
My problem is that I am new at ASP programming and having the problem of putting all of the pieces together. I keep on getting an error message on 1 particular line and have no idea on how to fix it after many hours of trying different ideas. Code:
Everything works but the image that is called from the database does not dispay? no error messages are displayed, have double and tripple check paths and image name to no success, thought it could be the code:
I have a database that I am storing image URLs in. On the website, when you go to a project my work has done, if there is more than one image, it displays a next (and previous link) link where necessary. However, if I have 10 or more images, it does not display at all.
I think I've realized this is not the best way to do this, but this is how the database is set up: name, description, image01, image02, ... , image11. Each one is its own column.
Thanks to photoshop_god I have a code that does the next and previous links. But it is not displaying any images but the first one if there are 10 or more. Here is my code:
i am producing a e-commerce website using ASP. My database is MS access using a database called products.But heres my problem, the database holds the images using a OLE object. But when i come to view the data on the website, i can get the data showing such as price, product id and other information but when i try and view the images from the database on the webpage it comes up all garbled like wildcards.
I know not to store images inside a Db table using the ole method, but I don't know how to call an image to accompany text in a for loop script.I can provide the unfinished script (missing is the coding of the fields: Pic1, Pic2, Pic3, Pic4) for inspection.
i would like to store images in a database so that when a link is clicked on a html page a new page opens with the image taken from the database. I have heard that you should only store the image path name in the database. how i would do this and then display the image on a HTML page.
I have an Access database set up with a number of text fields and a hyperlink field which references a different image per record. I am trying write ASP code to retrieve allt his data and images onto a web page. I have the data but the images are causing a problem.
With the website i'm developing, the user can upload images and the filename is saved to a mysql db, the problem is displaying these images. If i use the servers local path i.e. "C:InetpubwwwrootIMGimage.jpg" then the page just displays the little box with a square, circle and triangle in it, that usually displays while an image is loading. If i use "http://localhost/IMG/image.jpg" then when i load the page i get the "connect to the server:type name & password" box popping up...
I've set the permissions so that an Internet guest has read & write permissions to the IMG folder so I don't understand why it's not just displaying the images.
I have a page that allows someone to upload an image, and then the image is displayed on another page. Unfortunately, When the permissions are set to allow the photo to be uploaded, it won't allow it to display on the other page. When I change the permissions so that you can't upload an image, it will display on the other page. The page in question is http://www.atlantatoysfortots.com/Pictures.asp I'm at a complete loss. Is there anyone out there that knows enough to make this stupid thing work? I have checked every page and they are good....site is hosted on GoDaddy.
I have images stored in a access db and i'm trying to access them like this. But problem is only one gets displayed. I also cannot get any html on the page since it displays all dots and dashes. Any idea how to solve this.
I have a database of images with captions that I need to display at random on an ASP page. Once I have pulled out my recordset, what's the best way to select on item at random from the recordset to display? Also, at first I might have only 5 items in my recordset, how can I avoid the same item repeating 3 times in a row if the person clicks refresh?
Set RS = Server.CreateObject("Adodb.Recordset") strsql= "SELECT Images from product where status = 1 ORDER BY [Supplier]" RS.Open strSql,Conn,3,3 If RS.RecordCount <> 0 then While not RS.EOF Images= RS("Images") RS.MoveNext WEND RS.Close
While using this code "Images" is an array..(a collection of imagesname from the table "Product" whose status is 1). Now I have to use first 4 images at a time among these collection of Images in the different specific locations in a page in the same time.
I am trying to display images from an access database and going around in circles.
<% If len(rsdvd("picture"))>0 then Response.ContentType = "image/jpeg" Response.BinaryWrite rsdvd("Picture") Response.End ELSE Response.Write ("<img src=""images/sorry.gif"" alt=""Sorry, No picture."">") END IF %>
It returns this fault:
Response object, ASP 0106 (0x80020005) An unhandled data type was encountered. /description.asp, line 115
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....
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.
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
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
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.
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.
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?
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.....
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?
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....