Dynamic Images

I'm building a site that requires images to be placed into a table
dynamically - the name of each image is drawn from a database reference.
(e.g database entry is "images/image1.jpg" etc). The problem is that when an
image is dynamically inserted in this way (infact its only the location of
the file thats dynamically rendered - not the image itself), i have a 2-3
pixel gap at the bottom of each image. Non dynamically attached images do
not show this behaviour. - I dont understand why this should happen.
I'm using asp 3.0 with vb-script and the image entry is expressed such,
<img src="images/mem_img_sml/<%= rstSearch.Fields("small_img").value%>.jpg"
border=0 width=60 height=60 />

View Replies


ADVERTISEMENT

Asp Dynamic Images

i'm trying to create a function that will return an image of a specified width and height. rather than simply resizing an image and retaining its fat filesize, is there a way to create images on the fly from an original? i know it is possible in php, but the server i am working on doesn't have it

View Replies View Related

Cache Images But Not Dynamic Information

Does anyone know how I can have more control over which images are cached on a particular page?

I have Response.Expires = -1000 set at the top of the page to ensure that the page isn't cached because it is important that the data from the Database is not cached (this has been a problem in the past).

Is it possible to specify which images, ie the ones that are common to all pages, will be cached and which ones won't so as to force the user to cache them and therefore make he site slightly quicker?

Obviously I understand that if the user has their own caching rules setup, these will take precedence.

View Replies View Related

Embedding Images And Dynamic Content In An Email, Programmatically

In my code to send email from VBScript, I use standard CDOSYS code similar to
the following:

With oMsg
Set .Configuration = oCon
.To = """Admin"" <admin@mycompany.com>"
.From = """Joe Admin"" <jadmin@mycompany.com>"
.Subject = "Hey You!"
.TextBody = "Service(s) have failed!"
.Send
End With

I understand the use of the .HTMLBody property, as well as the
..CreateMHTMLBody method. So I know I can create an ASP or HTML page, and
pass it to the .CreateMHTMLBody method, to get the images truly embedded, so
the email source contains the cid:blahblahblah references to the images,
which is key to getting the email to display properly in web-based mail
clients.

My question is... how do I achieve the same thing (embed the images) that
the .CreateMHTMLBody method does automatically, manually, so I can also
inject values passed from a form postback into the email?

It seems that I shouldn't use the .CreateMHTMLBody method. It seems that I
need to manually accomplish what it accomplishes automatically, so I have
more granular control. But I have found no thorough online resources that
explain exactly how. I have thoroughly looked at all of the SDK information
pertaining to CDOSYS, and I am still in dire need of an example for
VBScript...

It seems that the .AddRelatedBodyPart method is part of the answer, but when
I use it to embed the images and fill .HTMLBody, rather than using the
..CreateMHTMLBody method, I do not see cid:blahblahblah in the email source,
and the images do not display properly in web-based mail clients such as
Outlook Web Access.

I really need some help on this. It would also appear that I am not alone.
I find plenty of questions on this, but no answers. Can anyone help with a
working VBScript example that embeds images into an email in a fashion that
yields the cid:blahblahblah in the email source, for the image references,
that does not use the .CreateMHTMLBody method to do the work automatically?

View Replies View Related

How To Resize All Images Sizes And Coordinates Of The Images On Resize Browser

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

Dynamic Calendar, Need To Create Dynamic Array....

I code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:

View Replies View Related

Dynamic Dynamic Text

Ok, I have a Javascript ASP and in it I have a dynamic repeating table with certain attributes to people. If one of these attributes is old or invalid, i want to change the color of the text (and maybe make it flash, blink, change size, something) so that it's easy to read.

View Replies View Related

Images And Asp

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

3 Images

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

Images

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

.net Images.

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

ASP Images

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

Read Images

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

Resizing GIF Images

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

Generating Images On-the-fly

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

Printing Images

Does anyone knows how to print images to a pringter connected on the Web Server (IIS) Machine using ASP?

View Replies View Related

Caching Images

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

Images Per Page 12 - 16 - 32 - 64

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

Images, IDs, And Cookies

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

Can Asp Swap Images This Way?

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

Export Without Images

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

Random Images

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

Download Images

I'm using ADODB objects to download the images. Is there any way I can disable 'Save' option on a prompt. Also, when display the image (it could be any of the following files: .doc, xls, txt, pdf...), I need to disable 'Save' option or hide the toolbar.

View Replies View Related

Images And ALT Tags

Does anyone know how I can place ALT tags on images which are driven by ASP and a database. (So each image has a separate alt tag).

e.g.

This is a image of a ball
This is a image of a Boot

View Replies View Related

Preload Images

Why all of this javascript and css image preloading.

IE has picked up on the CSS hidden-preloading and doesn't see to pull the image if it is 'hidden' and the javascript way is ok

why not this though?

<img src="/image.jpg" height="0" width="0"> .....

View Replies View Related

XMLHTTP And Images

Why do sites dragged in through XMLHTTP only download half or so of the images associated with the site?

View Replies View Related

How To :: Uploading Images

My image is in local directory. Using "FILE" input type, I am getting the path of the image. How to upload this image to my server using ASP?

View Replies View Related

Resising Images

I'm programming my website using pure classic ASP. My problem is: I need
to upload, resize and save an image but not using an ASP Component (like
COM, activeX, DLLs... installed on the server). My code has to handle by
itself.

View Replies View Related

Images TIFF

I need to show an image .TIFF in a .aspx web
page. The web site is developer on Visual Studio 2005. The image control no
support this image format, that control i can use to show this format?

View Replies View Related

Determine Images

Is there a way to determine the actual width and height of a image file ?
I'm using aspsmartupload to upload the image, how can determine and save the
width and height value ?
seems that aspsmartupload doesn't have this property.
If so, is there any method to determine it in asp in the simpliest way? I
will prefer to maintain the aspsmartupload method.

View Replies View Related

Generating Images

I'm looking for a code or a component that will enable me to generate images on the fly, through my ASP code.
For example:
Retrieve some textual data from a database and make an image out of it.
OR
Combine text and an existing image into one new image.
OR
Read an HTML file that contains text and image and generate an image from it.
I've found programs that do it (like ABC Amber Text2Image Converter), but I fail to make it work through a code and not through a software console.

View Replies View Related

Resizing Images?

I have a web page which pulls images from a access database.

The images are displayed on the page from a recordset (objRS("Thumbnails") - Thumbnails being the field in my database that holds each image.

However, because I want the images display in thumbnail format, it means I have to open Photoshop and resize each image to thumbnail size (100 x 100) before adding them to the database.

Is there a way in ASP that I could code so that each image brought in from the record set, no matter what size, will display at 100 x 100px so I don't have to manually resize them to thumbnail size myself?

View Replies View Related

Embed Images

I'm trying to generate word documents with ASP. I have no problem generating the wrd documents, but none of the images within the document are actually appearing the word file that you download. Does anyone have any insight, tips, pointers into how to go about embedding images in dynamically created word documents?
For reference - I'm using the response.contenttype ms/word to create the document on the fly.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved