Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPClassifieds (Info Locked Info Locked)
 CJWSoft Support Info : ASPClassifieds
Subject Info: images not showing up A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
Guests
Guest Group
Guest Group


Joined: April/06/2004
Online Status: Online
Info: -107
Added: September/25/2006 at 9:23pm | IP Logged Quote Guests

Why doesnt the second ad image show up on view_ad.asp  ....its weird..only that second image that doesnt show up?

Also Control_pics.asp the images (thumbs) dont show up either?  The AspUpload feature works fine..and so does the ASPImage ... but they just dont show up..

And third, in ads_inc the whole left cell where the images are supposed to be, they dont show up either..

 

This is all from a fairly fresh install.  I havent messed with any of the code there..

any thoughts?

Back to Top View Guests's Profile Search for other info by Guests
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: September/25/2006 at 10:10pm | IP Logged Quote cwilliams

PM me relevant site access info and I will go look

url of the site... admin username/pass for classifieds

Please realize that image resizing had to be enabled when the pictures were uploaded or no thumbnails will exist

meaning anything uploaded before aspimage was enabled wont have thumbnails since those thumbs are created at the time the images are uploaded



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
Guests
Guest Group
Guest Group


Joined: April/06/2004
Online Status: Online
Info: -107
Added: September/26/2006 at 3:31am | IP Logged Quote Guests

AHHHH!  Ok.  So I got .gifs to work in view_ad.asp but not .jpg..  Why?  The code says:

<% If Image1_FileExtension = "jpg" Then %>
  <td width="64" height="48"><a href="javascript:doPic('<% =PictureURL %>/Ad_<% =Ad_ID %>_1.<% =Image1_FileExtension %>');"><img src="<% =PictureURL %>/Ad_<% =Ad_ID %>_1_thumb.<% =Image1_FileExtension %>" width="64" height="48" border=0></a></td>
<% Else %>
  <td width="64" height="48"><a href="javascript:doPic('<% =PictureURL %>/Ad_<% =Ad_ID %>_1.<% =Image1_FileExtension %>');"><img src="<% =PictureURL %>/Ad_<% =Ad_ID %>_1.<% =Image1_FileExtension %>" width="64" height="48" border=0></a></td>
<% End If%>

 

So why wont it display that .jpg?

 

And Yes my picture folder works fine, yes, the files are there.. (I can see the full image just not the thumb), yes the permissions are correct..

I am using ASPUpload and not using ASPImage....  

Its so weird that it works with .gif and not .jpg..

 

 

Back to Top View Guests's Profile Search for other info by Guests
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: September/26/2006 at 5:05am | IP Logged Quote cwilliams

no, actually it is not that weird.. it is by design

That app only supports thumbnails when ASPImage is used.
ASPImage can not resize GIFS as it only works with jpg files so when gifs are used in aspclassifieds the code just resizes them in the browser for the thumb as they are usually not that big in file size anyway and when using a classifieds system most people upload jpg's on average.

This isn't done with JPG's cause the page would take forever to load. Imagine 10 big jpg's all loading at once.

If you want thumbs for everything you need to be using ASPImage.

Now, reading your 1st post you tell me ASPImage works fine and now you tell me you are not using it. You also made no mention of jpg vs gif files. So I didn't know the whole story until this last post you made.

If you continue to not use ASPImage for thumbnail creation and you remove the string "_thumb" from any code like you showed above you will then see thumbs (not true thumbnails - just browser resized) but be warned a whole page of them will load slowly..

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
Guests
Guest Group
Guest Group


Joined: April/06/2004
Online Status: Online
Info: -107
Added: September/26/2006 at 6:07am | IP Logged Quote Guests

Ok so here is my next question... (im filling up your forum with good content :) )

My server doesnt have ASPImage but they do have Persits.Jpeg component... how difficult would it be to use Persits.Jpeg?

Thanks.

You've been helpful.  And I like the fact that you're an allnighter like me.. :)

 

BTW - How do I get the password for the database? (access)

Back to Top View Guests's Profile Search for other info by Guests
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: September/26/2006 at 1:24pm | IP Logged Quote cwilliams

the password for the database is in the docs. It also can be viewed in the connection string.. The ASP code needs the database password to open the database just like we would if we open it manually.

as for using persits.jpeg that is a loaded question.. all depends on you man.. its code.. if you understand asp code and can work work it you can do it.. if not forget about it


__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com