DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Asp Upload and Resize  
DwZone Forum Index -> Asp Upload and Resize

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 751 to 760 of 860 (Total: 366) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re:problems with delete record upload  
View this persons public profile  [email protected]   23:39 10 Jun 2006  
   Re:problems with delete record upload  
View this persons public profile  [email protected]   12:19 18 Jan 2007  
   Re:problems with delete record upload  
View this persons public profile  gianluigi   15:12 18 Jan 2007  
   Delete if not upload on update question  
View this persons public profile  [email protected]   18:07 11 Apr 2006  
   Re:Delete if not upload on update question  
View this persons public profile  gianluigi   19:17 11 Apr 2006  
    Re:Delete if not upload on update question  
View this persons public profile  [email protected]   20:32 11 Apr 2006  
 
Using this for the thumbnail on the main page

<%Dim ImgShow
ImgShow = rsImage.Fields.Item("Image_thumb").Value
IF ImgShow <>"" THEN%>
<img src="<%=ImgShow%>">
<%ELSE%>
<img src="images/pixel.gif">
<%End If%>


I�m using the same for the big image on the detail page

<%Dim ImgShow
ImgShow = rsImage.Fields.Item("Image").Value
IF ImgShow <>"" THEN%>
<img src="<%=ImgShow%>">
<%ELSE%>
<img src="images/pixel.gif">
<%End If%>

In this case i have choosen the Image field as selected DB field name and also Delete if not Upload checkbox.

But since it only set NULL value on Image field the "img src" tag assume that it is an image on the Image_thumb field since there is a Site Path and Name value left there and the IF statement above needs a NULL value.

Klas


 
Reply to this current thread  View this persons public profile  Send Private Message
   Re:Delete if not upload on update question  
View this persons public profile  gianluigi   21:09 11 Apr 2006  
   Re:Delete if not upload on update question  
View this persons public profile  [email protected]   21:21 11 Apr 2006  
   No resize of .png and .bmp images  
View this persons public profile  [email protected]   10:38 26 Mar 2006  
   Re:No resize of .png and .bmp images  
View this persons public profile  gianluigi   19:26 26 Mar 2006  
Last Visit: Friday 15 Nov, 2024 10:54 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: